Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/staging/vt6655/
A Dpower.c55 iowrite16(C_PWBT, priv->port_offset + MAC_REG_PWBT); in PSvEnablePowerSaving()
58 iowrite16(wAID, priv->port_offset + MAC_REG_AIDATIM); in PSvEnablePowerSaving()
62 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); in PSvEnablePowerSaving()
65 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_TFTCTL, TFTCTL_HWUTSF); in PSvEnablePowerSaving()
69 vt6655_mac_reg_bits_off(priv->port_offset, MAC_REG_PSCTL, PSCTL_ALBCN); in PSvEnablePowerSaving()
71 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_PSCTL, PSCTL_LNBCN); in PSvEnablePowerSaving()
74 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_PSCTL, PSCTL_ALBCN); in PSvEnablePowerSaving()
78 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_PSCTL, PSCTL_PSEN); in PSvEnablePowerSaving()
104 vt6655_mac_reg_bits_off(priv->port_offset, MAC_REG_TFTCTL, TFTCTL_HWUTSF); in PSvDisablePowerSaving()
107 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_PSCTL, PSCTL_ALBCN); in PSvDisablePowerSaving()
[all …]
A Dcard.c195 vt6655_mac_set_bb_type(priv->port_offset, BB_TYPE_11A); in CARDbSetPhyParameter()
202 vt6655_mac_set_bb_type(priv->port_offset, BB_TYPE_11B); in CARDbSetPhyParameter()
209 vt6655_mac_set_bb_type(priv->port_offset, BB_TYPE_11G); in CARDbSetPhyParameter()
247 iowrite8(priv->bySIFS, priv->port_offset + MAC_REG_SIFS); in CARDbSetPhyParameter()
251 iowrite8(priv->byDIFS, priv->port_offset + MAC_REG_DIFS); in CARDbSetPhyParameter()
255 iowrite8(priv->byEIFS, priv->port_offset + MAC_REG_EIFS); in CARDbSetPhyParameter()
548 VT6655_MAC_SELECT_PAGE1(priv->port_offset); in CARDvSetRSPINF()
646 VT6655_MAC_SELECT_PAGE0(priv->port_offset); in CARDvSetRSPINF()
736 void __iomem *iobase = priv->port_offset; in vt6655_get_current_tsf()
797 void __iomem *iobase = priv->port_offset; in CARDvSetFirstNextTBTT()
[all …]
A Ddevice_main.c370 SROMbyReadEmbedded(priv->port_offset, in device_init_registers()
376 SROMbyReadEmbedded(priv->port_offset, in device_init_registers()
394 SROMbyReadEmbedded(priv->port_offset, in device_init_registers()
398 SROMbyReadEmbedded(priv->port_offset, in device_init_registers()
403 VT6655_MAC_SELECT_PAGE1(priv->port_offset); in device_init_registers()
407 VT6655_MAC_SELECT_PAGE0(priv->port_offset); in device_init_registers()
494 if (priv->port_offset) in device_free_info()
495 iounmap(priv->port_offset); in device_free_info()
1403 vt6655_mac_reg_bits_off(priv->port_offset, in vnt_remove_interface()
1409 vt6655_mac_reg_bits_off(priv->port_offset, in vnt_remove_interface()
[all …]
A Dmac.c100 void __iomem *io_base = priv->port_offset; in vt6655_mac_is_reg_bits_off()
121 void __iomem *io_base = priv->port_offset; in vt6655_mac_set_short_retry_limit()
143 void __iomem *io_base = priv->port_offset; in MACvSetLongRetryLimit()
164 void __iomem *io_base = priv->port_offset; in vt6655_mac_set_loopback_mode()
186 void __iomem *io_base = priv->port_offset; in vt6655_mac_save_context()
216 void __iomem *io_base = priv->port_offset; in vt6655_mac_restore_context()
267 void __iomem *io_base = priv->port_offset; in MACbSoftwareReset()
327 void __iomem *io_base = priv->port_offset; in vt6655_mac_safe_rx_off()
381 void __iomem *io_base = priv->port_offset; in vt6655_mac_safe_tx_off()
437 void __iomem *io_base = priv->port_offset; in vt6655_mac_safe_stop()
[all …]
A Dchannel.c97 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_MACCR, MACCR_CLRNAV); in set_channel()
119 VT6655_MAC_SELECT_PAGE1(priv->port_offset); in set_channel()
121 iowrite8(priv->byCurPwr, priv->port_offset + MAC_REG_PWRCCK); in set_channel()
123 iowrite8(priv->byCurPwr, priv->port_offset + MAC_REG_PWROFDM); in set_channel()
124 VT6655_MAC_SELECT_PAGE0(priv->port_offset); in set_channel()
A Drf.c170 void __iomem *iobase = priv->port_offset; in IFRFbWriteEmbedded()
203 void __iomem *iobase = priv->port_offset; in RFbAL2230Init()
248 void __iomem *iobase = priv->port_offset; in RFbAL2230SelectChannel()
347 void __iomem *iobase = priv->port_offset; in rf_write_wake_prog_syn()
A Dbaseband.c1907 void __iomem *iobase = priv->port_offset; in bb_read_embedded()
1950 void __iomem *iobase = priv->port_offset; in bb_write_embedded()
1994 void __iomem *iobase = priv->port_offset; in bb_vt3253_init()
A Ddevice.h127 void __iomem *port_offset; member
A Drxtx.c1423 iowrite32((u32)priv->tx_beacon_dma, priv->port_offset + MAC_REG_BCNDMAPTR); in vnt_beacon_xmit()
1425 iowrite16(priv->wBCNBufLen, priv->port_offset + MAC_REG_BCNDMACTL + 2); in vnt_beacon_xmit()
1427 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_TCR, TCR_AUTOBCNTX); in vnt_beacon_xmit()
1429 iowrite8(BEACON_READY, priv->port_offset + MAC_REG_BCNDMACTL); in vnt_beacon_xmit()
1453 iowrite8(TFTCTL_TSFCNTRST, priv->port_offset + MAC_REG_TFTCTL); in vnt_beacon_enable()
1455 iowrite8(TFTCTL_TSFCNTREN, priv->port_offset + MAC_REG_TFTCTL); in vnt_beacon_enable()
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dcpsw_ale.c872 .port_offset = 0,
880 .port_offset = 0,
888 .port_offset = 0,
896 .port_offset = 0,
904 .port_offset = 0,
912 .port_offset = 0,
920 .port_offset = 0,
928 .port_offset = 0,
936 .port_offset = 0,
944 .port_offset = 0,
[all …]
/linux-6.3-rc2/drivers/char/
A 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()
/linux-6.3-rc2/drivers/gpio/
A Dgpio-zevio.c63 unsigned port_offset) in zevio_gpio_port_get() argument
66 return readl(IOMEM(c->regs + section_offset + port_offset)); in zevio_gpio_port_get()
70 unsigned port_offset, u32 val) in zevio_gpio_port_set() argument
73 writel(val, IOMEM(c->regs + section_offset + port_offset)); in zevio_gpio_port_set()
/linux-6.3-rc2/drivers/comedi/drivers/
A Dni_65xx.c422 int port_offset; in ni_65xx_dio_insn_bits() local
424 for (port_offset = NI_65XX_CHAN_TO_PORT(base_chan); in ni_65xx_dio_insn_bits()
425 port_offset <= last_port_offset; port_offset++) { in ni_65xx_dio_insn_bits()
426 unsigned int port = base_port + port_offset; in ni_65xx_dio_insn_bits()
427 int base_port_channel = NI_65XX_PORT_TO_CHAN(port_offset); in ni_65xx_dio_insn_bits()
A Dadl_pci7x3x.c126 unsigned long port_offset; member
135 unsigned long reg = sd_priv->port_offset; in process_irq()
284 unsigned long reg = (unsigned long)sd_priv->port_offset; in adl_pci7x3x_dirq_insn_bits()
480 sd_priv->port_offset = PCI7X3X_DIO_REG; in adl_pci7x3x_auto_attach()
A Dadv_pci_dio.c233 unsigned long port_offset; member
242 unsigned long reg = sd_priv->port_offset; in process_irq()
398 unsigned long reg = (unsigned long)sd_priv->port_offset; in pci_dio_insn_bits_dirq_b()
694 sd_priv->port_offset = d->addr; in pci_dio_auto_attach()
/linux-6.3-rc2/drivers/pinctrl/renesas/
A Dpinctrl-rzg2l.c508 u32 port_offset; in rzg2l_pinctrl_pinconf_get() local
516 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_get()
521 port_offset = RZG2L_PIN_ID_TO_PORT_OFFSET(_pin); in rzg2l_pinctrl_pinconf_get()
532 arg = rzg2l_read_pin_config(pctrl, IEN(port_offset), bit, IEN_MASK); in rzg2l_pinctrl_pinconf_get()
562 index = rzg2l_read_pin_config(pctrl, IOLH(port_offset), bit, IOLH_MASK); in rzg2l_pinctrl_pinconf_get()
598 u32 port_offset; in rzg2l_pinctrl_pinconf_set() local
607 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_set()
612 port_offset = RZG2L_PIN_ID_TO_PORT_OFFSET(_pin); in rzg2l_pinctrl_pinconf_set()
629 rzg2l_rmw_pin_config(pctrl, IEN(port_offset), bit, IEN_MASK, !!arg); in rzg2l_pinctrl_pinconf_set()
670 rzg2l_rmw_pin_config(pctrl, IOLH(port_offset), bit, IOLH_MASK, index); in rzg2l_pinctrl_pinconf_set()
[all …]
/linux-6.3-rc2/arch/mips/sgi-ip27/
A 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()
/linux-6.3-rc2/drivers/fpga/
A 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()
/linux-6.3-rc2/net/ipv6/
A Dinet6_hashtables.c320 u64 port_offset = 0; in inet6_hash_connect() local
323 port_offset = inet6_sk_port_offset(sk); in inet6_hash_connect()
324 return __inet_hash_connect(death_row, sk, port_offset, in inet6_hash_connect()
/linux-6.3-rc2/net/ipv4/
A Dinet_hashtables.c993 struct sock *sk, u64 port_offset, in __inet_hash_connect() argument
1027 index = port_offset & (INET_TABLE_PERTURB_SIZE - 1); in __inet_hash_connect()
1029 offset = READ_ONCE(table_perturb[index]) + (port_offset >> 32); in __inet_hash_connect()
1139 u64 port_offset = 0; in inet_hash_connect() local
1142 port_offset = inet_sk_port_offset(sk); in inet_hash_connect()
1143 return __inet_hash_connect(death_row, sk, port_offset, in inet_hash_connect()
/linux-6.3-rc2/drivers/usb/host/
A Dehci-fsl.c194 unsigned int port_offset) in ehci_fsl_setup_phy() argument
207 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
284 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
A Dxhci-mem.c1982 u32 temp, port_offset, port_count; in xhci_add_in_port() local
2020 port_offset = XHCI_EXT_PORT_OFF(temp); in xhci_add_in_port()
2025 addr, port_offset, port_count, major_revision); in xhci_add_in_port()
2027 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port()
2077 port_offset--; in xhci_add_in_port()
2078 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
/linux-6.3-rc2/drivers/usb/cdns3/
A 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()
/linux-6.3-rc2/drivers/usb/early/
A 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()
/linux-6.3-rc2/include/net/
A Dinet_hashtables.h472 struct sock *sk, u64 port_offset,

Completed in 80 milliseconds

12