| /kernel/linux/linux-6.6/sound/pci/au88x0/ |
| D | au88x0_xtalk.c | 248 hwwrite(vortex->mmio, 0x24200 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetLeftEQ() 249 hwwrite(vortex->mmio, 0x24204 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetLeftEQ() 250 hwwrite(vortex->mmio, 0x24208 + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetLeftEQ() 251 hwwrite(vortex->mmio, 0x2420c + i * 0x24, coefs[i][3]); in vortex_XtalkHw_SetLeftEQ() 252 hwwrite(vortex->mmio, 0x24210 + i * 0x24, coefs[i][4]); in vortex_XtalkHw_SetLeftEQ() 254 hwwrite(vortex->mmio, 0x24538, arg_0 & 0xffff); in vortex_XtalkHw_SetLeftEQ() 255 hwwrite(vortex->mmio, 0x2453C, arg_4 & 0xffff); in vortex_XtalkHw_SetLeftEQ() 265 hwwrite(vortex->mmio, 0x242b4 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetRightEQ() 266 hwwrite(vortex->mmio, 0x242b8 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetRightEQ() 267 hwwrite(vortex->mmio, 0x242bc + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetRightEQ() [all …]
|
| D | au88x0_core.c | 79 hwwrite(vortex->mmio, VORTEX_MIXER_SR, in vortex_mixer_en_sr() 80 hwread(vortex->mmio, VORTEX_MIXER_SR) | (0x1 << channel)); in vortex_mixer_en_sr() 84 hwwrite(vortex->mmio, VORTEX_MIXER_SR, in vortex_mixer_dis_sr() 85 hwread(vortex->mmio, VORTEX_MIXER_SR) & ~(0x1 << channel)); in vortex_mixer_dis_sr() 93 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_A + ((mix << 5) + channel), 95 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_B + ((mix << 5) + channel), 102 a = hwread(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2)) & 0xff; 114 a = hwread(vortex->mmio, 139 a = hwread(vortex->mmio, 143 hwwrite(vortex->mmio, [all …]
|
| D | au88x0_eq.c | 41 hwwrite(vortex->mmio, 0x2b3c4, gain); in vortex_EqHw_SetTimeConsts() 42 hwwrite(vortex->mmio, 0x2b3c8, level); in vortex_EqHw_SetTimeConsts() 60 hwwrite(vortex->mmio, 0x2b000 + n * 0x30, coefs[i + 0]); in vortex_EqHw_SetLeftCoefs() 61 hwwrite(vortex->mmio, 0x2b004 + n * 0x30, coefs[i + 1]); in vortex_EqHw_SetLeftCoefs() 64 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, coefs[i + 2]); in vortex_EqHw_SetLeftCoefs() 65 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, coefs[i + 3]); in vortex_EqHw_SetLeftCoefs() 66 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, coefs[i + 4]); in vortex_EqHw_SetLeftCoefs() 68 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, sign_invert(coefs[2 + i])); in vortex_EqHw_SetLeftCoefs() 69 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, sign_invert(coefs[3 + i])); in vortex_EqHw_SetLeftCoefs() 70 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, sign_invert(coefs[4 + i])); in vortex_EqHw_SetLeftCoefs() [all …]
|
| D | au88x0_mpu401.c | 16 /* Check for mpu401 mmio support. */ 42 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) | in snd_vortex_midi() 44 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 48 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) & in snd_vortex_midi() 50 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 54 temp = hwread(vortex->mmio, VORTEX_CTRL2) & 0xffff00cf; in snd_vortex_midi() 56 hwwrite(vortex->mmio, VORTEX_CTRL2, temp); in snd_vortex_midi() 57 hwwrite(vortex->mmio, VORTEX_MIDI_CMD, MPU401_RESET); in snd_vortex_midi() 60 temp = hwread(vortex->mmio, VORTEX_MIDI_DATA); in snd_vortex_midi() 66 hwwrite(vortex->mmio, VORTEX_IRQ_CTRL, in snd_vortex_midi() [all …]
|
| D | au88x0_synth.c | 32 //temp = hwread(vortex->mmio, 0x80 + ((wt >> 0x5)<< 0xf) + (((wt & 0x1f) >> 1) << 2)); in vortex_wt_setstereo() 33 temp = hwread(vortex->mmio, WT_STEREO(wt)); in vortex_wt_setstereo() 35 //hwwrite(vortex->mmio, 0x80 + ((wt >> 0x5)<< 0xf) + (((wt & 0x1f) >> 1) << 2), temp); in vortex_wt_setstereo() 36 hwwrite(vortex->mmio, WT_STEREO(wt), temp); in vortex_wt_setstereo() 45 temp = hwread(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0)); in vortex_wt_setdsout() 50 hwwrite(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0), temp); in vortex_wt_setdsout() 70 hwwrite(vortex->mmio, WT_SRAMP(0), 0x880000); in vortex_wt_allocroute() 71 //hwwrite(vortex->mmio, WT_GMODE(0), 0xffffffff); in vortex_wt_allocroute() 73 hwwrite(vortex->mmio, WT_SRAMP(1), 0x880000); in vortex_wt_allocroute() 74 //hwwrite(vortex->mmio, WT_GMODE(1), 0xffffffff); in vortex_wt_allocroute() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/au88x0/ |
| D | au88x0_xtalk.c | 248 hwwrite(vortex->mmio, 0x24200 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetLeftEQ() 249 hwwrite(vortex->mmio, 0x24204 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetLeftEQ() 250 hwwrite(vortex->mmio, 0x24208 + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetLeftEQ() 251 hwwrite(vortex->mmio, 0x2420c + i * 0x24, coefs[i][3]); in vortex_XtalkHw_SetLeftEQ() 252 hwwrite(vortex->mmio, 0x24210 + i * 0x24, coefs[i][4]); in vortex_XtalkHw_SetLeftEQ() 254 hwwrite(vortex->mmio, 0x24538, arg_0 & 0xffff); in vortex_XtalkHw_SetLeftEQ() 255 hwwrite(vortex->mmio, 0x2453C, arg_4 & 0xffff); in vortex_XtalkHw_SetLeftEQ() 265 hwwrite(vortex->mmio, 0x242b4 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetRightEQ() 266 hwwrite(vortex->mmio, 0x242b8 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetRightEQ() 267 hwwrite(vortex->mmio, 0x242bc + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetRightEQ() [all …]
|
| D | au88x0_core.c | 79 hwwrite(vortex->mmio, VORTEX_MIXER_SR, in vortex_mixer_en_sr() 80 hwread(vortex->mmio, VORTEX_MIXER_SR) | (0x1 << channel)); in vortex_mixer_en_sr() 84 hwwrite(vortex->mmio, VORTEX_MIXER_SR, in vortex_mixer_dis_sr() 85 hwread(vortex->mmio, VORTEX_MIXER_SR) & ~(0x1 << channel)); in vortex_mixer_dis_sr() 93 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_A + ((mix << 5) + channel), 95 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_B + ((mix << 5) + channel), 102 a = hwread(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2)) & 0xff; 114 a = hwread(vortex->mmio, 139 a = hwread(vortex->mmio, 143 hwwrite(vortex->mmio, [all …]
|
| D | au88x0_eq.c | 41 hwwrite(vortex->mmio, 0x2b3c4, gain); in vortex_EqHw_SetTimeConsts() 42 hwwrite(vortex->mmio, 0x2b3c8, level); in vortex_EqHw_SetTimeConsts() 60 hwwrite(vortex->mmio, 0x2b000 + n * 0x30, coefs[i + 0]); in vortex_EqHw_SetLeftCoefs() 61 hwwrite(vortex->mmio, 0x2b004 + n * 0x30, coefs[i + 1]); in vortex_EqHw_SetLeftCoefs() 64 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, coefs[i + 2]); in vortex_EqHw_SetLeftCoefs() 65 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, coefs[i + 3]); in vortex_EqHw_SetLeftCoefs() 66 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, coefs[i + 4]); in vortex_EqHw_SetLeftCoefs() 68 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, sign_invert(coefs[2 + i])); in vortex_EqHw_SetLeftCoefs() 69 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, sign_invert(coefs[3 + i])); in vortex_EqHw_SetLeftCoefs() 70 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, sign_invert(coefs[4 + i])); in vortex_EqHw_SetLeftCoefs() [all …]
|
| D | au88x0_mpu401.c | 16 /* Check for mpu401 mmio support. */ 42 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) | in snd_vortex_midi() 44 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 48 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) & in snd_vortex_midi() 50 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 54 temp = hwread(vortex->mmio, VORTEX_CTRL2) & 0xffff00cf; in snd_vortex_midi() 56 hwwrite(vortex->mmio, VORTEX_CTRL2, temp); in snd_vortex_midi() 57 hwwrite(vortex->mmio, VORTEX_MIDI_CMD, MPU401_RESET); in snd_vortex_midi() 60 temp = hwread(vortex->mmio, VORTEX_MIDI_DATA); in snd_vortex_midi() 66 hwwrite(vortex->mmio, VORTEX_IRQ_CTRL, in snd_vortex_midi() [all …]
|
| D | au88x0_synth.c | 32 //temp = hwread(vortex->mmio, 0x80 + ((wt >> 0x5)<< 0xf) + (((wt & 0x1f) >> 1) << 2)); in vortex_wt_setstereo() 33 temp = hwread(vortex->mmio, WT_STEREO(wt)); in vortex_wt_setstereo() 35 //hwwrite(vortex->mmio, 0x80 + ((wt >> 0x5)<< 0xf) + (((wt & 0x1f) >> 1) << 2), temp); in vortex_wt_setstereo() 36 hwwrite(vortex->mmio, WT_STEREO(wt), temp); in vortex_wt_setstereo() 45 temp = hwread(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0)); in vortex_wt_setdsout() 50 hwwrite(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0), temp); in vortex_wt_setdsout() 70 hwwrite(vortex->mmio, WT_SRAMP(0), 0x880000); in vortex_wt_allocroute() 71 //hwwrite(vortex->mmio, WT_GMODE(0), 0xffffffff); in vortex_wt_allocroute() 73 hwwrite(vortex->mmio, WT_SRAMP(1), 0x880000); in vortex_wt_allocroute() 74 //hwwrite(vortex->mmio, WT_GMODE(1), 0xffffffff); in vortex_wt_allocroute() [all …]
|
| /kernel/linux/linux-6.6/drivers/phy/mediatek/ |
| D | phy-mtk-ufs.c | 41 void __iomem *mmio; member 62 void __iomem *mmio = phy->mmio; in ufs_mtk_phy_set_active() local 65 mtk_phy_set_bits(mmio + MP_GLB_DIG_8C, PLL_PWR_ON); in ufs_mtk_phy_set_active() 66 mtk_phy_clear_bits(mmio + MP_GLB_DIG_8C, FRC_FRC_PWR_ON); in ufs_mtk_phy_set_active() 69 mtk_phy_clear_bits(mmio + MP_GLB_DIG_8C, PLL_ISO_EN); in ufs_mtk_phy_set_active() 70 mtk_phy_clear_bits(mmio + MP_GLB_DIG_8C, FRC_PLL_ISO_EN); in ufs_mtk_phy_set_active() 73 mtk_phy_set_bits(mmio + MP_LN_RX_44, CDR_PWR_ON); in ufs_mtk_phy_set_active() 74 mtk_phy_clear_bits(mmio + MP_LN_RX_44, FRC_CDR_PWR_ON); in ufs_mtk_phy_set_active() 77 mtk_phy_clear_bits(mmio + MP_LN_RX_44, CDR_ISO_EN); in ufs_mtk_phy_set_active() 78 mtk_phy_clear_bits(mmio + MP_LN_RX_44, FRC_CDR_ISO_EN); in ufs_mtk_phy_set_active() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/i810/ |
| D | i810_main.c | 161 * @mmio: address of register space 167 static void i810_screen_off(u8 __iomem *mmio, u8 mode) in i810_screen_off() argument 172 i810_writeb(SR_INDEX, mmio, SR01); in i810_screen_off() 173 val = i810_readb(SR_DATA, mmio); in i810_screen_off() 177 while((i810_readw(DISP_SL, mmio) & 0xFFF) && count--); in i810_screen_off() 178 i810_writeb(SR_INDEX, mmio, SR01); in i810_screen_off() 179 i810_writeb(SR_DATA, mmio, val); in i810_screen_off() 184 * @mmio: address of register space 191 static void i810_dram_off(u8 __iomem *mmio, u8 mode) in i810_dram_off() argument 195 val = i810_readb(DRAMCH, mmio); in i810_dram_off() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/i810/ |
| D | i810_main.c | 162 * @mmio: address of register space 168 static void i810_screen_off(u8 __iomem *mmio, u8 mode) in i810_screen_off() argument 173 i810_writeb(SR_INDEX, mmio, SR01); in i810_screen_off() 174 val = i810_readb(SR_DATA, mmio); in i810_screen_off() 178 while((i810_readw(DISP_SL, mmio) & 0xFFF) && count--); in i810_screen_off() 179 i810_writeb(SR_INDEX, mmio, SR01); in i810_screen_off() 180 i810_writeb(SR_DATA, mmio, val); in i810_screen_off() 185 * @mmio: address of register space 192 static void i810_dram_off(u8 __iomem *mmio, u8 mode) in i810_dram_off() argument 196 val = i810_readb(DRAMCH, mmio); in i810_dram_off() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/amd/ |
| D | amd8111e.c | 101 void __iomem *mmio = lp->mmio; in amd8111e_read_phy() local 105 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy() 107 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy() 110 ((reg & 0x1f) << 16), mmio + PHY_ACCESS); in amd8111e_read_phy() 112 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy() 131 void __iomem *mmio = lp->mmio; in amd8111e_write_phy() local 134 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_write_phy() 136 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_write_phy() 139 ((reg & 0x1f) << 16)|val, mmio + PHY_ACCESS); in amd8111e_write_phy() 142 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_write_phy() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
| D | amd8111e.c | 101 void __iomem *mmio = lp->mmio; in amd8111e_read_phy() local 105 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy() 107 reg_val = readl( mmio + PHY_ACCESS ); in amd8111e_read_phy() 110 ((reg & 0x1f) << 16), mmio +PHY_ACCESS); in amd8111e_read_phy() 112 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy() 131 void __iomem *mmio = lp->mmio; in amd8111e_write_phy() local 134 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_write_phy() 136 reg_val = readl( mmio + PHY_ACCESS ); in amd8111e_write_phy() 139 ((reg & 0x1f) << 16)|val, mmio + PHY_ACCESS); in amd8111e_write_phy() 142 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_write_phy() [all …]
|
| /kernel/linux/linux-6.6/drivers/comedi/drivers/ |
| D | ni_pcidio.c | 311 dev->mmio + DMA_LINE_CONTROL_GROUP1); in ni_pcidio_request_di_mite_channel() 327 dev->mmio + DMA_LINE_CONTROL_GROUP1); in ni_pcidio_release_di_mite_channel() 393 status = readb(dev->mmio + INTERRUPT_AND_WINDOW_STATUS); in nidio_interrupt() 394 flags = readb(dev->mmio + GROUP_1_FLAGS); in nidio_interrupt() 408 dev->mmio + MASTER_DMA_AND_INTERRUPT_CONTROL); in nidio_interrupt() 420 writeb(0x00, dev->mmio + in nidio_interrupt() 425 auxdata = readl(dev->mmio + GROUP_1_FIFO); in nidio_interrupt() 427 flags = readb(dev->mmio + GROUP_1_FLAGS); in nidio_interrupt() 432 writeb(CLEAR_EXPIRED, dev->mmio + GROUP_1_SECOND_CLEAR); in nidio_interrupt() 435 writeb(0x00, dev->mmio + OP_MODE); in nidio_interrupt() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
| D | ni_pcidio.c | 312 dev->mmio + DMA_LINE_CONTROL_GROUP1); in ni_pcidio_request_di_mite_channel() 328 dev->mmio + DMA_LINE_CONTROL_GROUP1); in ni_pcidio_release_di_mite_channel() 394 status = readb(dev->mmio + INTERRUPT_AND_WINDOW_STATUS); in nidio_interrupt() 395 flags = readb(dev->mmio + GROUP_1_FLAGS); in nidio_interrupt() 409 dev->mmio + MASTER_DMA_AND_INTERRUPT_CONTROL); in nidio_interrupt() 421 writeb(0x00, dev->mmio + in nidio_interrupt() 426 auxdata = readl(dev->mmio + GROUP_1_FIFO); in nidio_interrupt() 428 flags = readb(dev->mmio + GROUP_1_FLAGS); in nidio_interrupt() 433 writeb(CLEAR_EXPIRED, dev->mmio + GROUP_1_SECOND_CLEAR); in nidio_interrupt() 436 writeb(0x00, dev->mmio + OP_MODE); in nidio_interrupt() [all …]
|
| /kernel/linux/linux-5.10/drivers/ata/ |
| D | sata_sx4.c | 442 void __iomem *mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc20621_dma_prep() local 453 mmio += PDC_CHIP0_OFS; in pdc20621_dma_prep() 483 /* copy three S/G tables and two packets to DIMM MMIO window */ in pdc20621_dma_prep() 491 writel(0x00000001, mmio + PDC_20621_GENERAL_CTL); in pdc20621_dma_prep() 493 readl(dimm_mmio); /* MMIO PCI posting flush */ in pdc20621_dma_prep() 495 VPRINTK("ata pkt buf ofs %u, prd size %u, mmio copied\n", i, sgt_len); in pdc20621_dma_prep() 502 void __iomem *mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc20621_nodata_prep() local 510 mmio += PDC_CHIP0_OFS; in pdc20621_nodata_prep() 521 /* copy three S/G tables and two packets to DIMM MMIO window */ in pdc20621_nodata_prep() 526 writel(0x00000001, mmio + PDC_20621_GENERAL_CTL); in pdc20621_nodata_prep() [all …]
|
| /kernel/linux/linux-6.6/drivers/ata/ |
| D | sata_sx4.c | 419 void __iomem *mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc20621_dma_prep() local 428 mmio += PDC_CHIP0_OFS; in pdc20621_dma_prep() 458 /* copy three S/G tables and two packets to DIMM MMIO window */ in pdc20621_dma_prep() 466 writel(0x00000001, mmio + PDC_20621_GENERAL_CTL); in pdc20621_dma_prep() 468 readl(dimm_mmio); /* MMIO PCI posting flush */ in pdc20621_dma_prep() 470 ata_port_dbg(ap, "ata pkt buf ofs %u, prd size %u, mmio copied\n", in pdc20621_dma_prep() 478 void __iomem *mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc20621_nodata_prep() local 484 mmio += PDC_CHIP0_OFS; in pdc20621_nodata_prep() 495 /* copy three S/G tables and two packets to DIMM MMIO window */ in pdc20621_nodata_prep() 500 writel(0x00000001, mmio + PDC_20621_GENERAL_CTL); in pdc20621_nodata_prep() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/au1x/ |
| D | psc.h | 13 void __iomem *mmio; member 26 #define PSC_CTRL(x) ((x)->mmio + PSC_CTRL_OFFSET) 27 #define PSC_SEL(x) ((x)->mmio + PSC_SEL_OFFSET) 28 #define I2S_STAT(x) ((x)->mmio + PSC_I2SSTAT_OFFSET) 29 #define I2S_CFG(x) ((x)->mmio + PSC_I2SCFG_OFFSET) 30 #define I2S_PCR(x) ((x)->mmio + PSC_I2SPCR_OFFSET) 31 #define AC97_CFG(x) ((x)->mmio + PSC_AC97CFG_OFFSET) 32 #define AC97_CDC(x) ((x)->mmio + PSC_AC97CDC_OFFSET) 33 #define AC97_EVNT(x) ((x)->mmio + PSC_AC97EVNT_OFFSET) 34 #define AC97_PCR(x) ((x)->mmio + PSC_AC97PCR_OFFSET) [all …]
|
| /kernel/linux/linux-6.6/sound/soc/au1x/ |
| D | psc.h | 13 void __iomem *mmio; member 26 #define PSC_CTRL(x) ((x)->mmio + PSC_CTRL_OFFSET) 27 #define PSC_SEL(x) ((x)->mmio + PSC_SEL_OFFSET) 28 #define I2S_STAT(x) ((x)->mmio + PSC_I2SSTAT_OFFSET) 29 #define I2S_CFG(x) ((x)->mmio + PSC_I2SCFG_OFFSET) 30 #define I2S_PCR(x) ((x)->mmio + PSC_I2SPCR_OFFSET) 31 #define AC97_CFG(x) ((x)->mmio + PSC_AC97CFG_OFFSET) 32 #define AC97_CDC(x) ((x)->mmio + PSC_AC97CDC_OFFSET) 33 #define AC97_EVNT(x) ((x)->mmio + PSC_AC97EVNT_OFFSET) 34 #define AC97_PCR(x) ((x)->mmio + PSC_AC97PCR_OFFSET) [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
| D | mmio_context.c | 200 struct engine_mmio *mmio; in restore_context_mmio_for_inhibit() local 217 for (mmio = gvt->engine_mmio_list.mmio; in restore_context_mmio_for_inhibit() 218 i915_mmio_reg_valid(mmio->reg); mmio++) { in restore_context_mmio_for_inhibit() 219 if (mmio->id != ring_id || !mmio->in_context) in restore_context_mmio_for_inhibit() 222 *cs++ = i915_mmio_reg_offset(mmio->reg); in restore_context_mmio_for_inhibit() 223 *cs++ = vgpu_vreg_t(vgpu, mmio->reg) | (mmio->mask << 16); in restore_context_mmio_for_inhibit() 293 * Use lri command to initialize the mmio which is in context state image for 294 * inhibit context, it contains tracked engine mmio, render_mocs and 466 /* Switch ring mmio values (context). */ 473 struct engine_mmio *mmio; in switch_mmio() local [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
| D | mmio_context.c | 206 struct engine_mmio *mmio; in restore_context_mmio_for_inhibit() local 223 for (mmio = gvt->engine_mmio_list.mmio; in restore_context_mmio_for_inhibit() 224 i915_mmio_reg_valid(mmio->reg); mmio++) { in restore_context_mmio_for_inhibit() 225 if (mmio->id != ring_id || !mmio->in_context) in restore_context_mmio_for_inhibit() 228 *cs++ = i915_mmio_reg_offset(mmio->reg); in restore_context_mmio_for_inhibit() 229 *cs++ = vgpu_vreg_t(vgpu, mmio->reg) | (mmio->mask << 16); in restore_context_mmio_for_inhibit() 299 * Use lri command to initialize the mmio which is in context state image for 300 * inhibit context, it contains tracked engine mmio, render_mocs and 472 /* Switch ring mmio values (context). */ 479 struct engine_mmio *mmio; in switch_mmio() local [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
| D | mmio.c | 13 val = readl(dev->mmio.regs + offset); in mt76_mmio_rr() 22 writel(val, dev->mmio.regs + offset); in mt76_mmio_wr() 35 __iowrite32_copy(dev->mmio.regs + offset, data, DIV_ROUND_UP(len, 4)); in mt76_mmio_write_copy() 41 __ioread32_copy(data, dev->mmio.regs + offset, DIV_ROUND_UP(len, 4)); in mt76_mmio_read_copy() 73 spin_lock_irqsave(&dev->mmio.irq_lock, flags); in mt76_set_irq_mask() 74 dev->mmio.irqmask &= ~clear; in mt76_set_irq_mask() 75 dev->mmio.irqmask |= set; in mt76_set_irq_mask() 77 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_set_irq_mask() 78 mtk_wed_device_irq_set_mask(&dev->mmio.wed, in mt76_set_irq_mask() 79 dev->mmio.irqmask); in mt76_set_irq_mask() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
| D | iosm_ipc_mmio.h | 52 /* mmio scratchpad info */ 68 * struct iosm_mmio - MMIO region mapped to the doorbell scratchpad. 69 * @base: Base address of MMIO region 94 * ipc_mmio_init - Allocate mmio instance data 95 * @mmio_addr: Mapped AP base address of the MMIO area. 98 * Returns: address of mmio instance data or NULL if fails. 106 * @ipc_mmio: Pointer to mmio instance 115 * MMIO instance to share it with CP during 117 * @ipc_mmio: Pointer to mmio instance 125 * @ipc_mmio: Pointer to mmio instance [all …]
|