| /OK3568_Linux_fs/kernel/drivers/soc/fsl/qe/ |
| H A D | qe_io.c | 53 u32 tmp_val; in __par_io_config_pin() local 59 tmp_val = qe_ioread32be(&par_io->cpodr); in __par_io_config_pin() 61 qe_iowrite32be(pin_mask1bit | tmp_val, &par_io->cpodr); in __par_io_config_pin() 63 qe_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() 80 qe_iowrite32be(~pin_mask2bits & tmp_val, &par_io->cpdir2); in __par_io_config_pin() 81 tmp_val &= ~pin_mask2bits; in __par_io_config_pin() 82 qe_iowrite32be(new_mask2bits | tmp_val, &par_io->cpdir2); in __par_io_config_pin() 84 qe_iowrite32be(~pin_mask2bits & tmp_val, &par_io->cpdir1); in __par_io_config_pin() 85 tmp_val &= ~pin_mask2bits; in __par_io_config_pin() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | qe_io.c | 23 u32 tmp_val; in qe_config_iopin() local 33 tmp_val = (pin > (NUM_OF_PINS/2) - 1) ? \ in qe_config_iopin() 38 out_be32(&par_io[port].cpdir2, ~pin_2bit_mask & tmp_val); in qe_config_iopin() 39 out_be32(&par_io[port].cpdir2, pin_2bit_dir | tmp_val); in qe_config_iopin() 41 out_be32(&par_io[port].cpdir1, ~pin_2bit_mask & tmp_val); in qe_config_iopin() 42 out_be32(&par_io[port].cpdir1, pin_2bit_dir | tmp_val); in qe_config_iopin() 49 tmp_val = in_be32(&par_io[port].cpodr); in qe_config_iopin() 51 out_be32(&par_io[port].cpodr, pin_1bit_mask | tmp_val); in qe_config_iopin() 53 out_be32(&par_io[port].cpodr, ~pin_1bit_mask & tmp_val); in qe_config_iopin() 56 tmp_val = (pin > (NUM_OF_PINS/2) - 1) ? in qe_config_iopin() [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/mpc8610hpcd/ |
| H A D | mpc8610hpcd.c | 42 u8 tmp_val, version; in misc_init_r() local 46 tmp_val = in_8(pixis_base + PIXIS_BRDCFG0); in misc_init_r() 47 out_8(pixis_base + PIXIS_BRDCFG0, tmp_val | 0x80); in misc_init_r() 52 tmp_val = in_8(pixis_base + PIXIS_BRDCFG0); in misc_init_r() 53 out_8(pixis_base + PIXIS_BRDCFG0, tmp_val & 0xbf); in misc_init_r() 60 tmp_val = 0xBF; in misc_init_r() 61 i2c_write(0x38, 0x08, 1, &tmp_val, sizeof(tmp_val)); in misc_init_r() 63 tmp_val = 0; in misc_init_r() 64 i2c_read(0x38, 0x08, 1, &tmp_val, sizeof(tmp_val)); in misc_init_r() 65 debug("DVI Encoder Read: 0x%02x\n", tmp_val); in misc_init_r() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | qe_io.c | 22 u32 tmp_val; in qe_config_iopin() local 31 tmp_val = (pin > (NUM_OF_PINS/2) - 1) ? \ in qe_config_iopin() 36 out_be32(&par_io->ioport[port].dir2, ~pin_2bit_mask & tmp_val); in qe_config_iopin() 37 out_be32(&par_io->ioport[port].dir2, pin_2bit_dir | tmp_val); in qe_config_iopin() 39 out_be32(&par_io->ioport[port].dir1, ~pin_2bit_mask & tmp_val); in qe_config_iopin() 40 out_be32(&par_io->ioport[port].dir1, pin_2bit_dir | tmp_val); in qe_config_iopin() 47 tmp_val = in_be32(&par_io->ioport[port].podr); in qe_config_iopin() 49 out_be32(&par_io->ioport[port].podr, pin_1bit_mask | tmp_val); in qe_config_iopin() 51 out_be32(&par_io->ioport[port].podr, ~pin_1bit_mask & tmp_val); in qe_config_iopin() 55 tmp_val = (pin > (NUM_OF_PINS/2) - 1) ? in qe_config_iopin() [all …]
|
| /OK3568_Linux_fs/external/xserver/config/ |
| H A D | hal.c | 141 char *psi_key = NULL, *tmp_val; in device_added() local 274 tmp_val = get_prop_string(hal_ctx, udi, psi_key); in device_added() 276 if (tmp_val) { in device_added() 288 xkb_opts.layout = strdup(tmp_val); in device_added() 292 xkb_opts.model = strdup(tmp_val); in device_added() 296 xkb_opts.rules = strdup(tmp_val); in device_added() 300 xkb_opts.variant = strdup(tmp_val); in device_added() 304 xkb_opts.options = strdup(tmp_val); in device_added() 312 1, tmp_val); in device_added() 313 free(tmp_val); in device_added() [all …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-rx8581.c | 213 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()
|
| H A D | rtc-pcf85363.c | 320 unsigned int tmp_val; in pcf85x63_nvram_read() local 323 ret = regmap_read(pcf85363->regmap, CTRL_RAMBYTE, &tmp_val); in pcf85x63_nvram_read() 324 (*(unsigned char *) val) = (unsigned char) tmp_val; in pcf85x63_nvram_read() 333 unsigned char tmp_val; in pcf85x63_nvram_write() local 335 tmp_val = *((unsigned char *)val); in pcf85x63_nvram_write() 337 (unsigned int)tmp_val); in pcf85x63_nvram_write()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/ti/ |
| H A D | pinctrl-ti-iodelay.c | 216 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 …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_dig.c | 843 u32 tmp_val, i = 0; in halbb_dig_gain_para_init() local 845 tmp_val = halbb_get_reg_cmn(bb, cr->path0_ib_pkpwr, in halbb_dig_gain_para_init() 847 bb_dig->ib_pkpwr = (s8)halbb_cnvrt_2_sign(tmp_val >> 2, 8); in halbb_dig_gain_para_init() 856 tmp_val = halbb_get_reg_cmn(bb, cr->path0_lna_err_g0_g, in halbb_dig_gain_para_init() 858 gain_arr[0] = (s8)halbb_cnvrt_2_sign(tmp_val >> 2, 4) + LNA0_GAIN; in halbb_dig_gain_para_init() 859 tmp_val = halbb_get_reg_cmn(bb, cr->path0_lna_err_g1_g, in halbb_dig_gain_para_init() 861 gain_arr[1] = (s8)halbb_cnvrt_2_sign(tmp_val >> 2, 4) + LNA1_GAIN; in halbb_dig_gain_para_init() 862 tmp_val = halbb_get_reg_cmn(bb, cr->path0_lna_err_g2_g, in halbb_dig_gain_para_init() 864 gain_arr[2] = (s8)halbb_cnvrt_2_sign(tmp_val >> 2, 4) + LNA2_GAIN; in halbb_dig_gain_para_init() 865 tmp_val = halbb_get_reg_cmn(bb, cr->path0_lna_err_g3_g, in halbb_dig_gain_para_init() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_dig.c | 843 u32 tmp_val, i = 0; in halbb_dig_gain_para_init() local 845 tmp_val = halbb_get_reg_cmn(bb, cr->path0_ib_pkpwr, in halbb_dig_gain_para_init() 847 bb_dig->ib_pkpwr = (s8)halbb_cnvrt_2_sign(tmp_val >> 2, 8); in halbb_dig_gain_para_init() 856 tmp_val = halbb_get_reg_cmn(bb, cr->path0_lna_err_g0_g, in halbb_dig_gain_para_init() 858 gain_arr[0] = (s8)halbb_cnvrt_2_sign(tmp_val >> 2, 4) + LNA0_GAIN; in halbb_dig_gain_para_init() 859 tmp_val = halbb_get_reg_cmn(bb, cr->path0_lna_err_g1_g, in halbb_dig_gain_para_init() 861 gain_arr[1] = (s8)halbb_cnvrt_2_sign(tmp_val >> 2, 4) + LNA1_GAIN; in halbb_dig_gain_para_init() 862 tmp_val = halbb_get_reg_cmn(bb, cr->path0_lna_err_g2_g, in halbb_dig_gain_para_init() 864 gain_arr[2] = (s8)halbb_cnvrt_2_sign(tmp_val >> 2, 4) + LNA2_GAIN; in halbb_dig_gain_para_init() 865 tmp_val = halbb_get_reg_cmn(bb, cr->path0_lna_err_g3_g, in halbb_dig_gain_para_init() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_hwimg_8852b.c | 353 u32 tmp_val = 0; in halrf_config_8852b_radio_a_reg() 400 tmp_val = (v1 & 0xff0000) >> 16; in halrf_config_8852b_radio_a_reg() 401 if (tmp_val == DONT_CARE_8852b) { in halrf_config_8852b_radio_a_reg() 404 rfe_type = tmp_val; in halrf_config_8852b_radio_a_reg() 408 tmp_val = v1 & 0xff; in halrf_config_8852b_radio_a_reg() 409 if (tmp_val == DONT_CARE_8852b) { in halrf_config_8852b_radio_a_reg() 412 cv = tmp_val; in halrf_config_8852b_radio_a_reg() 602 u32 tmp_val = 0; in halrf_config_8852b_radio_b_reg() 649 tmp_val = (v1 & 0xff0000) >> 16; in halrf_config_8852b_radio_b_reg() 650 if (tmp_val == DONT_CARE_8852b) { in halrf_config_8852b_radio_b_reg() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_hwimg_8852b.c | 353 u32 tmp_val = 0; in halrf_config_8852b_radio_a_reg() 400 tmp_val = (v1 & 0xff0000) >> 16; in halrf_config_8852b_radio_a_reg() 401 if (tmp_val == DONT_CARE_8852b) { in halrf_config_8852b_radio_a_reg() 404 rfe_type = tmp_val; in halrf_config_8852b_radio_a_reg() 408 tmp_val = v1 & 0xff; in halrf_config_8852b_radio_a_reg() 409 if (tmp_val == DONT_CARE_8852b) { in halrf_config_8852b_radio_a_reg() 412 cv = tmp_val; in halrf_config_8852b_radio_a_reg() 602 u32 tmp_val = 0; in halrf_config_8852b_radio_b_reg() 649 tmp_val = (v1 & 0xff0000) >> 16; in halrf_config_8852b_radio_b_reg() 650 if (tmp_val == DONT_CARE_8852b) { in halrf_config_8852b_radio_b_reg() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/ |
| H A D | pci-thunder-pem.c | 31 u64 read_val, tmp_val; in thunder_pem_bridge_read() local 76 tmp_val = readq(pem_pci->pem_reg_base + PEM_CFG_RD); in thunder_pem_bridge_read() 77 tmp_val >>= 32; in thunder_pem_bridge_read() 78 if (!(tmp_val & (0x1f << 25))) in thunder_pem_bridge_read()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_iter_bpf_hash_map.c | 52 __u64 tmp_val = 0; in dump_bpf_hash_map() local 72 ret = bpf_map_update_elem(&hashmap1, &tmp_key, &tmp_val, 0); in dump_bpf_hash_map()
|
| /OK3568_Linux_fs/kernel/drivers/vfio/pci/ |
| H A D | vfio_pci_config.c | 126 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() 167 ret = pci_user_write_config_dword(pdev, offset, tmp_val); in vfio_user_config_write() 529 u32 tmp_val = le32_to_cpu(*val); in vfio_basic_config_read() local [all …]
|
| /OK3568_Linux_fs/kernel/net/netlabel/ |
| H A D | netlabel_mgmt.c | 86 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()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_test/supported_ic/ |
| H A D | focaltech_test_ft8201.c | 584 u8 tmp_val = 0; in ft8201_open_test() local 624 tmp_val = reg20_val | (1 << 5); in ft8201_open_test() 625 tmp_val &= ~(1 << 4); in ft8201_open_test() 626 ret = ft8201_write_reg(info, FACTORY_REG_OPEN_REG20, tmp_val); in ft8201_open_test()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/txbf/ |
| H A D | haltxbf8814a.c | 652 u16 beam_ctrl_val, tmp_val; in hal_txbf_8814a_status() local 690 tmp_val = odm_read_2byte(p_dm, REG_TXBF_CTRL_8814A); in hal_txbf_8814a_status() 691 odm_write_2byte(p_dm, REG_TXBF_CTRL_8814A, tmp_val | BIT(15)); in hal_txbf_8814a_status()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/txbf/ |
| H A D | haltxbf8814a.c | 614 u16 beam_ctrl_val, tmp_val; in hal_txbf_8814a_status() local 653 tmp_val = odm_read_2byte(dm, REG_TXBF_CTRL_8814A); in hal_txbf_8814a_status() 654 odm_write_2byte(dm, REG_TXBF_CTRL_8814A, tmp_val | BIT(15)); in hal_txbf_8814a_status()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/txbf/ |
| H A D | haltxbf8814a.c | 615 u16 beam_ctrl_val, tmp_val; in hal_txbf_8814a_status() local 654 tmp_val = odm_read_2byte(dm, REG_TXBF_CTRL_8814A); in hal_txbf_8814a_status() 655 odm_write_2byte(dm, REG_TXBF_CTRL_8814A, tmp_val | BIT(15)); in hal_txbf_8814a_status()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/txbf/ |
| H A D | haltxbf8814a.c | 614 u16 beam_ctrl_val, tmp_val; in hal_txbf_8814a_status() local 653 tmp_val = odm_read_2byte(dm, REG_TXBF_CTRL_8814A); in hal_txbf_8814a_status() 654 odm_write_2byte(dm, REG_TXBF_CTRL_8814A, tmp_val | BIT(15)); in hal_txbf_8814a_status()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/txbf/ |
| H A D | haltxbf8814a.c | 615 u16 beam_ctrl_val, tmp_val; in hal_txbf_8814a_status() local 654 tmp_val = odm_read_2byte(dm, REG_TXBF_CTRL_8814A); in hal_txbf_8814a_status() 655 odm_write_2byte(dm, REG_TXBF_CTRL_8814A, tmp_val | BIT(15)); in hal_txbf_8814a_status()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/txbf/ |
| H A D | haltxbf8814a.c | 615 u16 beam_ctrl_val, tmp_val; in hal_txbf_8814a_status() local 654 tmp_val = odm_read_2byte(dm, REG_TXBF_CTRL_8814A); in hal_txbf_8814a_status() 655 odm_write_2byte(dm, REG_TXBF_CTRL_8814A, tmp_val | BIT(15)); in hal_txbf_8814a_status()
|