/drivers/net/ethernet/ti/ |
D | cpsw_ale.c | 875 int offset, port_offset; member 884 .port_offset = 0, 892 .port_offset = 0, 900 .port_offset = 0, 908 .port_offset = 0, 916 .port_offset = 0, 924 .port_offset = 0, 932 .port_offset = 0, 940 .port_offset = 0, 948 .port_offset = 0, [all …]
|
/drivers/char/ |
D | pc8736x_gpio.c | 71 static int port_offset[] = { 0, 4, 8, 10 }; /* non-uniform offsets ! */ variable 159 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_get() 164 minor, pc8736x_gpio_base + port_offset[port] + PORT_IN, bit, in pc8736x_gpio_get() 177 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set() 180 pc8736x_gpio_base + port_offset[port] + PORT_OUT, in pc8736x_gpio_set() 188 outb_p(val, pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set() 190 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set() 191 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_set() 248 = inb_p(pc8736x_gpio_base + port_offset[port] in pc8736x_init_shadow()
|
/drivers/gpio/ |
D | gpio-zevio.c | 61 unsigned port_offset) in zevio_gpio_port_get() argument 64 return readl(IOMEM(c->chip.regs + section_offset + port_offset)); in zevio_gpio_port_get() 68 unsigned port_offset, u32 val) in zevio_gpio_port_set() argument 71 writel(val, IOMEM(c->chip.regs + section_offset + port_offset)); in zevio_gpio_port_set()
|
/drivers/comedi/drivers/ |
D | ni_65xx.c | 423 int port_offset; in ni_65xx_dio_insn_bits() local 425 for (port_offset = NI_65XX_CHAN_TO_PORT(base_chan); in ni_65xx_dio_insn_bits() 426 port_offset <= last_port_offset; port_offset++) { in ni_65xx_dio_insn_bits() 427 unsigned int port = base_port + port_offset; in ni_65xx_dio_insn_bits() 428 int base_port_channel = NI_65XX_PORT_TO_CHAN(port_offset); in ni_65xx_dio_insn_bits()
|
D | adl_pci7x3x.c | 127 unsigned long port_offset; member 136 unsigned long reg = sd_priv->port_offset; in process_irq() 285 unsigned long reg = (unsigned long)sd_priv->port_offset; in adl_pci7x3x_dirq_insn_bits() 481 sd_priv->port_offset = PCI7X3X_DIO_REG; in adl_pci7x3x_auto_attach()
|
D | adv_pci_dio.c | 235 unsigned long port_offset; member 244 unsigned long reg = sd_priv->port_offset; in process_irq() 400 unsigned long reg = (unsigned long)sd_priv->port_offset; in pci_dio_insn_bits_dirq_b() 696 sd_priv->port_offset = d->addr; in pci_dio_auto_attach()
|
/drivers/fpga/ |
D | dfl-fme-pr.c | 379 u64 fme_cap, port_offset; in pr_mgmt_init() local 403 port_offset = readq(fme_hdr + FME_HDR_PORT_OFST(i)); in pr_mgmt_init() 404 if (!(port_offset & FME_PORT_OFST_IMP)) in pr_mgmt_init()
|
/drivers/usb/host/ |
D | ehci-fsl.c | 199 unsigned int port_offset) in ehci_fsl_setup_phy() argument 212 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy() 289 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
|
D | xhci-mem.c | 2135 u32 temp, port_offset, port_count; in xhci_add_in_port() local 2178 port_offset = XHCI_EXT_PORT_OFF(temp); in xhci_add_in_port() 2183 addr, port_offset, port_count, major_revision); in xhci_add_in_port() 2185 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port() 2247 port_offset--; in xhci_add_in_port() 2248 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
|
D | xhci.c | 4627 u32 port_offset, port_count; in xhci_check_usb2_port_capability() local 4633 port_offset = XHCI_EXT_PORT_OFF(xhci->ext_caps[i]) - 1; in xhci_check_usb2_port_capability() 4635 if (port >= port_offset && in xhci_check_usb2_port_capability() 4636 port < port_offset + port_count) in xhci_check_usb2_port_capability()
|
/drivers/usb/cdns3/ |
D | cdnsp-mem.c | 1126 u32 temp, port_offset, port_count; in cdnsp_add_in_port() local 1134 port_offset = CDNSP_EXT_PORT_OFF(temp); in cdnsp_add_in_port() 1137 trace_cdnsp_port_info(addr, port_offset, port_count, port->maj_rev); in cdnsp_add_in_port() 1139 port->port_num = port_offset; in cdnsp_add_in_port()
|
/drivers/usb/early/ |
D | xhci-dbc.c | 369 u32 val, port_offset, port_count; in xdbc_reset_debug_port() local 382 port_offset = XHCI_EXT_PORT_OFF(val); in xdbc_reset_debug_port() 385 xdbc_do_reset_debug_port(port_offset, port_count); in xdbc_reset_debug_port()
|