Home
last modified time | relevance | path

Searched full:ioreg (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/char/ipmi/
H A Dkcs_bmc.c27 return kcs_bmc->ops->io_inputb(kcs_bmc, kcs_bmc->ioreg.idr); in kcs_bmc_read_data()
33 kcs_bmc->ops->io_outputb(kcs_bmc, kcs_bmc->ioreg.odr, data); in kcs_bmc_write_data()
39 return kcs_bmc->ops->io_inputb(kcs_bmc, kcs_bmc->ioreg.str); in kcs_bmc_read_status()
45 kcs_bmc->ops->io_outputb(kcs_bmc, kcs_bmc->ioreg.str, data); in kcs_bmc_write_status()
51 kcs_bmc->ops->io_updateb(kcs_bmc, kcs_bmc->ioreg.str, mask, val); in kcs_bmc_update_status()
H A Dkcs_bmc_npcm7xx.c194 kcs_bmc->ioreg.idr = priv->reg->dib; in npcm7xx_kcs_probe()
195 kcs_bmc->ioreg.odr = priv->reg->dob; in npcm7xx_kcs_probe()
196 kcs_bmc->ioreg.str = priv->reg->sts; in npcm7xx_kcs_probe()
216 kcs_bmc->ioreg.idr, kcs_bmc->ioreg.odr, kcs_bmc->ioreg.str); in npcm7xx_kcs_probe()
H A Dkcs_bmc_aspeed.c394 str = aspeed_kcs_inb(&priv->kcs_bmc, priv->kcs_bmc.ioreg.str); in aspeed_kcs_check_obe()
426 &priv->kcs_bmc, priv->kcs_bmc.ioreg.str); in aspeed_kcs_irq_mask_update()
500 struct kcs_ioreg ioreg; in aspeed_kcs_of_get_channel() local
510 ioreg.idr = be32_to_cpup(reg); in aspeed_kcs_of_get_channel()
515 ioreg.odr = be32_to_cpup(reg); in aspeed_kcs_of_get_channel()
520 ioreg.str = be32_to_cpup(reg); in aspeed_kcs_of_get_channel()
523 if (!memcmp(&ast_kcs_bmc_ioregs[i], &ioreg, sizeof(ioreg))) in aspeed_kcs_of_get_channel()
596 kcs_bmc->ioreg = ast_kcs_bmc_ioregs[channel - 1]; in aspeed_kcs_probe()
H A Dkcs_bmc.h38 struct kcs_ioreg ioreg; member
/linux/drivers/hwmon/
H A Dnct6683.c77 superio_outb(int ioreg, int reg, int val) in superio_outb() argument
79 outb(reg, ioreg); in superio_outb()
80 outb(val, ioreg + 1); in superio_outb()
84 superio_inb(int ioreg, int reg) in superio_inb() argument
86 outb(reg, ioreg); in superio_inb()
87 return inb(ioreg + 1); in superio_inb()
91 superio_select(int ioreg, int ld) in superio_select() argument
93 outb(SIO_REG_LDSEL, ioreg); in superio_select()
94 outb(ld, ioreg + 1); in superio_select()
98 superio_enter(int ioreg) in superio_enter() argument
[all …]
H A Dnct6775-platform.c209 int ioreg = sio_data->sioreg; in superio_outb() local
211 outb(reg, ioreg); in superio_outb()
212 outb(val, ioreg + 1); in superio_outb()
217 int ioreg = sio_data->sioreg; in superio_inb() local
219 outb(reg, ioreg); in superio_inb()
220 return inb(ioreg + 1); in superio_inb()
225 int ioreg = sio_data->sioreg; in superio_select() local
227 outb(SIO_REG_LDSEL, ioreg); in superio_select()
228 outb(ld, ioreg + 1); in superio_select()
233 int ioreg = sio_data->sioreg; in superio_enter() local
[all …]
H A Dit87.c83 static inline void __superio_enter(int ioreg) in __superio_enter() argument
85 outb(0x87, ioreg); in __superio_enter()
86 outb(0x01, ioreg); in __superio_enter()
87 outb(0x55, ioreg); in __superio_enter()
88 outb(ioreg == REG_4E ? 0xaa : 0x55, ioreg); in __superio_enter()
91 static inline int superio_inb(int ioreg, int reg) in superio_inb() argument
93 outb(reg, ioreg); in superio_inb()
94 return inb(ioreg + 1); in superio_inb()
97 static inline void superio_outb(int ioreg, int reg, int val) in superio_outb() argument
99 outb(reg, ioreg); in superio_outb()
[all …]
H A Dw83627ehf.c95 superio_outb(int ioreg, int reg, int val) in superio_outb() argument
97 outb(reg, ioreg); in superio_outb()
98 outb(val, ioreg + 1); in superio_outb()
102 superio_inb(int ioreg, int reg) in superio_inb() argument
104 outb(reg, ioreg); in superio_inb()
105 return inb(ioreg + 1); in superio_inb()
109 superio_select(int ioreg, int ld) in superio_select() argument
111 outb(SIO_REG_LDSEL, ioreg); in superio_select()
112 outb(ld, ioreg + 1); in superio_select()
116 superio_enter(int ioreg) in superio_enter() argument
[all …]
/linux/drivers/gpio/
H A Dgpio-winbond.c233 * @ioreg: data direction register number
245 u8 ioreg; member
258 .ioreg = WB_SIO_GPIO12_REG_IO1,
275 .ioreg = WB_SIO_GPIO12_REG_IO2,
286 .ioreg = WB_SIO_GPIO34_REG_IO3,
303 .ioreg = WB_SIO_GPIO34_REG_IO4,
320 .ioreg = WB_SIO_WDGPIO56_REG_IO5,
337 .ioreg = WB_SIO_WDGPIO56_REG_IO6,
422 winbond_sio_reg_bset(*base, info->ioreg, offset); in winbond_gpio_direction_in()
446 winbond_sio_reg_bclear(*base, info->ioreg, offset); in winbond_gpio_direction_out()
/linux/drivers/comedi/drivers/
H A Dpcmda12.c66 unsigned long ioreg = dev->iobase + (chan * 2); in pcmda12_ao_insn_write() local
71 outb(val & 0xff, ioreg); in pcmda12_ao_insn_write()
72 outb((val >> 8) & 0xff, ioreg + 1); in pcmda12_ao_insn_write()
79 inb(ioreg); in pcmda12_ao_insn_write()
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptlf.h86 void __iomem *ioreg; /* LMTLINE send register */ member
407 ret = otx2_lmt_flush(lf->ioreg); in otx2_cpt_send_cmd()
H A Dcn10k_cpt.c35 tar_addr |= (__force u64)lf->ioreg | in cn10k_cpt_send_cmd()
H A Dotx2_cptlf.c444 lfs->lf[slot].ioreg = lfs->reg_base + in otx2_cptlf_init()
/linux/include/linux/mtd/
H A Ddoc2000.h185 int ioreg; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c641 /* Enable Core digital and enable IOREG R/W */ in _rtl92se_macconfig_before_fwdownload()
1478 /* Enable Core digital and enable IOREG R/W */ in _rtl92se_power_domain_init()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
H A Dreg.h678 * Current IOREG MAP
/linux/drivers/scsi/lpfc/
H A Dlpfc_attr.c6172 * @buf: contains the data to be written to the adapter IOREG space.
6232 * @buf: if successful contains the data from the adapter IOREG space.
/linux/drivers/scsi/qla2xxx/
H A Dqla_init.c4673 struct device_reg_2xxx __iomem *ioreg = &ha->iobase->isp; in qla24xx_config_rings() local
4749 rd_reg_word(&ioreg->hccr); in qla24xx_config_rings()