/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/most/hdm-usb/ |
D | hdm_usb.c | 772 u16 tmp_val; in hdm_configure_channel() local 774 tmp_val = conf->buffer_size / frame_size; in hdm_configure_channel() 775 conf->buffer_size = tmp_val * frame_size; in hdm_configure_channel() 1053 u16 tmp_val; in show_value() local 1084 err = drci_rd_reg(dci_obj->usb_device, reg_addr, &tmp_val); in show_value() 1088 return snprintf(buf, PAGE_SIZE, "%04x\n", tmp_val); in show_value()
|
/linux-4.4.14/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.4.14/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.4.14/tools/perf/util/ |
D | data-convert-bt.c | 231 unsigned long long tmp_val; in add_tracepoint_field_value() local 233 tmp_val = pevent_read_number(fmtf->event->pevent, in add_tracepoint_field_value() 235 offset = tmp_val; in add_tracepoint_field_value()
|
/linux-4.4.14/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.4.14/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 1694 u32 ij, tmp_val; in _rtl92e_process_phyinfo() local 1725 tmp_val = priv->stats.slide_rssi_total/slide_rssi_statistics; in _rtl92e_process_phyinfo() 1727 (u8)tmp_val); in _rtl92e_process_phyinfo() 1835 tmp_val = priv->stats.slide_evm_total / in _rtl92e_process_phyinfo() 1837 priv->stats.signal_quality = tmp_val; in _rtl92e_process_phyinfo() 1838 priv->stats.last_signal_strength_inpercent = tmp_val; in _rtl92e_process_phyinfo()
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 925 u32 last_rssi, tmp_val; in process_rssi() local 944 tmp_val = padapter->recvpriv.signal_strength_data.total_val / in process_rssi() 946 padapter->recvpriv.rssi = (s8)translate2dbm(padapter, (u8)tmp_val); in process_rssi()
|
/linux-4.4.14/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 3974 u32 nspatial_stream, tmp_val; in rtl8192_process_phyinfo() local 4013 tmp_val = priv->stats.slide_rssi_total / slide_rssi_statistics; in rtl8192_process_phyinfo() 4014 priv->stats.signal_strength = rtl819x_translate_todbm((u8)tmp_val); in rtl8192_process_phyinfo() 4135 tmp_val = priv->stats.slide_evm_total / in rtl8192_process_phyinfo() 4137 priv->stats.signal_quality = tmp_val; in rtl8192_process_phyinfo() 4141 priv->stats.last_signal_strength_inpercent = tmp_val; in rtl8192_process_phyinfo()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 12774 u32 lfa_sts, cfg_idx, tmp_val; in bnx2x_cannot_avoid_link_flap() local 12801 tmp_val = REG_RD(bp, params->lfa_base + in bnx2x_cannot_avoid_link_flap() 12803 tmp_val &= ~REQ_FC_AUTO_ADV_MASK; in bnx2x_cannot_avoid_link_flap() 12804 tmp_val |= params->req_fc_auto_adv; in bnx2x_cannot_avoid_link_flap() 12807 offsetof(struct shmem_lfa, additional_config), tmp_val); in bnx2x_cannot_avoid_link_flap()
|