Searched defs:op (Results 151 - 175 of 335) sorted by relevance

1234567891011>>

/drivers/net/ethernet/xilinx/
H A Dll_temac_main.c166 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 Dxilinx_axienet_main.c1464 * @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 Dcpqphp_nvram.c171 int op = operation; local
186 : "a" (op), "c" (*buf_size), "S" (ev_name),
/drivers/pci/
H A Dxen-pcifront.c110 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 Dintel_scu_ipc.c226 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 Dps3-sys-manager.c186 * 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 Dtape_3590.c221 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 Dtape_3590.h169 __u8 op; member in struct:tape3592_kekl_set_order
H A Dtape_core.c147 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 Daic94xx_hwi.c1278 * @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 Dfc_rport.c882 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 Dqlogicpti.c477 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 Dserial2002.c100 static long serial2002_tty_ioctl(struct file *f, unsigned op, argument
104 return f->f_op->unlocked_ioctl(f, op, param);
H A Dusbduxfast.c187 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 Dtarget_core_fabric_configfs.c191 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 Dsunhv.c518 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 Dsunsab.c956 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 Dvt_ioctl.c223 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 Dci.h120 * @op: operational registers
129 void __iomem *op; member in struct:hw_bank
/drivers/usb/wusbcore/
H A Dwa-hc.h384 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 Dcg3.c349 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 Dp9100.c252 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 Dtcx.c345 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 Dcpwd.c530 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 Dgntdev.c548 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...]

Completed in 558 milliseconds

1234567891011>>