| /OK3568_Linux_fs/u-boot/drivers/mmc/ |
| H A D | davinci_mmc.c | 23 #define set_val(addr, val) REG(addr) = (val) macro 24 #define set_bit(addr, val) set_val((addr), (get_val(addr) | (val))) 25 #define clear_bit(addr, val) set_val((addr), (get_val(addr) & ~(val))) 39 set_val(®s->mmcclk, 0); in dmmc_set_clock() 54 set_val(®s->mmcclk, (clkrt | MMCCLK_CLKEN)); in dmmc_set_clock() 167 set_val(®s->mmcim, 0); in dmmc_send_cmd() 174 set_val(®s->mmcfifoctl, in dmmc_send_cmd() 182 set_val(®s->mmcfifoctl, MMCFIFOCTL_FIFOLEV); in dmmc_send_cmd() 184 set_val(®s->mmcfifoctl, in dmmc_send_cmd() 190 set_val(®s->mmctod, 0xFFFF); in dmmc_send_cmd() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/ |
| H A D | mport.c | 530 u32 set_val = para->val; in _port_cfg() local 552 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 556 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 560 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 564 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 568 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 585 u32 *set_val) in _bcn_setup_chk() argument 598 if (*set_val > B_AX_TBTT_SETUP_P0_MSK) { in _bcn_setup_chk() 599 PLTFM_MSG_ERR("[ERR] illegal bcn setup time %d\n", *set_val); in _bcn_setup_chk() 628 if (*set_val >= up_lmt) { in _bcn_setup_chk() [all …]
|
| H A D | efuse.c | 2508 goto set_val; in switch_efuse_bank() 2516 goto set_val; in switch_efuse_bank() 2523 goto set_val; in switch_efuse_bank() 2528 set_val: in switch_efuse_bank()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/ |
| H A D | mport.c | 530 u32 set_val = para->val; in _port_cfg() local 552 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 556 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 560 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 564 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 568 w_val32 = SET_CLR_WORD(val32, set_val, in _port_cfg() 585 u32 *set_val) in _bcn_setup_chk() argument 598 if (*set_val > B_AX_TBTT_SETUP_P0_MSK) { in _bcn_setup_chk() 599 PLTFM_MSG_ERR("[ERR] illegal bcn setup time %d\n", *set_val); in _bcn_setup_chk() 628 if (*set_val >= up_lmt) { in _bcn_setup_chk() [all …]
|
| H A D | efuse.c | 2508 goto set_val; in switch_efuse_bank() 2516 goto set_val; in switch_efuse_bank() 2523 goto set_val; in switch_efuse_bank() 2528 set_val: in switch_efuse_bank()
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/ |
| H A D | pci-thunder-ecam.c | 16 static void set_val(u32 v, int where, int size, u32 *val) in set_val() function 39 set_val(e0, where, size, val); in handle_ea_bar() 51 set_val(v, where, size, val); in handle_ea_bar() 70 set_val(v, where, size, val); in handle_ea_bar() 80 set_val(v, where, size, val); in handle_ea_bar() 122 set_val(v, where, size, val); in thunder_ecam_p2_config_read() 209 set_val(v, where, size, val); in thunder_ecam_config_read() 222 set_val(v, where, size, val); in thunder_ecam_config_read() 234 set_val(v, where, size, val); in thunder_ecam_config_read() 279 set_val(v, where, size, val); in thunder_ecam_config_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/jaguar1_drv/ |
| H A D | jaguar1_motion.c | 46 motion_set->set_val = ret; in motion_detection_get() 85 if(motion_set->set_val<0 || motion_set->set_val>1) in motion_onoff_set() 87 …_OnOff]Error!! ch(%d) Setting Value Over:%x!! Only 0 or 1\n", motion_set->ch, motion_set->set_val); in motion_onoff_set() 91 switch(motion_set->set_val) in motion_onoff_set() 141 …te(jaguar1_i2c_addr[motion_set->devnum], (0x40 +(0x18 *motion_set->ch)) + ii, motion_set->set_val); in motion_pixel_all_onoff_set() 153 unsigned char SetPix = motion_set->set_val/8; in motion_pixel_onoff_set() 154 unsigned char SetVal = motion_set->set_val%8; in motion_pixel_onoff_set() 210 unsigned char SetPix = motion_set->set_val/8; in motion_pixel_onoff_get() 211 unsigned char SetVal = motion_set->set_val%8; in motion_pixel_onoff_get() 223 motion_set->set_val = 1; in motion_pixel_onoff_get() [all …]
|
| H A D | jaguar1_motion.h | 24 unsigned char set_val; member
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/nvp6158_drv/ |
| H A D | nvp6158_motion.c | 48 motion_set->set_val = ret; in nvp6158_motion_detection_get() 94 if(motion_set->set_val<0 || motion_set->set_val>1) { in nvp6158_motion_onoff_set() 95 …_OnOff]Error!! ch(%d) Setting Value Over:%x!! Only 0 or 1\n", motion_set->ch, motion_set->set_val); in nvp6158_motion_onoff_set() 99 switch(motion_set->set_val) { in nvp6158_motion_onoff_set() 153 …te(nvp6158_iic_addr[motion_set->devnum], (0x40 +(0x18 *motion_set->ch)) + ii, motion_set->set_val); in nvp6158_motion_pixel_all_onoff_set() 165 unsigned char SetPix = motion_set->set_val/8; in nvp6158_motion_pixel_onoff_set() 166 unsigned char SetVal = motion_set->set_val%8; in nvp6158_motion_pixel_onoff_set() 230 unsigned char SetPix = motion_set->set_val/8; in nvp6158_motion_pixel_onoff_get() 231 unsigned char SetVal = motion_set->set_val%8; in nvp6158_motion_pixel_onoff_get() 242 motion_set->set_val = 1; in nvp6158_motion_pixel_onoff_get() [all …]
|
| H A D | nvp6158_video_auto_detect.h | 160 unsigned char set_val; // B13 0x70 [3:0] each channel member 183 unsigned char set_val; member 206 unsigned char set_val; member
|
| H A D | nvp6158_motion.h | 27 unsigned char set_val; member
|
| H A D | nvp6158_video_auto_detect.c | 1022 case CH3 : temp_val = ((temp_val & 0xF0) | (vo_data_out_mode -> set_val & 0xF)); in nvp6158_video_output_data_out_mode_set() 1025 case CH4 : temp_val = ((temp_val & 0x0F) | ((vo_data_out_mode -> set_val & 0xF) << 4)); in nvp6158_video_output_data_out_mode_set()
|
| /OK3568_Linux_fs/kernel/fs/nfsd/ |
| H A D | fault_inject.c | 23 u64 (*set_val)(u64); member 80 val = op->set_val(val); in fault_inject_write() 101 .set_val = nfsd_inject_forget_clients, 107 .set_val = nfsd_inject_forget_locks, 113 .set_val = nfsd_inject_forget_openowners, 119 .set_val = nfsd_inject_forget_delegations, 125 .set_val = nfsd_inject_recall_delegations,
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/visconti/ |
| H A D | pinctrl-common.c | 46 unsigned int val, set_val, pude_val; in visconti_pin_config_set() local 54 set_val = 0; in visconti_pin_config_set() 60 set_val = 1; in visconti_pin_config_set() 66 val |= set_val << pin->pud_shift; in visconti_pin_config_set() 99 set_val = DIV_ROUND_CLOSEST(arg, 2) - 1; in visconti_pin_config_set() 108 val |= set_val << pin->dsel_shift; in visconti_pin_config_set()
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | ahci_sunxi.c | 62 static void sunxi_setbits(void __iomem *reg, u32 set_val) in sunxi_setbits() argument 67 reg_val |= set_val; in sunxi_setbits() 71 static void sunxi_clrsetbits(void __iomem *reg, u32 clr_val, u32 set_val) in sunxi_clrsetbits() argument 77 reg_val |= set_val; in sunxi_clrsetbits()
|
| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | rkflash_debug.c | 90 static int set_val(const char *val, const struct kernel_param *kp) in set_val() function 111 .set = set_val,
|
| /OK3568_Linux_fs/kernel/drivers/clk/x86/ |
| H A D | clk-cgu.h | 304 u8 shift, u8 width, u32 set_val) in lgm_set_clk_val() argument 310 regval = (regval & ~mask) | ((set_val << shift) & mask); in lgm_set_clk_val()
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | ide-ioctls.c | 40 goto set_val; in ide_setting_ioctl() 51 set_val: in ide_setting_ioctl()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/ |
| H A D | hns_mdio.c | 146 u32 cfg_reg, u32 set_val, in mdio_sc_cfg_reg_write() argument 153 regmap_write(mdio_dev->subctrl_vbase, cfg_reg, set_val); in mdio_sc_cfg_reg_write()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/ |
| H A D | cpsw_new.c | 1501 int set_val = 0; in cpsw_port_offload_fwd_mark_update() local 1506 set_val = 1; in cpsw_port_offload_fwd_mark_update() 1508 dev_dbg(cpsw->dev, "set offload_fwd_mark %d\n", set_val); in cpsw_port_offload_fwd_mark_update() 1514 priv->offload_fwd_mark = set_val; in cpsw_port_offload_fwd_mark_update()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_tc_flower.c | 359 u32 set_val = val & ~mask; in offload_pedit() local 371 memcpy((u8 *)fs + offset, &set_val, size); in offload_pedit()
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/ |
| H A D | pyinotify.py | 277 def set_val(self, nval): member in ProcINotify 288 value = property(get_val, set_val)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
| H A D | halbtcoutsrc.c | 1063 void halbtc_set_bt_reg(void *btc_context, u8 reg_type, u32 offset, u32 set_val) in halbtc_set_bt_reg() argument 1070 *((__le16 *)&cmd_buffer1[2]) = cpu_to_le16((u16)set_val); in halbtc_set_bt_reg()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_dev.c | 2917 u32 delay_idx = 0, val, set_val = b_enable ? 1 : 0; in qed_pglueb_set_pfid_enable() local 2920 qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_INTERNAL_PFID_ENABLE_MASTER, set_val); in qed_pglueb_set_pfid_enable() 2926 if (val == set_val) in qed_pglueb_set_pfid_enable() 2932 if (val != set_val) { in qed_pglueb_set_pfid_enable()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_main.c | 3757 unsigned int set_val; in hisi_sas_debugfs_phy_down_cnt_write() local 3760 res = kstrtouint_from_user(buf, count, 0, &set_val); in hisi_sas_debugfs_phy_down_cnt_write() 3764 if (set_val > 0) in hisi_sas_debugfs_phy_down_cnt_write()
|