Home
last modified time | relevance | path

Searched refs:regdata (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/sound/pci/cs5535audio/
Dcs5535audio.c80 unsigned int regdata; in snd_cs5535audio_codec_read() local
84 regdata = ((unsigned int) reg) << 24; in snd_cs5535audio_codec_read()
85 regdata |= ACC_CODEC_CNTL_RD_CMD; in snd_cs5535audio_codec_read()
86 regdata |= CMD_NEW; in snd_cs5535audio_codec_read()
88 cs_writel(cs5535au, ACC_CODEC_CNTL, regdata); in snd_cs5535audio_codec_read()
109 unsigned int regdata; in snd_cs5535audio_codec_write() local
111 regdata = ((unsigned int) reg) << 24; in snd_cs5535audio_codec_write()
112 regdata |= val; in snd_cs5535audio_codec_write()
113 regdata &= CMD_MASK; in snd_cs5535audio_codec_write()
114 regdata |= CMD_NEW; in snd_cs5535audio_codec_write()
[all …]
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.c241 u32 regdata; in brcmf_chip_sb_corerev() local
243 regdata = ci->ops->read32(ci->ctx, CORE_SB(core->base, sbidhigh)); in brcmf_chip_sb_corerev()
244 core->rev = SBCOREREV(regdata); in brcmf_chip_sb_corerev()
250 u32 regdata; in brcmf_chip_sb_iscoreup() local
255 regdata = ci->ops->read32(ci->ctx, address); in brcmf_chip_sb_iscoreup()
256 regdata &= (SSB_TMSLOW_RESET | SSB_TMSLOW_REJECT | in brcmf_chip_sb_iscoreup()
258 return SSB_TMSLOW_CLOCK == regdata; in brcmf_chip_sb_iscoreup()
264 u32 regdata; in brcmf_chip_ai_iscoreup() local
268 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_iscoreup()
269 ret = (regdata & (BCMA_IOCTL_FGC | BCMA_IOCTL_CLK)) == BCMA_IOCTL_CLK; in brcmf_chip_ai_iscoreup()
[all …]
/Linux-v5.4/drivers/scsi/bfa/
Dbfad_debugfs.c222 if (!bfad->regdata) in bfad_debugfs_read_regrd()
226 bfad->regdata, bfad->reglen); in bfad_debugfs_read_regrd()
229 kfree(bfad->regdata); in bfad_debugfs_read_regrd()
230 bfad->regdata = NULL; in bfad_debugfs_read_regrd()
267 kfree(bfad->regdata); in bfad_debugfs_write_regrd()
268 bfad->regdata = NULL; in bfad_debugfs_write_regrd()
271 bfad->regdata = kzalloc(len << 2, GFP_KERNEL); in bfad_debugfs_write_regrd()
272 if (!bfad->regdata) { in bfad_debugfs_write_regrd()
287 kfree(bfad->regdata); in bfad_debugfs_write_regrd()
288 bfad->regdata = NULL; in bfad_debugfs_write_regrd()
[all …]
Dbfad_drv.h220 char *regdata; member
Dbfad.c1372 kfree(bfad->regdata); in bfad_pci_probe()
1416 kfree(bfad->regdata); in bfad_pci_remove()
/Linux-v5.4/drivers/media/dvb-frontends/
Ds921.c68 struct regdata { struct
73 static struct regdata s921_init[] = { argument
181 static struct regdata s921_prefreq[] = {
189 static struct regdata s921_postfreq[] = {
218 struct regdata *rd, int size) in s921_i2c_writeregdata()
253 #define s921_writeregdata(state, regdata) \ argument
255 regdata, ARRAY_SIZE(regdata))
Dmb86a20s.c47 struct regdata { struct
58 static struct regdata mb86a20s_init1[] = { argument
65 static struct regdata mb86a20s_init2[] = {
189 static struct regdata mb86a20s_reset_reception[] = {
196 static struct regdata mb86a20s_per_ber_reset[] = {
233 u8 i2c_addr, struct regdata *rd, int size) in mb86a20s_i2c_writeregdata()
271 #define mb86a20s_writeregdata(state, regdata) \ argument
273 regdata, ARRAY_SIZE(regdata))
Dsi21xx.c843 u8 regdata; in si21xx_sleep() local
847 si21_readregs(state, SYSTEM_MODE_REG, &regdata, 0x01); in si21xx_sleep()
848 regdata |= 1 << 6; in si21xx_sleep()
849 si21_writeregs(state, SYSTEM_MODE_REG, &regdata, 0x01); in si21xx_sleep()
/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c285 if (!bnad->regdata) in bnad_debugfs_read_regrd()
289 bnad->regdata, bnad->reglen); in bnad_debugfs_read_regrd()
292 kfree(bnad->regdata); in bnad_debugfs_read_regrd()
293 bnad->regdata = NULL; in bnad_debugfs_read_regrd()
327 kfree(bnad->regdata); in bnad_debugfs_write_regrd()
330 bnad->regdata = kzalloc(len << 2, GFP_KERNEL); in bnad_debugfs_write_regrd()
331 if (!bnad->regdata) in bnad_debugfs_write_regrd()
342 kfree(bnad->regdata); in bnad_debugfs_write_regrd()
343 bnad->regdata = NULL; in bnad_debugfs_write_regrd()
349 regbuf = (u32 *)bnad->regdata; in bnad_debugfs_write_regrd()
Dbnad.h355 char *regdata; member
Dbnad.c3768 kfree(bnad->regdata); in bnad_pci_probe()
3814 kfree(bnad->regdata); in bnad_pci_remove()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dadf_common_drv.h212 unsigned short reg_num, unsigned int regdata);
216 unsigned short reg_num, unsigned int regdata);
220 unsigned short reg_num, unsigned int regdata);
223 unsigned short reg_num, unsigned int regdata);
Dqat_hal.c1319 unsigned short reg_num, unsigned int regdata) in qat_hal_init_gpr() argument
1340 stat = qat_hal_wr_rel_reg(handle, ae, ctx, type, reg, regdata); in qat_hal_init_gpr()
1353 unsigned short reg_num, unsigned int regdata) in qat_hal_init_wr_xfer() argument
1375 regdata); in qat_hal_init_wr_xfer()
1388 unsigned short reg_num, unsigned int regdata) in qat_hal_init_rd_xfer() argument
1410 regdata); in qat_hal_init_rd_xfer()
1422 unsigned short reg_num, unsigned int regdata) in qat_hal_init_nn() argument
1433 stat = qat_hal_put_rel_nn(handle, ae, ctx, reg_num, regdata); in qat_hal_init_nn()
/Linux-v5.4/drivers/block/paride/
Dppc6lnx.c116 static void ppc6_wr_extout(Interface *ppc, u8 regdata);
687 static void ppc6_wr_extout(Interface *ppc, u8 regdata) in ppc6_wr_extout() argument
691 ppc6_wr_data_byte(ppc, (u8)((regdata & 0x03) << 6)); in ppc6_wr_extout()
/Linux-v5.4/drivers/staging/emxx_udc/
Demxx_udc.c1456 u32 regdata; in _nbu2ss_epn_set_stall() local
1465 regdata = _nbu2ss_readl( in _nbu2ss_epn_set_stall()
1468 if ((regdata & EPN_IN_DATA) == 0) in _nbu2ss_epn_set_stall()