Home
last modified time | relevance | path

Searched refs:tmp_val (Results 1 – 19 of 19) sorted by relevance

/linux/sound/hda/codecs/side-codecs/
H A Dtas2781_hda.c83 unsigned int *tmp_val = (unsigned int *)data; in tas2781_apply_calib()
96 if (tmp_val[0] == 2781) { in tas2781_apply_calib()
121 crc = crc32(~0, data, (3 + tmp_val[1] * 6) * 4) ^ ~0; in tas2781_apply_calib()
123 if (crc != tmp_val[3 + tmp_val[1] * 6]) { in tas2781_apply_calib()
128 node_num = tmp_val[1]; in tas2781_apply_calib()
132 if (tmp_val[oft] == TASDEV_UEFI_CALI_REG_ADDR_FLG) { in tas2781_apply_calib()
168 if (crc != tmp_val[21]) { in tas2781_apply_calib()
174 if (!tmp_val[20] && !tmp_val[2 in tas2781_apply_calib()
58 unsigned int *tmp_val = (unsigned int *)data; tas2781_apply_calib() local
[all...]
/linux/drivers/gpu/drm/sti/
H A Dsti_awg_utils.c158 long int val, tmp_val; in sti_awg_generate_code_data_enable_mode() local
170 tmp_val = timing->active_lines - 1; in sti_awg_generate_code_data_enable_mode()
172 while (tmp_val > 0) { in sti_awg_generate_code_data_enable_mode()
177 min_t(int, AWG_MAX_ARG, tmp_val), in sti_awg_generate_code_data_enable_mode()
179 tmp_val -= AWG_MAX_ARG; in sti_awg_generate_code_data_enable_mode()
/linux/drivers/xen/xen-pciback/
H A Dconf_space.c157 u32 value = 0, tmp_val; in xen_pcibk_config_read() local
187 &tmp_val); in xen_pcibk_config_read()
191 value = merge_value(value, tmp_val, in xen_pcibk_config_read()
210 u32 tmp_val; in xen_pcibk_config_write() local
227 &tmp_val); in xen_pcibk_config_write()
231 tmp_val = merge_value(tmp_val, value, get_mask(size), in xen_pcibk_config_write()
235 tmp_val); in xen_pcibk_config_write()
/linux/drivers/rtc/
H A Drtc-rx8581.c203 unsigned int tmp_val; in rx85x1_nvram_read() local
206 ret = regmap_read(regmap, RX8581_REG_RAM, &tmp_val); in rx85x1_nvram_read()
207 (*(unsigned char *)val) = (unsigned char) tmp_val; in rx85x1_nvram_read()
216 unsigned char tmp_val; in rx85x1_nvram_write() local
218 tmp_val = *((unsigned char *)val); in rx85x1_nvram_write()
219 return regmap_write(regmap, RX8581_REG_RAM, (unsigned int)tmp_val); in rx85x1_nvram_write()
H A Drtc-pcf85363.c344 unsigned int tmp_val; in pcf85x63_nvram_read() local
347 ret = regmap_read(pcf85363->regmap, CTRL_RAMBYTE, &tmp_val); in pcf85x63_nvram_read()
348 (*(unsigned char *) val) = (unsigned char) tmp_val; in pcf85x63_nvram_read()
357 unsigned char tmp_val; in pcf85x63_nvram_write() local
359 tmp_val = *((unsigned char *)val); in pcf85x63_nvram_write()
361 (unsigned int)tmp_val); in pcf85x63_nvram_write()
/linux/drivers/pinctrl/ti/
H A Dpinctrl-ti-iodelay.c219 u32 reg_mask, reg_val, tmp_val; in ti_iodelay_pinconf_set() local
242 tmp_val = c_elements << __ffs(reg->binary_data_coarse_mask); in ti_iodelay_pinconf_set()
243 if (tmp_val & ~reg->binary_data_coarse_mask) { in ti_iodelay_pinconf_set()
245 tmp_val); in ti_iodelay_pinconf_set()
246 tmp_val &= reg->binary_data_coarse_mask; in ti_iodelay_pinconf_set()
248 reg_val |= tmp_val; in ti_iodelay_pinconf_set()
251 tmp_val = f_elements << __ffs(reg->binary_data_fine_mask); in ti_iodelay_pinconf_set()
252 if (tmp_val & ~reg->binary_data_fine_mask) { in ti_iodelay_pinconf_set()
254 tmp_val); in ti_iodelay_pinconf_set()
255 tmp_val in ti_iodelay_pinconf_set()
[all...]
/linux/drivers/iio/dac/
H A Dmcp47feb02.c
/linux/drivers/spi/
H A Dspi-dw-core.c1236 u32 tmp_val, frf_shift; in dw_spi_hw_init()
1251 tmp_val = DW_SPI_CTRLR0_SPI_FRF_DUAL_SPI << frf_shift; in dw_spi_hw_init()
1252 dw_writel(dws, DW_SPI_CTRLR0, tmp_val); in dw_spi_hw_init()
1253 if ((tmp_val & dw_readl(dws, DW_SPI_CTRLR0)) == tmp_val) in dw_spi_hw_init()
1257 tmp_val = DW_SPI_CTRLR0_SPI_FRF_QUAD_SPI << frf_shift; in dw_spi_hw_init()
1258 dw_writel(dws, DW_SPI_CTRLR0, tmp_val); in dw_spi_hw_init()
1259 if ((tmp_val & dw_readl(dws, DW_SPI_CTRLR0)) == tmp_val) in dw_spi_hw_init()
1263 tmp_val in dw_spi_hw_init()
1139 u32 tmp_val, frf_shift; detect_enh_mode() local
[all...]
/linux/drivers/pci/controller/
H A Dpci-thunder-pem.c41 u64 read_val, tmp_val; in thunder_pem_bridge_read() local
84 tmp_val = readq(pem_pci->pem_reg_base + PEM_CFG_RD); in thunder_pem_bridge_read()
85 tmp_val >>= 32; in thunder_pem_bridge_read()
86 if (!(tmp_val & (0x1f << 25))) in thunder_pem_bridge_read()
/linux/drivers/vfio/pci/
H A Dvfio_pci_config.c127 u32 tmp_val = 0; in vfio_user_config_read() local
134 tmp_val = tmp; in vfio_user_config_read()
141 tmp_val = tmp; in vfio_user_config_read()
145 ret = pci_user_read_config_dword(pdev, offset, &tmp_val); in vfio_user_config_read()
149 *val = cpu_to_le32(tmp_val); in vfio_user_config_read()
158 u32 tmp_val = le32_to_cpu(val); in vfio_user_config_write() local
162 ret = pci_user_write_config_byte(pdev, offset, tmp_val); in vfio_user_config_write()
165 ret = pci_user_write_config_word(pdev, offset, tmp_val); in vfio_user_config_write()
168 ret = pci_user_write_config_dword(pdev, offset, tmp_val); in vfio_user_config_write()
538 u32 tmp_val = le32_to_cpu(*val); in vfio_basic_config_read() local
[all …]
/linux/sound/soc/codecs/
H A Dtas2783-sdw.c571 u32 *tmp_val;
575 tmp_val = (u32 *)data;
576 if (tmp_val[i++] != 2783) {
581 spk_count = tmp_val[i++];
587 ts = tmp_val[i++]; in tas2783_digital_getvol()
607 crc_read = tmp_val[(size_calculated - TAS2783_CALIB_CRC_SZ) / sizeof(u32)];
669 u32 attr, i, *tmp_val; in tas2783_set_calib_params_to_device()
676 tmp_val = (u32 *)tas_dev->cali_data.data; in tas2783_set_calib_params_to_device()
714 tas2783_set_calib_params_to_device(tas_dev, tmp_val); in tas2783_update_calibdata()
621 u32 *tmp_val; tas2783_validate_calibdata() local
706 u32 attr, i, *tmp_val; tas2783_update_calibdata() local
/linux/net/netlabel/
H A Dnetlabel_mgmt.c86 u32 tmp_val; in netlbl_mgmt_add_common() local
118 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CV4DOI]); in netlbl_mgmt_add_common()
119 cipsov4 = cipso_v4_doi_getdef(tmp_val); in netlbl_mgmt_add_common()
130 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CLPDOI]); in netlbl_mgmt_add_common()
131 calipso = calipso_doi_getdef(tmp_val); in netlbl_mgmt_add_common()
/linux/drivers/iio/adc/
H A Dat91-sama5d2_adc.c1734 u16 tmp_val; in at91_adc_read_info_raw() local
1747 &tmp_val); in at91_adc_read_info_raw()
1748 *val = tmp_val; in at91_adc_read_info_raw()
1756 &tmp_val); in at91_adc_read_info_raw()
1757 *val = tmp_val; in at91_adc_read_info_raw()
/linux/tools/testing/selftests/mm/
H A Dcow.c607 __u64 tmp_val; in do_test_ro_pin()
709 tmp_val = (__u64)(uintptr_t)tmp; in do_test_ro_pin()
710 ret = ioctl(gup_fd, PIN_LONGTERM_TEST_READ, &tmp_val); in do_test_ro_pin()
608 __u64 tmp_val; do_test_ro_pin() local
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_port.c968 u32 tmp_val; in init_low_level_driver() local
978 tmp_val = (u32)((port->internal_buf_offset % OFFSET_UNITS) ? in init_low_level_driver()
981 port->internal_buf_offset = (u8)(tmp_val * OFFSET_UNITS); in init_low_level_driver()
/linux/tools/perf/util/
H A Ddata-convert-bt.c324 unsigned long long tmp_val; in add_tracepoint_field_value()
326 tmp_val = tep_read_number(fmtf->event->tep, in add_tracepoint_field_value()
328 offset = tmp_val; in add_tracepoint_field_value()
325 unsigned long long tmp_val; add_tracepoint_field_value() local
/linux/virt/kvm/
H A Dkvm_main.c6341 u64 tmp_val; in kvm_uevent_notify_change()
6346 kvm_get_stat_per_vm(kvm, offset, &tmp_val); in kvm_uevent_notify_change()
6347 *val += tmp_val; in kvm_uevent_notify_change()
6377 u64 tmp_val; in kvm_init_debug()
6382 kvm_get_stat_per_vcpu(kvm, offset, &tmp_val); in kvm_init_debug()
6383 *val += tmp_val; in kvm_init_debug()
6249 u64 tmp_val; vm_stat_get() local
6285 u64 tmp_val; vcpu_stat_get() local
/linux/drivers/media/dvb-frontends/
H A Ddib7000p.c2145 u32 tmp_val = 0, exp = 0, mant = 0; in dib7000p_get_adc_power() local
2155 tmp_val = pow_i; in dib7000p_get_adc_power()
2156 while (tmp_val >>= 1) in dib7000p_get_adc_power()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c12891 u32 lfa_sts, cfg_idx, tmp_val; in bnx2x_cannot_avoid_link_flap() local
12918 tmp_val = REG_RD(bp, params->lfa_base + in bnx2x_cannot_avoid_link_flap()
12920 tmp_val &= ~REQ_FC_AUTO_ADV_MASK; in bnx2x_cannot_avoid_link_flap()
12921 tmp_val |= params->req_fc_auto_adv; in bnx2x_cannot_avoid_link_flap()
12924 offsetof(struct shmem_lfa, additional_config), tmp_val); in bnx2x_cannot_avoid_link_flap()