Home
last modified time | relevance | path

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

/linux/drivers/soc/fsl/qe/
A Dqe_io.c51 u32 tmp_val; in __par_io_config_pin() local
57 tmp_val = ioread32be(&par_io->cpodr); in __par_io_config_pin()
59 iowrite32be(pin_mask1bit | tmp_val, &par_io->cpodr); in __par_io_config_pin()
64 tmp_val = (pin > (QE_PIO_PINS / 2) - 1) ? in __par_io_config_pin()
79 tmp_val &= ~pin_mask2bits; in __par_io_config_pin()
83 tmp_val &= ~pin_mask2bits; in __par_io_config_pin()
87 tmp_val = (pin > (QE_PIO_PINS / 2) - 1) ? in __par_io_config_pin()
96 tmp_val &= ~pin_mask2bits; in __par_io_config_pin()
100 tmp_val &= ~pin_mask2bits; in __par_io_config_pin()
120 u32 pin_mask, tmp_val; in par_io_data_set() local
[all …]
/linux/drivers/gpu/drm/sti/
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/
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/
A Drtc-rx8581.c213 unsigned int tmp_val; in rx85x1_nvram_read() local
216 ret = regmap_read(rx8581->regmap, RX8581_REG_RAM, &tmp_val); in rx85x1_nvram_read()
217 (*(unsigned char *)val) = (unsigned char) tmp_val; in rx85x1_nvram_read()
226 unsigned char tmp_val; in rx85x1_nvram_write() local
228 tmp_val = *((unsigned char *)val); in rx85x1_nvram_write()
230 (unsigned int)tmp_val); in rx85x1_nvram_write()
A Drtc-pcf85363.c315 unsigned int tmp_val; in pcf85x63_nvram_read() local
318 ret = regmap_read(pcf85363->regmap, CTRL_RAMBYTE, &tmp_val); in pcf85x63_nvram_read()
319 (*(unsigned char *) val) = (unsigned char) tmp_val; in pcf85x63_nvram_read()
328 unsigned char tmp_val; in pcf85x63_nvram_write() local
330 tmp_val = *((unsigned char *)val); in pcf85x63_nvram_write()
332 (unsigned int)tmp_val); in pcf85x63_nvram_write()
/linux/drivers/pinctrl/ti/
A Dpinctrl-ti-iodelay.c216 u32 reg_mask, reg_val, tmp_val; in ti_iodelay_pinconf_set() local
239 tmp_val = c_elements << __ffs(reg->binary_data_coarse_mask); in ti_iodelay_pinconf_set()
240 if (tmp_val & ~reg->binary_data_coarse_mask) { in ti_iodelay_pinconf_set()
242 tmp_val); in ti_iodelay_pinconf_set()
243 tmp_val &= reg->binary_data_coarse_mask; in ti_iodelay_pinconf_set()
245 reg_val |= tmp_val; in ti_iodelay_pinconf_set()
248 tmp_val = f_elements << __ffs(reg->binary_data_fine_mask); in ti_iodelay_pinconf_set()
249 if (tmp_val & ~reg->binary_data_fine_mask) { in ti_iodelay_pinconf_set()
251 tmp_val); in ti_iodelay_pinconf_set()
252 tmp_val &= reg->binary_data_fine_mask; in ti_iodelay_pinconf_set()
[all …]
/linux/drivers/pci/controller/
A Dpci-thunder-pem.c40 u64 read_val, tmp_val; in thunder_pem_bridge_read() local
85 tmp_val = readq(pem_pci->pem_reg_base + PEM_CFG_RD); in thunder_pem_bridge_read()
86 tmp_val >>= 32; in thunder_pem_bridge_read()
87 if (!(tmp_val & (0x1f << 25))) in thunder_pem_bridge_read()
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_iter_bpf_hash_map.c51 __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/drivers/vfio/pci/
A Dvfio_pci_config.c126 u32 tmp_val = 0; in vfio_user_config_read() local
133 tmp_val = tmp; in vfio_user_config_read()
140 tmp_val = tmp; in vfio_user_config_read()
144 ret = pci_user_read_config_dword(pdev, offset, &tmp_val); in vfio_user_config_read()
148 *val = cpu_to_le32(tmp_val); in vfio_user_config_read()
157 u32 tmp_val = le32_to_cpu(val); in vfio_user_config_write() local
161 ret = pci_user_write_config_byte(pdev, offset, tmp_val); in vfio_user_config_write()
164 ret = pci_user_write_config_word(pdev, offset, tmp_val); in vfio_user_config_write()
529 u32 tmp_val = le32_to_cpu(*val); in vfio_basic_config_read() local
531 tmp_val |= cmd & PCI_COMMAND_MEMORY; in vfio_basic_config_read()
[all …]
/linux/net/netlabel/
A Dnetlabel_mgmt.c86 u32 tmp_val; in netlbl_mgmt_add_common() local
120 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CV4DOI]); in netlbl_mgmt_add_common()
121 cipsov4 = cipso_v4_doi_getdef(tmp_val); in netlbl_mgmt_add_common()
132 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CLPDOI]); in netlbl_mgmt_add_common()
133 calipso = calipso_doi_getdef(tmp_val); in netlbl_mgmt_add_common()
/linux/drivers/regulator/
A Dmax8997-regulator.c621 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/drivers/video/fbdev/intelfb/
A Dintelfbhw.c1287 u32 count, tmp_val[3]; in intelfbhw_program_mode() local
1359 tmp_val[count % 3] = INREG(PIPEA_DSL); in intelfbhw_program_mode()
1360 if ((tmp_val[0] == tmp_val[1]) && (tmp_val[1] == tmp_val[2])) in intelfbhw_program_mode()
/linux/drivers/iio/adc/
A Dat91-sama5d2_adc.c1529 u16 tmp_val; in at91_adc_read_info_raw() local
1543 &tmp_val); in at91_adc_read_info_raw()
1544 *val = tmp_val; in at91_adc_read_info_raw()
1557 &tmp_val); in at91_adc_read_info_raw()
1558 *val = tmp_val; in at91_adc_read_info_raw()
/linux/drivers/staging/rtl8192e/rtl8192e/
A Dr8192E_dev.c1681 u32 ij, tmp_val; in _rtl92e_process_phyinfo() local
1711 tmp_val = priv->stats.slide_rssi_total/slide_rssi_statistics; in _rtl92e_process_phyinfo()
1713 (u8)tmp_val); in _rtl92e_process_phyinfo()
1821 tmp_val = priv->stats.slide_evm_total / in _rtl92e_process_phyinfo()
1823 priv->stats.signal_quality = tmp_val; in _rtl92e_process_phyinfo()
1824 priv->stats.last_signal_strength_inpercent = tmp_val; in _rtl92e_process_phyinfo()
/linux/drivers/staging/rtl8712/
A Drtl8712_recv.c893 u32 last_rssi, tmp_val; in process_rssi() local
906 tmp_val = ssd->total_val / ssd->total_num; in process_rssi()
907 padapter->recvpriv.rssi = (s8)translate2dbm(padapter, (u8)tmp_val); in process_rssi()
/linux/tools/perf/util/
A Ddata-convert-bt.c314 unsigned long long tmp_val; in add_tracepoint_field_value() local
316 tmp_val = tep_read_number(fmtf->event->tep, in add_tracepoint_field_value()
318 offset = tmp_val; in add_tracepoint_field_value()
/linux/drivers/net/ethernet/freescale/fman/
A Dfman_port.c994 u32 tmp_val; in init_low_level_driver() local
1004 tmp_val = (u32)((port->internal_buf_offset % OFFSET_UNITS) ? in init_low_level_driver()
1007 port->internal_buf_offset = (u8)(tmp_val * OFFSET_UNITS); in init_low_level_driver()
/linux/drivers/staging/rtl8192u/
A Dr8192U_core.c3745 u32 nspatial_stream, tmp_val; in rtl8192_process_phyinfo() local
3783 tmp_val = priv->stats.slide_rssi_total / slide_rssi_statistics; in rtl8192_process_phyinfo()
3784 priv->stats.signal_strength = rtl819x_translate_todbm((u8)tmp_val); in rtl8192_process_phyinfo()
3899 tmp_val = priv->stats.slide_evm_total / in rtl8192_process_phyinfo()
3901 priv->stats.signal_quality = tmp_val; in rtl8192_process_phyinfo()
3905 priv->stats.last_signal_strength_inpercent = tmp_val; in rtl8192_process_phyinfo()
/linux/virt/kvm/
A Dkvm_main.c5190 u64 tmp_val; in vm_stat_get() local
5195 kvm_get_stat_per_vm(kvm, offset, &tmp_val); in vm_stat_get()
5196 *val += tmp_val; in vm_stat_get()
5226 u64 tmp_val; in vcpu_stat_get() local
5231 kvm_get_stat_per_vcpu(kvm, offset, &tmp_val); in vcpu_stat_get()
5232 *val += tmp_val; in vcpu_stat_get()
/linux/drivers/media/dvb-frontends/
A Ddib7000p.c2150 u32 tmp_val = 0, exp = 0, mant = 0; in dib7000p_get_adc_power() local
2160 tmp_val = pow_i; in dib7000p_get_adc_power()
2161 while (tmp_val >>= 1) in dib7000p_get_adc_power()
A Ddib8000.c1924 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()
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_link.c12889 u32 lfa_sts, cfg_idx, tmp_val; in bnx2x_cannot_avoid_link_flap() local
12916 tmp_val = REG_RD(bp, params->lfa_base + in bnx2x_cannot_avoid_link_flap()
12918 tmp_val &= ~REQ_FC_AUTO_ADV_MASK; in bnx2x_cannot_avoid_link_flap()
12919 tmp_val |= params->req_fc_auto_adv; in bnx2x_cannot_avoid_link_flap()
12922 offsetof(struct shmem_lfa, additional_config), tmp_val); in bnx2x_cannot_avoid_link_flap()

Completed in 95 milliseconds