Home
last modified time | relevance | path

Searched refs:port_offset (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/ti/
Dcpsw_ale.c875 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/
Dpc8736x_gpio.c71 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/
Dgpio-zevio.c61 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/
Dni_65xx.c423 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()
Dadl_pci7x3x.c127 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()
Dadv_pci_dio.c235 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/
Ddfl-fme-pr.c379 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/
Dehci-fsl.c199 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()
Dxhci-mem.c2135 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()
Dxhci.c4627 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/
Dcdnsp-mem.c1126 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/
Dxhci-dbc.c369 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()