| /linux-6.15/drivers/soc/fsl/qe/ |
| H A D | qe_io.c | 53 u32 tmp_val; in __par_io_config_pin() local 59 tmp_val = ioread32be(&par_io->cpodr); in __par_io_config_pin() 61 iowrite32be(pin_mask1bit | tmp_val, &par_io->cpodr); in __par_io_config_pin() 66 tmp_val = (pin > (QE_PIO_PINS / 2) - 1) ? in __par_io_config_pin() 81 tmp_val &= ~pin_mask2bits; in __par_io_config_pin() 85 tmp_val &= ~pin_mask2bits; in __par_io_config_pin() 89 tmp_val = (pin > (QE_PIO_PINS / 2) - 1) ? in __par_io_config_pin() 98 tmp_val &= ~pin_mask2bits; in __par_io_config_pin() 102 tmp_val &= ~pin_mask2bits; in __par_io_config_pin() 122 u32 pin_mask, tmp_val; in par_io_data_set() local [all …]
|
| /linux-6.15/drivers/gpu/drm/sti/ |
| H A D | sti_awg_utils.c | 158 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-6.15/drivers/rtc/ |
| H A D | rtc-rx8581.c | 203 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 D | rtc-pcf85363.c | 344 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-6.15/drivers/xen/xen-pciback/ |
| H A D | conf_space.c | 157 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-6.15/drivers/pinctrl/ti/ |
| H A D | pinctrl-ti-iodelay.c | 219 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 &= reg->binary_data_fine_mask; in ti_iodelay_pinconf_set() [all …]
|
| /linux-6.15/sound/pci/hda/ |
| H A D | tas2781_hda_spi.c | 804 unsigned int attr, crc, offset, *tmp_val; in tas2781_save_calibration() local 820 tmp_val = (unsigned int *)data; in tas2781_save_calibration() 821 if (tmp_val[0] == 2781) { in tas2781_save_calibration() 846 crc = crc32(~0, data, (3 + tmp_val[1] * 6) * 4) ^ ~0; in tas2781_save_calibration() 848 if (crc != tmp_val[3 + tmp_val[1] * 6]) in tas2781_save_calibration() 851 for (int j = 0; j < tmp_val[1]; j++) { in tas2781_save_calibration() 853 if (tmp_val[offset] == tas_priv->index) { in tas2781_save_calibration() 856 tmp_val[offset + i + 1]; in tas2781_save_calibration() 857 } else if (tmp_val[offset] == in tas2781_save_calibration() 882 if (crc == tmp_val[21]) { in tas2781_save_calibration() [all …]
|
| H A D | tas2781_hda_i2c.c | 608 unsigned int *tmp_val; in tas2781_save_calibration() local 634 tmp_val = (unsigned int *)tas_priv->cali_data.data; in tas2781_save_calibration() 638 crc, tmp_val[21]); in tas2781_save_calibration() 640 if (crc == tmp_val[21]) { in tas2781_save_calibration() 641 time64_t seconds = tmp_val[20]; in tas2781_save_calibration()
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_iter_bpf_hash_map.c | 51 __u64 tmp_val = 0; in dump_bpf_hash_map() local 71 ret = bpf_map_update_elem(&hashmap1, &tmp_key, &tmp_val, 0); in dump_bpf_hash_map()
|
| /linux-6.15/drivers/pci/controller/ |
| H A D | pci-thunder-pem.c | 40 u64 read_val, tmp_val; in thunder_pem_bridge_read() local 83 tmp_val = readq(pem_pci->pem_reg_base + PEM_CFG_RD); in thunder_pem_bridge_read() 84 tmp_val >>= 32; in thunder_pem_bridge_read() 85 if (!(tmp_val & (0x1f << 25))) in thunder_pem_bridge_read()
|
| /linux-6.15/drivers/iio/dac/ |
| H A D | ad3552r.c | 149 u16 tmp_val; in ad3552r_read_raw() local 157 &tmp_val); in ad3552r_read_raw() 161 *val = tmp_val; in ad3552r_read_raw() 166 &tmp_val); in ad3552r_read_raw() 170 *val = !((tmp_val & AD3552R_MASK_CH_DAC_POWERDOWN(ch)) >> in ad3552r_read_raw()
|
| /linux-6.15/net/netlabel/ |
| H A D | netlabel_mgmt.c | 86 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-6.15/drivers/remoteproc/ |
| H A D | imx_dsp_rproc.c | 797 u32 tmp_val = value; in imx_dsp_rproc_memset() local 806 tmp_val |= tmp_val << 8; in imx_dsp_rproc_memset() 807 tmp_val |= tmp_val << 16; in imx_dsp_rproc_memset() 813 writel(tmp_val, tmp_dst++); in imx_dsp_rproc_memset() 826 tmp |= (tmp_val & affected_mask); in imx_dsp_rproc_memset()
|
| /linux-6.15/drivers/vfio/pci/ |
| H A D | vfio_pci_config.c | 127 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() 537 u32 tmp_val = le32_to_cpu(*val); in vfio_basic_config_read() local 539 tmp_val |= cmd & PCI_COMMAND_MEMORY; in vfio_basic_config_read() [all …]
|
| /linux-6.15/drivers/vfio/pci/nvgrace-gpu/ |
| H A D | main.c | 311 u64 tmp_val; in nvgrace_gpu_get_read_value() local 313 tmp_val = le64_to_cpu(val64); in nvgrace_gpu_get_read_value() 314 tmp_val &= ~(bar_size - 1); in nvgrace_gpu_get_read_value() 315 tmp_val |= flags; in nvgrace_gpu_get_read_value() 317 return cpu_to_le64(tmp_val); in nvgrace_gpu_get_read_value()
|
| /linux-6.15/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_gen4_hw_data.c | 529 u32 val, tmp_val, i; in bank_state_restore() local 615 tmp_val = ops->read_csr_exp_stat(base, bank); in bank_state_restore() 617 if (tmp_val && !val) { in bank_state_restore()
|
| /linux-6.15/drivers/regulator/ |
| H A D | max8997-regulator.c | 621 int new_val, new_idx, damage, tmp_val, tmp_idx, tmp_dmg; in max8997_set_voltage_buck() local 653 tmp_val = -1; in max8997_set_voltage_buck() 661 tmp_val = new_val; in max8997_set_voltage_buck() 669 new_val = tmp_val; in max8997_set_voltage_buck()
|
| /linux-6.15/arch/riscv/kernel/ |
| H A D | traps_misaligned.c | 653 unsigned long tmp_var, tmp_val; in check_unaligned_access_emulated() local 659 : [tmp] "=r" (tmp_val) : [ptr] "r" (&tmp_var) : "memory"); in check_unaligned_access_emulated()
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | cow.c | 581 __u64 tmp_val; in do_test_ro_pin() local 677 tmp_val = (__u64)(uintptr_t)tmp; in do_test_ro_pin() 678 ret = ioctl(gup_fd, PIN_LONGTERM_TEST_READ, &tmp_val); in do_test_ro_pin()
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | at91-sama5d2_adc.c | 1751 u16 tmp_val; in at91_adc_read_info_raw() local 1764 &tmp_val); in at91_adc_read_info_raw() 1765 *val = tmp_val; in at91_adc_read_info_raw() 1773 &tmp_val); in at91_adc_read_info_raw() 1774 *val = tmp_val; in at91_adc_read_info_raw()
|
| /linux-6.15/tools/perf/util/ |
| H A D | data-convert-bt.c | 318 unsigned long long tmp_val; in add_tracepoint_field_value() local 320 tmp_val = tep_read_number(fmtf->event->tep, in add_tracepoint_field_value() 322 offset = tmp_val; in add_tracepoint_field_value()
|
| /linux-6.15/drivers/net/ethernet/freescale/fman/ |
| H A D | fman_port.c | 968 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-6.15/virt/kvm/ |
| H A D | kvm_main.c | 6118 u64 tmp_val; in vm_stat_get() local 6123 kvm_get_stat_per_vm(kvm, offset, &tmp_val); in vm_stat_get() 6124 *val += tmp_val; in vm_stat_get() 6154 u64 tmp_val; in vcpu_stat_get() local 6159 kvm_get_stat_per_vcpu(kvm, offset, &tmp_val); in vcpu_stat_get() 6160 *val += tmp_val; in vcpu_stat_get()
|
| /linux-6.15/drivers/media/dvb-frontends/ |
| H A D | dib7000p.c | 2145 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()
|
| H A D | dib8000.c | 1924 u32 ix = 0, tmp_val = 0, exp = 0, mant = 0; in dib8000_get_adc_power() local 1929 tmp_val = val; in dib8000_get_adc_power() 1930 while (tmp_val >>= 1) in dib8000_get_adc_power()
|