/linux/sound/pci/cs5535audio/ |
H A D | cs5535audio.c | 80 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 D | chip.c | 244 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 D | bfad_debugfs.c | 222 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 D | s921.c | 68 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 D | mb86a20s.c | 47 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 D | si21xx.c | 842 u8 regdata; in si21xx_sleep() local 846 si21_readregs(state, SYSTEM_MODE_REG, ®data, 0x01); in si21xx_sleep() 847 regdata |= 1 << 6; in si21xx_sleep() 848 si21_writeregs(state, SYSTEM_MODE_REG, ®data, 0x01); in si21xx_sleep()
|
/linux/drivers/hwmon/ |
H A D | max6697.c | 198 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 D | max1619.c | 41 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 D | adt7x10.c | 175 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 D | ccs-reg-access.c | 240 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 D | adf_common_drv.h | 165 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 D | aqua_vanjaram.c | 843 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 D | tas2781-dsp.h | 162 unsigned char *regdata; member
|
/linux/drivers/ata/pata_parport/ |
H A D | bpck6.c | 372 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 D | pcm6240.h | 194 unsigned char *regdata; member
|
H A D | pcm6240.c | 1323 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 D | tas2781-fmwlib.c | 252 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 D | bnad.c | 3740 kfree(bnad->regdata); in bnad_pci_probe() 3786 kfree(bnad->regdata); in bnad_pci_remove()
|