/linux-4.4.14/sound/pci/cs5535audio/ |
H A D | cs5535audio.c | 94 unsigned int regdata; snd_cs5535audio_codec_read() local 98 regdata = ((unsigned int) reg) << 24; snd_cs5535audio_codec_read() 99 regdata |= ACC_CODEC_CNTL_RD_CMD; snd_cs5535audio_codec_read() 100 regdata |= CMD_NEW; snd_cs5535audio_codec_read() 102 cs_writel(cs5535au, ACC_CODEC_CNTL, regdata); snd_cs5535audio_codec_read() 123 unsigned int regdata; snd_cs5535audio_codec_write() local 125 regdata = ((unsigned int) reg) << 24; snd_cs5535audio_codec_write() 126 regdata |= val; snd_cs5535audio_codec_write() 127 regdata &= CMD_MASK; snd_cs5535audio_codec_write() 128 regdata |= CMD_NEW; snd_cs5535audio_codec_write() 129 regdata &= ACC_CODEC_CNTL_WR_CMD; snd_cs5535audio_codec_write() 131 cs_writel(cs5535au, ACC_CODEC_CNTL, regdata); snd_cs5535audio_codec_write()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | chip.c | 251 u32 regdata; brcmf_chip_sb_corerev() local 253 regdata = ci->ops->read32(ci->ctx, CORE_SB(core->base, sbidhigh)); brcmf_chip_sb_corerev() 254 core->rev = SBCOREREV(regdata); brcmf_chip_sb_corerev() 260 u32 regdata; brcmf_chip_sb_iscoreup() local 265 regdata = ci->ops->read32(ci->ctx, address); brcmf_chip_sb_iscoreup() 266 regdata &= (SSB_TMSLOW_RESET | SSB_TMSLOW_REJECT | brcmf_chip_sb_iscoreup() 268 return SSB_TMSLOW_CLOCK == regdata; brcmf_chip_sb_iscoreup() 274 u32 regdata; brcmf_chip_ai_iscoreup() local 278 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); brcmf_chip_ai_iscoreup() 279 ret = (regdata & (BCMA_IOCTL_FGC | BCMA_IOCTL_CLK)) == BCMA_IOCTL_CLK; brcmf_chip_ai_iscoreup() 281 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_RESET_CTL); brcmf_chip_ai_iscoreup() 282 ret = ret && ((regdata & BCMA_RESET_CTL_RESET) == 0); brcmf_chip_ai_iscoreup() 361 u32 regdata; brcmf_chip_ai_coredisable() local 366 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_RESET_CTL); brcmf_chip_ai_coredisable() 367 if ((regdata & BCMA_RESET_CTL_RESET) != 0) brcmf_chip_ai_coredisable() 395 u32 regdata; brcmf_chip_sb_resetcore() local 414 regdata = ci->ops->read32(ci->ctx, CORE_SB(base, sbtmstatelow)); brcmf_chip_sb_resetcore() 418 regdata = ci->ops->read32(ci->ctx, CORE_SB(base, sbtmstatehigh)); brcmf_chip_sb_resetcore() 419 if (regdata & SSB_TMSHIGH_SERR) brcmf_chip_sb_resetcore() 422 regdata = ci->ops->read32(ci->ctx, CORE_SB(base, sbimstate)); brcmf_chip_sb_resetcore() 423 if (regdata & (SSB_IMSTATE_IBE | SSB_IMSTATE_TO)) { brcmf_chip_sb_resetcore() 424 regdata &= ~(SSB_IMSTATE_IBE | SSB_IMSTATE_TO); brcmf_chip_sb_resetcore() 425 ci->ops->write32(ci->ctx, CORE_SB(base, sbimstate), regdata); brcmf_chip_sb_resetcore() 431 regdata = ci->ops->read32(ci->ctx, CORE_SB(base, sbtmstatelow)); brcmf_chip_sb_resetcore() 437 regdata = ci->ops->read32(ci->ctx, CORE_SB(base, sbtmstatelow)); brcmf_chip_sb_resetcore() 900 u32 regdata; brcmf_chip_recognition() local 909 regdata = ci->ops->read32(ci->ctx, CORE_CC_REG(SI_ENUM_BASE, chipid)); brcmf_chip_recognition() 910 ci->pub.chip = regdata & CID_ID_MASK; brcmf_chip_recognition() 911 ci->pub.chiprev = (regdata & CID_REV_MASK) >> CID_REV_SHIFT; brcmf_chip_recognition() 912 socitype = (regdata & CID_TYPE_MASK) >> CID_TYPE_SHIFT; brcmf_chip_recognition()
|
/linux-4.4.14/drivers/scsi/bfa/ |
H A D | bfad_debugfs.c | 233 if (!bfad->regdata) bfad_debugfs_read_regrd() 237 bfad->regdata, bfad->reglen); bfad_debugfs_read_regrd() 240 kfree(bfad->regdata); bfad_debugfs_read_regrd() 241 bfad->regdata = NULL; bfad_debugfs_read_regrd() 277 kfree(bfad->regdata); bfad_debugfs_write_regrd() 278 bfad->regdata = NULL; bfad_debugfs_write_regrd() 281 bfad->regdata = kzalloc(len << 2, GFP_KERNEL); bfad_debugfs_write_regrd() 282 if (!bfad->regdata) { bfad_debugfs_write_regrd() 297 kfree(bfad->regdata); bfad_debugfs_write_regrd() 298 bfad->regdata = NULL; bfad_debugfs_write_regrd() 304 regbuf = (u32 *)bfad->regdata; bfad_debugfs_write_regrd()
|
H A D | bfad_drv.h | 227 char *regdata; member in struct:bfad_s
|
H A D | bfad.c | 1387 kfree(bfad->regdata); bfad_pci_probe() 1431 kfree(bfad->regdata); bfad_pci_remove()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | s921.c | 76 struct regdata { struct 81 static struct regdata s921_init[] = { 189 static struct regdata s921_prefreq[] = { 197 static struct regdata s921_postfreq[] = { 226 struct regdata *rd, int size) s921_i2c_writeregdata() 261 #define s921_writeregdata(state, regdata) \ 263 regdata, ARRAY_SIZE(regdata))
|
H A D | si21xx.c | 848 u8 regdata; si21xx_sleep() local 852 si21_readregs(state, SYSTEM_MODE_REG, ®data, 0x01); si21xx_sleep() 853 regdata |= 1 << 6; si21xx_sleep() 854 si21_writeregs(state, SYSTEM_MODE_REG, ®data, 0x01); si21xx_sleep()
|
H A D | mb86a20s.c | 55 struct regdata { struct 66 static struct regdata mb86a20s_init1[] = { 73 static struct regdata mb86a20s_init2[] = { 205 static struct regdata mb86a20s_reset_reception[] = { 212 static struct regdata mb86a20s_per_ber_reset[] = { 249 u8 i2c_addr, struct regdata *rd, int size) mb86a20s_i2c_writeregdata() 287 #define mb86a20s_writeregdata(state, regdata) \ 289 regdata, ARRAY_SIZE(regdata))
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
H A D | bnad_debugfs.c | 293 if (!bnad->regdata) bnad_debugfs_read_regrd() 297 bnad->regdata, bnad->reglen); bnad_debugfs_read_regrd() 300 kfree(bnad->regdata); bnad_debugfs_read_regrd() 301 bnad->regdata = NULL; bnad_debugfs_read_regrd() 334 kfree(bnad->regdata); bnad_debugfs_write_regrd() 337 bnad->regdata = kzalloc(len << 2, GFP_KERNEL); bnad_debugfs_write_regrd() 338 if (!bnad->regdata) bnad_debugfs_write_regrd() 349 kfree(bnad->regdata); bnad_debugfs_write_regrd() 350 bnad->regdata = NULL; bnad_debugfs_write_regrd() 356 regbuf = (u32 *)bnad->regdata; bnad_debugfs_write_regrd()
|
H A D | bnad.h | 364 char *regdata; member in struct:bnad
|
H A D | bnad.c | 3792 kfree(bnad->regdata); bnad_pci_probe() 3840 kfree(bnad->regdata); bnad_pci_remove()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
H A D | adf_common_drv.h | 203 unsigned short reg_num, unsigned int regdata); 207 unsigned short reg_num, unsigned int regdata); 211 unsigned short reg_num, unsigned int regdata); 214 unsigned short reg_num, unsigned int regdata);
|
H A D | qat_hal.c | 1273 unsigned short reg_num, unsigned int regdata) qat_hal_init_gpr() 1294 stat = qat_hal_wr_rel_reg(handle, ae, ctx, type, reg, regdata); qat_hal_init_gpr() 1307 unsigned short reg_num, unsigned int regdata) qat_hal_init_wr_xfer() 1329 regdata); qat_hal_init_wr_xfer() 1342 unsigned short reg_num, unsigned int regdata) qat_hal_init_rd_xfer() 1364 regdata); qat_hal_init_rd_xfer() 1376 unsigned short reg_num, unsigned int regdata) qat_hal_init_nn() 1387 stat = qat_hal_put_rel_nn(handle, ae, ctx, reg_num, regdata); qat_hal_init_nn() 1270 qat_hal_init_gpr(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx_mask, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int regdata) qat_hal_init_gpr() argument 1304 qat_hal_init_wr_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx_mask, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int regdata) qat_hal_init_wr_xfer() argument 1339 qat_hal_init_rd_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx_mask, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int regdata) qat_hal_init_rd_xfer() argument 1374 qat_hal_init_nn(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx_mask, unsigned short reg_num, unsigned int regdata) qat_hal_init_nn() argument
|
/linux-4.4.14/drivers/block/paride/ |
H A D | ppc6lnx.c | 116 static void ppc6_wr_extout(Interface *ppc, u8 regdata); 687 static void ppc6_wr_extout(Interface *ppc, u8 regdata) ppc6_wr_extout() argument 691 ppc6_wr_data_byte(ppc, (u8)((regdata & 0x03) << 6)); ppc6_wr_extout()
|
/linux-4.4.14/drivers/staging/emxx_udc/ |
H A D | emxx_udc.c | 1555 u32 regdata; _nbu2ss_epn_set_stall() local 1565 regdata = _nbu2ss_readl( _nbu2ss_epn_set_stall() 1568 if ((regdata & EPn_IN_DATA) == 0) _nbu2ss_epn_set_stall()
|