/linux-4.1.27/arch/powerpc/sysdev/qe_lib/ |
D | qe_io.c | 58 u32 tmp_val; in __par_io_config_pin() local 64 tmp_val = in_be32(&par_io->cpodr); in __par_io_config_pin() 66 out_be32(&par_io->cpodr, pin_mask1bit | tmp_val); in __par_io_config_pin() 68 out_be32(&par_io->cpodr, ~pin_mask1bit & tmp_val); in __par_io_config_pin() 71 tmp_val = (pin > (QE_PIO_PINS / 2) - 1) ? in __par_io_config_pin() 86 ~pin_mask2bits & tmp_val); in __par_io_config_pin() 87 tmp_val &= ~pin_mask2bits; in __par_io_config_pin() 88 out_be32(&par_io->cpdir2, new_mask2bits | tmp_val); in __par_io_config_pin() 91 ~pin_mask2bits & tmp_val); in __par_io_config_pin() 92 tmp_val &= ~pin_mask2bits; in __par_io_config_pin() [all …]
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
D | conf_space.c | 154 u32 value = 0, tmp_val; in xen_pcibk_config_read() local 189 &tmp_val); in xen_pcibk_config_read() 193 value = merge_value(value, tmp_val, in xen_pcibk_config_read() 214 u32 tmp_val; in xen_pcibk_config_write() local 235 tmp_val = 0; in xen_pcibk_config_write() 238 field->size, &tmp_val); in xen_pcibk_config_write() 242 tmp_val = merge_value(tmp_val, value, get_mask(size), in xen_pcibk_config_write() 246 tmp_val); in xen_pcibk_config_write()
|
/linux-4.1.27/drivers/media/tuners/ |
D | fc2580.c | 146 u8 tmp_val, r18_val; in fc2580_set_params() local 177 tmp_val = 0x0e | fc2580_pll_lut[i].band; in fc2580_set_params() 179 tmp_val = 0x06 | fc2580_pll_lut[i].band; in fc2580_set_params() 181 ret = fc2580_wr_reg(priv, 0x02, tmp_val); in fc2580_set_params() 224 tmp_val = 0x9f; in fc2580_set_params() 226 tmp_val = 0x8f; in fc2580_set_params() 228 ret = fc2580_wr_reg(priv, 0x2d, tmp_val); in fc2580_set_params() 366 ret = fc2580_rd_reg(priv, 0x2f, &tmp_val); in fc2580_set_params() 371 if ((tmp_val & 0xc0) == 0xc0) in fc2580_set_params()
|
/linux-4.1.27/drivers/vfio/pci/ |
D | vfio_pci_config.c | 132 u32 tmp_val = 0; in vfio_user_config_read() local 139 tmp_val = tmp; in vfio_user_config_read() 146 tmp_val = tmp; in vfio_user_config_read() 150 ret = pci_user_read_config_dword(pdev, offset, &tmp_val); in vfio_user_config_read() 154 *val = cpu_to_le32(tmp_val); in vfio_user_config_read() 163 u32 tmp_val = le32_to_cpu(val); in vfio_user_config_write() local 167 ret = pci_user_write_config_byte(pdev, offset, tmp_val); in vfio_user_config_write() 170 ret = pci_user_write_config_word(pdev, offset, tmp_val); in vfio_user_config_write() 173 ret = pci_user_write_config_dword(pdev, offset, tmp_val); in vfio_user_config_write() 483 u32 tmp_val = le32_to_cpu(*val); in vfio_basic_config_read() local [all …]
|
/linux-4.1.27/net/netlabel/ |
D | netlabel_mgmt.c | 98 u32 tmp_val; in netlbl_mgmt_add_common() local 127 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CV4DOI]); in netlbl_mgmt_add_common() 128 cipsov4 = cipso_v4_doi_getdef(tmp_val); in netlbl_mgmt_add_common()
|
/linux-4.1.27/tools/perf/util/ |
D | data-convert-bt.c | 181 unsigned long long tmp_val; in add_tracepoint_field_value() local 183 tmp_val = pevent_read_number(fmtf->event->pevent, in add_tracepoint_field_value() 185 offset = tmp_val; in add_tracepoint_field_value()
|
/linux-4.1.27/drivers/regulator/ |
D | max8997.c | 639 int new_val, new_idx, damage, tmp_val, tmp_idx, tmp_dmg; in max8997_set_voltage_buck() local 671 tmp_val = -1; in max8997_set_voltage_buck() 679 tmp_val = new_val; in max8997_set_voltage_buck() 687 new_val = tmp_val; in max8997_set_voltage_buck()
|
/linux-4.1.27/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 1290 u32 count, tmp_val[3]; in intelfbhw_program_mode() local 1362 tmp_val[count % 3] = INREG(PIPEA_DSL); in intelfbhw_program_mode() 1363 if ((tmp_val[0] == tmp_val[1]) && (tmp_val[1] == tmp_val[2])) in intelfbhw_program_mode()
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 1695 u32 ij, tmp_val; in rtl8192_process_phyinfo() local 1726 tmp_val = priv->stats.slide_rssi_total/slide_rssi_statistics; in rtl8192_process_phyinfo() 1728 (u8)tmp_val); in rtl8192_process_phyinfo() 1839 tmp_val = priv->stats.slide_evm_total / in rtl8192_process_phyinfo() 1841 priv->stats.signal_quality = tmp_val; in rtl8192_process_phyinfo() 1842 priv->stats.last_signal_strength_inpercent = tmp_val; in rtl8192_process_phyinfo()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 922 u32 last_rssi, tmp_val; in process_rssi() local 941 tmp_val = padapter->recvpriv.signal_strength_data.total_val / in process_rssi() 943 padapter->recvpriv.rssi = (s8)translate2dbm(padapter, (u8)tmp_val); in process_rssi()
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 3706 u32 nspatial_stream, tmp_val; in rtl8192_process_phyinfo() local 3743 tmp_val = priv->stats.slide_rssi_total/slide_rssi_statistics; in rtl8192_process_phyinfo() 3744 priv->stats.signal_strength = rtl819x_translate_todbm((u8)tmp_val); in rtl8192_process_phyinfo() 3857 tmp_val = priv->stats.slide_evm_total/slide_evm_statistics; in rtl8192_process_phyinfo() 3858 priv->stats.signal_quality = tmp_val; in rtl8192_process_phyinfo() 3860 priv->stats.last_signal_strength_inpercent = tmp_val; in rtl8192_process_phyinfo()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | dib7000p.c | 2131 u32 tmp_val = 0, exp = 0, mant = 0; in dib7000p_get_adc_power() local 2141 tmp_val = pow_i; in dib7000p_get_adc_power() 2142 while (tmp_val >>= 1) in dib7000p_get_adc_power()
|
D | dib8000.c | 1920 u32 ix = 0, tmp_val = 0, exp = 0, mant = 0; in dib8000_get_adc_power() local 1925 tmp_val = val; in dib8000_get_adc_power() 1926 while (tmp_val >>= 1) in dib8000_get_adc_power()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 12606 u32 lfa_sts, cfg_idx, tmp_val; in bnx2x_cannot_avoid_link_flap() local 12633 tmp_val = REG_RD(bp, params->lfa_base + in bnx2x_cannot_avoid_link_flap() 12635 tmp_val &= ~REQ_FC_AUTO_ADV_MASK; in bnx2x_cannot_avoid_link_flap() 12636 tmp_val |= params->req_fc_auto_adv; in bnx2x_cannot_avoid_link_flap() 12639 offsetof(struct shmem_lfa, additional_config), tmp_val); in bnx2x_cannot_avoid_link_flap()
|