Home
last modified time | relevance | path

Searched refs:port_offset (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/staging/vt6655/
H 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()
101 vt6655_mac_reg_bits_off(priv->port_offset, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); in PSvDisablePowerSaving()
104 vt6655_mac_reg_bits_off(priv->port_offset, MAC_REG_TFTCT in PSvDisablePowerSaving()
[all...]
H 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()
259 iowrite8(priv->bySlot, priv->port_offset + MAC_REG_SLOT); in CARDbSetPhyParameter()
265 iowrite8(priv->byCWMaxMin, priv->port_offset + MAC_REG_CWMAXMIN0); in CARDbSetPhyParameter()
303 iowrite32((u32)qwTSFOffset, priv->port_offset + MAC_REG_TSFOFST); in CARDbUpdateTSF()
304 iowrite32((u32)(qwTSFOffset >> 32), priv->port_offset in CARDbUpdateTSF()
[all...]
H 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...]
H A Ddevice_main.c290 priv->local_id = ioread8(priv->port_offset + MAC_REG_LOCALID); in device_init_registers()
294 SROMvReadAllContents(priv->port_offset, priv->abyEEPROM); in device_init_registers()
303 byValue = SROMbyReadEmbedded(priv->port_offset, EEP_OFS_ANTENNA); in device_init_registers()
363 priv->byCCKPwr = SROMbyReadEmbedded(priv->port_offset, EEP_OFS_PWR_CCK); in device_init_registers()
364 priv->byOFDMPwrG = SROMbyReadEmbedded(priv->port_offset, in device_init_registers()
370 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()
[all...]
H 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()
H 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw_ale.c846 int offset, port_offset; member
855 .port_offset = 0,
863 .port_offset = 0,
871 .port_offset = 0,
879 .port_offset = 0,
887 .port_offset = 0,
895 .port_offset = 0,
903 .port_offset = 0,
911 .port_offset = 0,
919 .port_offset
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw_ale.c877 int offset, port_offset; member
886 .port_offset = 0,
894 .port_offset = 0,
902 .port_offset = 0,
910 .port_offset = 0,
918 .port_offset = 0,
926 .port_offset = 0,
934 .port_offset = 0,
942 .port_offset = 0,
950 .port_offset
[all...]
/kernel/linux/linux-5.10/drivers/char/
H 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()
/kernel/linux/linux-6.6/drivers/char/
H 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()
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-zevio.c61 unsigned port_offset) in zevio_gpio_port_get()
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()
71 writel(val, IOMEM(c->chip.regs + section_offset + port_offset)); in zevio_gpio_port_set()
60 zevio_gpio_port_get(struct zevio_gpio *c, unsigned pin, unsigned port_offset) zevio_gpio_port_get() argument
67 zevio_gpio_port_set(struct zevio_gpio *c, unsigned pin, unsigned port_offset, u32 val) zevio_gpio_port_set() argument
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-zevio.c63 unsigned port_offset) in zevio_gpio_port_get()
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()
73 writel(val, IOMEM(c->regs + section_offset + port_offset)); in zevio_gpio_port_set()
62 zevio_gpio_port_get(struct zevio_gpio *c, unsigned pin, unsigned port_offset) zevio_gpio_port_get() argument
69 zevio_gpio_port_set(struct zevio_gpio *c, unsigned pin, unsigned port_offset, u32 val) zevio_gpio_port_set() argument
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A 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-6.6/drivers/comedi/drivers/
H 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()
H 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()
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/
H 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()
/kernel/linux/linux-6.6/arch/mips/sgi-ip27/
H 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()
/kernel/linux/linux-5.10/net/ipv4/
H A Dinet_hashtables.c743 struct sock *sk, u64 port_offset, in __inet_hash_connect()
775 index = port_offset & (INET_TABLE_PERTURB_SIZE - 1); in __inet_hash_connect()
777 offset = READ_ONCE(table_perturb[index]) + (port_offset >> 32); in __inet_hash_connect()
861 u64 port_offset = 0; in inet_hash_connect() local
864 port_offset = inet_sk_port_offset(sk); in inet_hash_connect()
865 return __inet_hash_connect(death_row, sk, port_offset, in inet_hash_connect()
742 __inet_hash_connect(struct inet_timewait_death_row *death_row, struct sock *sk, u64 port_offset, int (*check_established)(struct inet_timewait_death_row *, struct sock *, __u16, struct inet_timewait_sock **)) __inet_hash_connect() argument
/kernel/linux/linux-6.6/drivers/pinctrl/renesas/
H A Dpinctrl-rzg2l.c528 u32 port_offset; in rzg2l_pinctrl_pinconf_get() local
536 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_get()
541 port_offset = RZG2L_PIN_ID_TO_PORT_OFFSET(_pin); in rzg2l_pinctrl_pinconf_get()
552 arg = rzg2l_read_pin_config(pctrl, IEN(port_offset), bit, IEN_MASK); in rzg2l_pinctrl_pinconf_get()
582 index = rzg2l_read_pin_config(pctrl, IOLH(port_offset), bit, IOLH_MASK); in rzg2l_pinctrl_pinconf_get()
593 index = rzg2l_read_pin_config(pctrl, IOLH(port_offset), bit, IOLH_MASK); in rzg2l_pinctrl_pinconf_get()
618 u32 port_offset; in rzg2l_pinctrl_pinconf_set() local
627 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_set()
632 port_offset = RZG2L_PIN_ID_TO_PORT_OFFSET(_pin); in rzg2l_pinctrl_pinconf_set()
649 rzg2l_rmw_pin_config(pctrl, IEN(port_offset), bi in rzg2l_pinctrl_pinconf_set()
[all...]
/kernel/linux/linux-5.10/drivers/fpga/
H 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()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A 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/net/ipv6/
H A 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-6.6/drivers/fpga/
H 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()
/kernel/linux/linux-6.6/net/ipv6/
H A Dinet6_hashtables.c341 u64 port_offset = 0; in inet6_hash_connect() local
344 port_offset = inet6_sk_port_offset(sk); in inet6_hash_connect()
345 return __inet_hash_connect(death_row, sk, port_offset, in inet6_hash_connect()
/kernel/linux/linux-6.6/net/ipv4/
H A Dinet_hashtables.c1001 struct sock *sk, u64 port_offset, in __inet_hash_connect()
1035 index = port_offset & (INET_TABLE_PERTURB_SIZE - 1); in __inet_hash_connect()
1037 offset = READ_ONCE(table_perturb[index]) + (port_offset >> 32); in __inet_hash_connect()
1170 u64 port_offset = 0; in inet_hash_connect() local
1173 port_offset = inet_sk_port_offset(sk); in inet_hash_connect()
1174 return __inet_hash_connect(death_row, sk, port_offset, in inet_hash_connect()
1000 __inet_hash_connect(struct inet_timewait_death_row *death_row, struct sock *sk, u64 port_offset, int (*check_established)(struct inet_timewait_death_row *, struct sock *, __u16, struct inet_timewait_sock **)) __inet_hash_connect() argument

Completed in 37 milliseconds

12