Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/ti/
Dcpsw_ale.c462 int offset, port_offset; member
471 .port_offset = 0,
479 .port_offset = 0,
487 .port_offset = 0,
495 .port_offset = 0,
503 .port_offset = 0,
511 .port_offset = 0,
519 .port_offset = 0,
527 .port_offset = 0,
535 .port_offset = 0,
[all …]
/linux-4.4.14/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()
/linux-4.4.14/drivers/gpio/
Dgpio-zevio.c67 unsigned port_offset) in zevio_gpio_port_get() argument
70 return readl(IOMEM(c->chip.regs + section_offset + port_offset)); in zevio_gpio_port_get()
74 unsigned port_offset, u32 val) in zevio_gpio_port_set() argument
77 writel(val, IOMEM(c->chip.regs + section_offset + port_offset)); in zevio_gpio_port_set()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dni_65xx.c432 int port_offset; in ni_65xx_dio_insn_bits() local
434 for (port_offset = NI_65XX_CHAN_TO_PORT(base_chan); in ni_65xx_dio_insn_bits()
435 port_offset <= last_port_offset; port_offset++) { in ni_65xx_dio_insn_bits()
436 unsigned port = base_port + port_offset; in ni_65xx_dio_insn_bits()
437 int base_port_channel = NI_65XX_PORT_TO_CHAN(port_offset); in ni_65xx_dio_insn_bits()
/linux-4.4.14/net/ipv6/
Dinet6_hashtables.c269 u32 port_offset = 0; in inet6_hash_connect() local
272 port_offset = inet6_sk_port_offset(sk); in inet6_hash_connect()
273 return __inet_hash_connect(death_row, sk, port_offset, in inet6_hash_connect()
/linux-4.4.14/net/ipv4/
Dinet_hashtables.c504 struct sock *sk, u32 port_offset, in __inet_hash_connect() argument
518 u32 offset = hint + port_offset; in __inet_hash_connect()
617 u32 port_offset = 0; in inet_hash_connect() local
620 port_offset = inet_sk_port_offset(sk); in inet_hash_connect()
621 return __inet_hash_connect(death_row, sk, port_offset, in inet_hash_connect()
/linux-4.4.14/arch/mips/sgi-ip27/
Dip27-memory.c92 router_a->rou_port[port].port_offset); in router_recurse()
144 router->rou_port[port].port_offset); in compute_node_distance()
245 router->rou_port[port].port_offset); in dump_topology()
/linux-4.4.14/drivers/usb/host/
Dehci-fsl.c185 unsigned int port_offset) in ehci_fsl_setup_phy() argument
198 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
251 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
Dxhci-mem.c2075 u32 temp, port_offset, port_count; in xhci_add_in_port() local
2097 port_offset = XHCI_EXT_PORT_OFF(temp); in xhci_add_in_port()
2102 addr, port_offset, port_count, major_revision); in xhci_add_in_port()
2104 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port()
2158 port_offset--; in xhci_add_in_port()
2159 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
Dxhci.c4237 u32 port_offset, port_count; in xhci_check_usb2_port_capability() local
4243 port_offset = XHCI_EXT_PORT_OFF(xhci->ext_caps[i]) - 1; in xhci_check_usb2_port_capability()
4245 if (port >= port_offset && in xhci_check_usb2_port_capability()
4246 port < port_offset + port_count) in xhci_check_usb2_port_capability()
/linux-4.4.14/include/net/
Dinet_hashtables.h367 struct sock *sk, u32 port_offset,
/linux-4.4.14/arch/mips/include/asm/sn/
Dklconfig.h591 klconf_off_t port_offset; member