Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_ale.c832 int offset, port_offset; member
841 .port_offset = 0,
849 .port_offset = 0,
857 .port_offset = 0,
865 .port_offset = 0,
873 .port_offset = 0,
881 .port_offset = 0,
889 .port_offset = 0,
897 .port_offset = 0,
905 .port_offset = 0,
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/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()
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/
Dip27-memory.c78 router_a->rou_port[port].port_offset); in router_recurse()
125 router->rou_port[port].port_offset); in compute_node_distance()
218 router->rou_port[port].port_offset); in dump_topology()
/kernel/linux/linux-5.10/net/ipv6/
Dinet6_hashtables.c323 u64 port_offset = 0; in inet6_hash_connect() local
326 port_offset = inet6_sk_port_offset(sk); in inet6_hash_connect()
327 return __inet_hash_connect(death_row, sk, port_offset, in inet6_hash_connect()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ipv4/
Dinet_hashtables.c743 struct sock *sk, u64 port_offset, in __inet_hash_connect() argument
785 index = port_offset & (INET_TABLE_PERTURB_SIZE - 1); in __inet_hash_connect()
787 offset = READ_ONCE(table_perturb[index]) + (port_offset >> 32); in __inet_hash_connect()
871 u64 port_offset = 0; in inet_hash_connect() local
874 port_offset = inet_sk_port_offset(sk); in inet_hash_connect()
875 return __inet_hash_connect(death_row, sk, port_offset, in inet_hash_connect()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dninet_hashtables.c508 u64 port_offset = 0; in ninet_hash_connect() local
511 port_offset = ninet_sk_port_offset(sk); in ninet_hash_connect()
513 return __inet_hash_connect(death_row, sk, port_offset, in ninet_hash_connect()
/kernel/linux/linux-5.10/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.c2147 u32 temp, port_offset, port_count; in xhci_add_in_port() local
2185 port_offset = XHCI_EXT_PORT_OFF(temp); in xhci_add_in_port()
2190 addr, port_offset, port_count, major_revision); in xhci_add_in_port()
2192 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port()
2242 port_offset--; in xhci_add_in_port()
2243 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
Dxhci.c4565 u32 port_offset, port_count; in xhci_check_usb2_port_capability() local
4571 port_offset = XHCI_EXT_PORT_OFF(xhci->ext_caps[i]) - 1; in xhci_check_usb2_port_capability()
4573 if (port >= port_offset && in xhci_check_usb2_port_capability()
4574 port < port_offset + port_count) in xhci_check_usb2_port_capability()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/net/
Dinet_hashtables.h406 struct sock *sk, u64 port_offset,
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/
Dklconfig.h591 klconf_off_t port_offset; member
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch25623 struct sock *sk, u64 port_offset,
25640 - index = hash_32(port_offset, INET_TABLE_PERTURB_SHIFT);
25642 - offset = READ_ONCE(table_perturb[index]) + port_offset;
25643 + offset = hint + port_offset;