Home
last modified time | relevance | path

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

/linux/sound/pci/cs5535audio/
H A 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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dchip.c244 u32 regdata; in brcmf_chip_sb_corerev() local
246 regdata = ci->ops->read32(ci->ctx, CORE_SB(core->base, sbidhigh)); in brcmf_chip_sb_corerev()
247 core->rev = SBCOREREV(regdata); in brcmf_chip_sb_corerev()
253 u32 regdata; in brcmf_chip_sb_iscoreup() local
258 regdata = ci->ops->read32(ci->ctx, address); in brcmf_chip_sb_iscoreup()
259 regdata &= (SSB_TMSLOW_RESET | SSB_TMSLOW_REJECT | in brcmf_chip_sb_iscoreup()
261 return SSB_TMSLOW_CLOCK == regdata; in brcmf_chip_sb_iscoreup()
267 u32 regdata; in brcmf_chip_ai_iscoreup() local
271 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_iscoreup()
272 ret = (regdata & (BCMA_IOCTL_FGC | BCMA_IOCTL_CLK)) == BCMA_IOCTL_CLK; in brcmf_chip_ai_iscoreup()
[all …]
/linux/drivers/scsi/bfa/
H A 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 …]
/linux/drivers/media/dvb-frontends/
H A 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))
H A 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))
H A Dsi21xx.c842 u8 regdata; in si21xx_sleep() local
846 si21_readregs(state, SYSTEM_MODE_REG, &regdata, 0x01); in si21xx_sleep()
847 regdata |= 1 << 6; in si21xx_sleep()
848 si21_writeregs(state, SYSTEM_MODE_REG, &regdata, 0x01); in si21xx_sleep()
/linux/drivers/hwmon/
H A Dmax6697.c198 u8 regdata[2] = { }; in max6697_read() local
204 ret = regmap_multi_reg_read(regmap, temp_regs, regdata, in max6697_read()
208 *val = (((regdata[0] - data->temp_offset) << 3) | (regdata[1] >> 5)) * 125; in max6697_read()
229 ret = regmap_multi_reg_read(regmap, offset_regs, regdata, 2); in max6697_read()
233 if (!(regdata[0] & BIT(channel - 1))) in max6697_read()
234 regdata[1] = 0; in max6697_read()
236 *val = sign_extend32(regdata[1], 7) * 250; in max6697_read()
H A Dmax1619.c41 u8 regdata[2]; in get_alarms() local
44 ret = regmap_multi_reg_read(regmap, regs, regdata, 2); in get_alarms()
49 if (!(regdata[1] & 0x20)) in get_alarms()
50 regdata[0] ^= 0x02; in get_alarms()
52 return regdata[0] & 0x1e; in get_alarms()
H A Dadt7x10.c175 u16 regdata[2]; in adt7x10_hyst_read() local
177 ret = regmap_multi_reg_read(data->regmap, regs, regdata, 2); in adt7x10_hyst_read()
181 hyst = (regdata[0] & ADT7X10_T_HYST_MASK) * 1000; in adt7x10_hyst_read()
191 *val = ADT7X10_REG_TO_TEMP(data, regdata[1]) - hyst; in adt7x10_hyst_read()
/linux/drivers/media/i2c/ccs/
H A Dccs-reg-access.c240 unsigned char *regdata = regs->value; in ccs_write_data_regs() local
244 for (j = 0; j < regs->len; j += len, regdata += len) { in ccs_write_data_regs()
252 bin2hex(printbuf, regdata, len); in ccs_write_data_regs()
260 regdata, len); in ccs_write_data_regs()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_common_drv.h165 unsigned short reg_num, unsigned int regdata);
169 unsigned short reg_num, unsigned int regdata);
173 unsigned short reg_num, unsigned int regdata);
176 unsigned short reg_num, unsigned int regdata);
/linux/drivers/gpu/drm/amd/amdgpu/
H A Daqua_vanjaram.c843 struct amdgpu_smn_reg_data *regdata, in aqua_read_smn() argument
846 regdata->addr = smn_addr; in aqua_read_smn()
847 regdata->value = RREG32_PCIE(smn_addr); in aqua_read_smn()
859 struct amdgpu_smn_reg_data *regdata, in aqua_read_smn_ext() argument
862 regdata->addr = in aqua_read_smn_ext()
864 regdata->value = RREG32_PCIE_EXT(regdata->addr); in aqua_read_smn_ext()
/linux/include/sound/
H A Dtas2781-dsp.h162 unsigned char *regdata; member
/linux/drivers/ata/pata_parport/
H A Dbpck6.c372 static void bpck6_wr_extout(struct pi_adapter *pi, u8 regdata) in bpck6_wr_extout() argument
375 bpck6_wr_data_byte(pi, (u8)((regdata & 0x03) << 6)); in bpck6_wr_extout()
/linux/sound/soc/codecs/
H A Dpcm6240.h194 unsigned char *regdata; member
H A Dpcm6240.c1323 bk_da[i]->regdata = kmemdup(&config_data[config_offset], in pcmdevice_add_config()
1325 if (!bk_da[i]->regdata) { in pcmdevice_add_config()
1460 kfree(cfg_info[i]->blk_data[j]->regdata); in pcmdevice_config_info_remove()
1867 blk_data[j]->regdata + length, in pcmdevice_select_cfg_blk()
H A Dtas2781-fmwlib.c252 bk_da[i]->regdata = kmemdup(&config_data[config_offset], in tasdevice_add_config()
254 if (!bk_da[i]->regdata) { in tasdevice_add_config()
848 blk_data[j]->regdata + length, in tasdevice_select_cfg_blk()
2125 kfree(ci[i]->blk_data[j]->regdata); in tasdevice_config_info_remove()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad.c3740 kfree(bnad->regdata); in bnad_pci_probe()
3786 kfree(bnad->regdata); in bnad_pci_remove()