/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_main.c | 166 static int temac_dcr_setup(struct temac_local *lp, struct platform_device *op, argument 178 dev_dbg(&op->dev, "DCR base: %x\n", dcrs); 191 static int temac_dcr_setup(struct temac_local *lp, struct platform_device *op, argument 1001 static int temac_of_probe(struct platform_device *op) argument 1015 platform_set_drvdata(op, ndev); 1016 SET_NETDEV_DEV(ndev, &op->dev); 1038 lp->dev = &op->dev; 1044 lp->regs = of_iomap(op->dev.of_node, 0); 1046 dev_err(&op->dev, "could not map temac regs.\n"); 1052 p = (__be32 *)of_get_property(op 1142 temac_of_remove(struct platform_device *op) argument [all...] |
H A D | xilinx_axienet_main.c | 1464 * @op: Pointer to platform device structure. 1475 static int axienet_of_probe(struct platform_device *op) argument 1488 platform_set_drvdata(op, ndev); 1490 SET_NETDEV_DEV(ndev, &op->dev); 1498 lp->dev = &op->dev; 1501 lp->regs = of_iomap(op->dev.of_node, 0); 1503 dev_err(&op->dev, "could not map Axi Ethernet regs.\n"); 1509 p = (__be32 *) of_get_property(op->dev.of_node, "xlnx,txcsum", NULL); 1530 p = (__be32 *) of_get_property(op->dev.of_node, "xlnx,rxcsum", NULL); 1553 p = (__be32 *) of_get_property(op 1624 axienet_of_remove(struct platform_device *op) argument [all...] |
/drivers/pci/hotplug/ |
H A D | cpqphp_nvram.c | 171 int op = operation; local 186 : "a" (op), "c" (*buf_size), "S" (ev_name),
|
/drivers/pci/ |
H A D | xen-pcifront.c | 110 static int do_pci_op(struct pcifront_device *pdev, struct xen_pci_op *op) argument 113 struct xen_pci_op *active_op = &pdev->sh_info->op; 122 memcpy(active_op, op, sizeof(struct xen_pci_op)); 168 memcpy(op, active_op, sizeof(struct xen_pci_op)); 170 err = op->err; 181 struct xen_pci_op op = { local 198 err = do_pci_op(pdev, &op); 203 op.value); 205 *val = op.value; 219 struct xen_pci_op op local 252 struct xen_pci_op op = { local 306 struct xen_pci_op op = { local 325 struct xen_pci_op op = { local 354 struct xen_pci_op op = { local [all...] |
/drivers/platform/x86/ |
H A D | intel_scu_ipc.c | 226 static int pwr_reg_rdwr(u16 *addr, u8 *data, u32 count, u32 op, u32 id) argument 251 ipc_command((count*2) << 16 | id << 12 | 0 << 8 | op); 257 ipc_command((count*3) << 16 | id << 12 | 0 << 8 | op); 262 ipc_command(4 << 16 | id << 12 | 0 << 8 | op);
|
/drivers/ps3/ |
H A D | ps3-sys-manager.c | 186 * enum ps3_sys_manager_wake_source - Next-op wakeup source (bit position mask). 293 * ps3_sys_manager_send_next_op - Send a 'set next op' to the system manager. 299 enum ps3_sys_manager_next_op op, 314 dev_dbg(&dev->core, "%s:%d: (%xh)\n", __func__, __LINE__, op); 324 payload.type = op; 298 ps3_sys_manager_send_next_op(struct ps3_system_bus_device *dev, enum ps3_sys_manager_next_op op, enum ps3_sys_manager_wake_source wake_source) argument
|
/drivers/s390/char/ |
H A D | tape_3590.c | 221 request->op = TO_KEKL_QUERY; 295 request->op = TO_KEKL_SET; 353 request->op = TO_CRYPT_ON; 400 request->op = TO_CRYPT_OFF; 504 request->op = TO_MSEN; 516 request->op = TO_MSEN; 548 request->op = TO_LBL; 571 request->op = TO_RBA; 605 request->op = TO_READ_ATTMSG; 624 enum tape_op op; member in struct:work_handler_data 656 tape_3590_schedule_work(struct tape_device *device, enum tape_op op) argument [all...] |
H A D | tape_3590.h | 169 __u8 op; member in struct:tape3592_kekl_set_order
|
H A D | tape_core.c | 147 rc = scnprintf(buf,PAGE_SIZE, "%s\n", tape_op_verbose[req->op]); 918 const char* op; local 921 op = tape_op_verbose[request->op]; 923 op = "---"; 926 DBF_EVENT(3, "DEVICE: %08x OP\t: %s\n", device->cdev_id, op); 944 switch (request->op) {
|
/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.c | 1278 * @op: 1 to turn on, 0 to turn off 1280 void asd_turn_led(struct asd_ha_struct *asd_ha, int phy_id, int op) argument 1284 if (op) 1296 * @op: integer, 1 to enable, 0 to disable the LED 1301 void asd_control_led(struct asd_ha_struct *asd_ha, int phy_id, int op) argument 1307 if (op) 1314 if (op)
|
/drivers/scsi/libfc/ |
H A D | fc_rport.c | 882 u8 op; local 901 op = fc_frame_payload_op(fp); 902 if (op == ELS_LS_ACC && 1005 u8 op; local 1028 op = fc_frame_payload_op(fp); 1029 if (op == ELS_LS_ACC) { 1154 u8 op; local 1173 op = fc_frame_payload_op(fp); 1174 if (op == ELS_LS_ACC) { 1290 u8 op; local [all...] |
/drivers/scsi/ |
H A D | qlogicpti.c | 477 err = request_firmware(&fw, fwname, &qpti->op->dev); 706 struct platform_device *op = qpti->op; local 708 qpti->qregs = of_ioremap(&op->resource[0], 0, 709 resource_size(&op->resource[0]), 716 qpti->sreg = of_ioremap(&op->resource[0], (16 * 4096), 729 struct platform_device *op = qpti->op; local 731 qpti->qhost->irq = qpti->irq = op->archdata.irqs[0]; 754 struct platform_device *op local 775 struct platform_device *op = qpti->op; local 808 struct platform_device *op = qpti->op; local 1295 qpti_sbus_probe(struct platform_device *op) argument 1405 qpti_sbus_remove(struct platform_device *op) argument [all...] |
/drivers/staging/comedi/drivers/ |
H A D | serial2002.c | 100 static long serial2002_tty_ioctl(struct file *f, unsigned op, argument 104 return f->f_op->unlocked_ioctl(f, op, param);
|
H A D | usbduxfast.c | 187 uint8_t len, uint8_t op, uint8_t out, 194 devpriv->duxbuf[1 + 0x08 + index] = op; 186 usbduxfast_cmd_data(struct comedi_device *dev, int index, uint8_t len, uint8_t op, uint8_t out, uint8_t log) argument
|
/drivers/target/ |
H A D | target_core_fabric_configfs.c | 191 unsigned long op; local 194 ret = kstrtoul(page, 0, &op); 198 if ((op != 1) && (op != 0)) 201 core_update_device_list_access(lacl->mapped_lun, (op) ? 209 lacl->initiatorname, lacl->mapped_lun, (op) ? "ON" : "OFF");
|
/drivers/tty/serial/ |
H A D | sunhv.c | 518 static int hv_probe(struct platform_device *op) argument 524 if (op->archdata.irqs[0] == 0xffffffff) 556 port->irq = op->archdata.irqs[0]; 558 port->dev = &op->dev; 564 sunserial_console_match(&sunhv_console, op->dev.of_node, 575 platform_set_drvdata(op, port);
|
H A D | sunsab.c | 956 struct platform_device *op, 961 up->port.dev = &op->dev; 963 up->port.mapbase = op->resource[0].start + offset; 964 up->port.membase = of_ioremap(&op->resource[0], offset, 971 up->port.irq = op->archdata.irqs[0]; 1008 static int sab_probe(struct platform_device *op) argument 1016 err = sunsab_init_one(&up[0], op, 1022 err = sunsab_init_one(&up[1], op, 1028 sunserial_console_match(SUNSAB_CONSOLE(), op->dev.of_node, 1032 sunserial_console_match(SUNSAB_CONSOLE(), op 955 sunsab_init_one(struct uart_sunsab_port *up, struct platform_device *op, unsigned long offset, int line) argument 1064 sab_remove(struct platform_device *op) argument [all...] |
/drivers/tty/vt/ |
H A D | vt_ioctl.c | 223 do_fontx_ioctl(int cmd, struct consolefontdesc __user *user_cfd, int perm, struct console_font_op *op) argument 235 op->op = KD_FONT_OP_SET; 236 op->flags = KD_FONT_FLAG_OLD; 237 op->width = 8; 238 op->height = cfdarg.charheight; 239 op->charcount = cfdarg.charcount; 240 op->data = cfdarg.chardata; 241 return con_font_op(vc_cons[fg_console].d, op); 243 op 338 struct console_font_op op; /* used in multiple places here */ local 1097 compat_fontx_ioctl(int cmd, struct compat_consolefontdesc __user *user_cfd, int perm, struct console_font_op *op) argument 1137 compat_uint_t op; /* operation code KD_FONT_OP_* */ member in struct:compat_console_font_op 1145 compat_kdfontop_ioctl(struct compat_console_font_op __user *fontop, int perm, struct console_font_op *op, struct vc_data *vc) argument 1200 struct console_font_op op; /* used in multiple places here */ local [all...] |
/drivers/usb/chipidea/ |
H A D | ci.h | 120 * @op: operational registers 129 void __iomem *op; member in struct:hw_bank
|
/drivers/usb/wusbcore/ |
H A D | wa-hc.h | 384 static inline int __wa_feature(struct wahc *wa, unsigned op, u16 feature) argument 387 op ? USB_REQ_SET_FEATURE : USB_REQ_CLEAR_FEATURE,
|
/drivers/video/fbdev/ |
H A D | cg3.c | 349 static int cg3_probe(struct platform_device *op) argument 351 struct device_node *dp = op->dev.of_node; 356 info = framebuffer_alloc(sizeof(struct cg3_par), &op->dev); 365 info->fix.smem_start = op->resource[0].start; 366 par->which_io = op->resource[0].flags & IORESOURCE_BITS; 381 par->regs = of_ioremap(&op->resource[0], CG3_REGS_OFFSET, 388 info->screen_base = of_ioremap(&op->resource[0], CG3_RAM_OFFSET, 413 dev_set_drvdata(&op->dev, info); 424 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); 427 of_iounmap(&op 436 cg3_remove(struct platform_device *op) argument [all...] |
H A D | p9100.c | 252 static int p9100_probe(struct platform_device *op) argument 254 struct device_node *dp = op->dev.of_node; 259 info = framebuffer_alloc(sizeof(struct p9100_par), &op->dev); 269 info->fix.smem_start = op->resource[2].start; 270 par->which_io = op->resource[2].flags & IORESOURCE_BITS; 280 par->regs = of_ioremap(&op->resource[0], 0, 287 info->screen_base = of_ioremap(&op->resource[2], 0, 305 dev_set_drvdata(&op->dev, info); 317 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); 320 of_iounmap(&op 329 p9100_remove(struct platform_device *op) argument [all...] |
H A D | tcx.c | 345 static void tcx_unmap_regs(struct platform_device *op, struct fb_info *info, argument 349 of_iounmap(&op->resource[7], 352 of_iounmap(&op->resource[9], 355 of_iounmap(&op->resource[8], 358 of_iounmap(&op->resource[4], 361 of_iounmap(&op->resource[0], 365 static int tcx_probe(struct platform_device *op) argument 367 struct device_node *dp = op->dev.of_node; 372 info = framebuffer_alloc(sizeof(struct tcx_par), &op->dev); 393 par->tec = of_ioremap(&op 489 tcx_remove(struct platform_device *op) argument [all...] |
/drivers/watchdog/ |
H A D | cpwd.c | 530 static int cpwd_probe(struct platform_device *op) argument 548 p->irq = op->archdata.irqs[0]; 552 p->regs = of_ioremap(&op->resource[0], 0, 580 str_prop = of_get_property(op->dev.of_node, "model", NULL); 623 platform_set_drvdata(op, p); 635 of_iounmap(&op->resource[0], p->regs, 4 * WD_TIMER_REGSZ); 642 static int cpwd_remove(struct platform_device *op) argument 644 struct cpwd *p = platform_get_drvdata(op); 663 of_iounmap(&op->resource[0], p->regs, 4 * WD_TIMER_REGSZ);
|
/drivers/xen/ |
H A D | gntdev.c | 548 struct ioctl_gntdev_map_grant_ref op; local 552 if (copy_from_user(&op, u, sizeof(op)) != 0) 554 pr_debug("priv %p, add %d\n", priv, op.count); 555 if (unlikely(op.count <= 0)) 559 map = gntdev_alloc_map(priv, op.count); 563 if (unlikely(atomic_add_return(op.count, &pages_mapped) > limit)) { 570 sizeof(map->grants[0]) * op.count) != 0) { 577 op.index = map->index << PAGE_SHIFT; 580 if (copy_to_user(u, &op, sizeo 589 struct ioctl_gntdev_unmap_grant_ref op; local 614 struct ioctl_gntdev_get_offset_for_vaddr op; local 646 struct ioctl_gntdev_unmap_notify op; local [all...] |