Home
last modified time | relevance | path

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

/drivers/net/ethernet/ti/
Dcpsw_ale.c450 int offset, port_offset; member
459 .port_offset = 0,
467 .port_offset = 0,
475 .port_offset = 0,
483 .port_offset = 0,
491 .port_offset = 0,
499 .port_offset = 0,
507 .port_offset = 0,
515 .port_offset = 0,
523 .port_offset = 0,
[all …]
/drivers/char/
Dpc8736x_gpio.c70 static int port_offset[] = { 0, 4, 8, 10 }; /* non-uniform offsets ! */ variable
158 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_get()
163 minor, pc8736x_gpio_base + port_offset[port] + PORT_IN, bit, in pc8736x_gpio_get()
176 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
179 pc8736x_gpio_base + port_offset[port] + PORT_OUT, in pc8736x_gpio_set()
187 outb_p(val, pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
189 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
190 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_set()
247 = inb_p(pc8736x_gpio_base + port_offset[port] in pc8736x_init_shadow()
/drivers/staging/comedi/drivers/
Dni_65xx.c393 const unsigned port_offset = in ni_65xx_dio_insn_bits() local
396 sprivate(s)->base_port + port_offset; in ni_65xx_dio_insn_bits()
402 base_port_channel = port_offset * ni_65xx_channels_per_port; in ni_65xx_dio_insn_bits()
/drivers/usb/host/
Dehci-fsl.c215 unsigned int port_offset) in ehci_fsl_setup_phy() argument
228 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
280 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
Dxhci-mem.c2048 u32 temp, port_offset, port_count; in xhci_add_in_port() local
2061 port_offset = XHCI_EXT_PORT_OFF(temp); in xhci_add_in_port()
2065 addr, port_offset, port_count, major_revision); in xhci_add_in_port()
2067 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port()
2087 port_offset--; in xhci_add_in_port()
2088 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()