Searched refs:bit_value (Results 1 – 6 of 6) sorted by relevance
/device/soc/esp/esp32/components/esp_rom/include/esp32/rom/ |
D | gpio.h | 65 #define GPIO_OUTPUT_SET(gpio_no, bit_value) \ argument 66 …((gpio_no < 32) ? gpio_output_set(bit_value<<gpio_no, (bit_value ? 0 : 1)<<gpio_no, 1<<gpio_no,0) … 67 …gpio_output_set_high(bit_value<<(gpio_no - 32), (bit_value ? 0 : 1)<<(gpio_no - 32), 1<<(gpio_no -…
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/gpio/ |
D | drv_gpio_intf.c | 42 hi_u32 bit_value; member 45 static hi_void gpio_proc_write_cmd_process(hi_u32 cmd, hi_u32 group, hi_u32 bit, hi_u32 bit_value) in gpio_proc_write_cmd_process() argument 64 ret = hi_drv_gpio_set_dir_bit(group * 8 + bit, bit_value); // 每组8个io口 in gpio_proc_write_cmd_process() 70 HI_PRINT("dir[%d][%d] = %s\n", group, bit, bit_value ? "input" : "output"); in gpio_proc_write_cmd_process() 88 ret = hi_drv_gpio_write_bit(group * 8 + bit, bit_value); // 每组8个io口 in gpio_proc_write_cmd_process() 94 HI_PRINT("Value [%d][%d] = %s\n", group, bit, bit_value ? "high" : "low"); in gpio_proc_write_cmd_process() 138 gpio_proc_write_cmd_process(proc_data.cmd, proc_data.group, proc_data.bit, proc_data.bit_value); in gpio_drv_proc_rdir() 159 proc_data.bit_value = osal_strtol(argv[3], NULL, 10); // 第3组数据转成10进制 in gpio_drv_proc_wdir() 162 if (proc_data.bit_value > 1) { in gpio_drv_proc_wdir() 167 gpio_proc_write_cmd_process(proc_data.cmd, proc_data.group, proc_data.bit, proc_data.bit_value); in gpio_drv_proc_wdir() [all …]
|
D | drv_gpio.c | 259 hi_s32 hi_drv_gpio_write_bit(hi_u32 gpio_no, hi_u32 bit_value) in hi_drv_gpio_write_bit() argument 273 if ((bit_value != HI_TRUE) in hi_drv_gpio_write_bit() 274 && (bit_value != HI_FALSE)) { in hi_drv_gpio_write_bit() 292 if (bit_value) { in hi_drv_gpio_write_bit() 303 hi_s32 hi_drv_gpio_read_bit(hi_u32 gpio_no, hi_u32 *bit_value) in hi_drv_gpio_read_bit() argument 317 if (bit_value == NULL) { in hi_drv_gpio_read_bit() 325 *bit_value = REG_USR_ADDR(gpio_usr_addr + in hi_drv_gpio_read_bit()
|
/device/soc/telink/b91/b91_ble_sdk/stack/ble/controller/ll/ |
D | ll.h | 123 ble_sts_t blc_hci_le_setHostFeature(u8 bit_number, ll_feature_value_t bit_value);
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/include/ |
D | hi_drv_gpio.h | 103 hi_s32 hi_drv_gpio_write_bit(hi_u32 gpio_no, hi_u32 bit_value);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/hal/ctrl/hisiv100/ |
D | hdmi_hal_ctrl.c | 127 hi_u32 bit_value; member 240 static hi_u32 ctrl_audio_bit_reg_get(hi_u32 bit_value) in ctrl_audio_bit_reg_get() argument 247 if (audio_bit->bit_value == bit_value) { in ctrl_audio_bit_reg_get() 254 hdmi_err("can't find audio bit= %u, force 16\n", bit_value); in ctrl_audio_bit_reg_get() 274 return audio_bit->bit_value; in ctrl_audio_bit_value_get()
|