Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 1100) sorted by relevance

12345678910>>...44

/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_static_buf.c180 uint bus_type, int index, in dhd_wlan_mem_prealloc() argument
186 int index = 0; in dhd_wlan_mem_prealloc() local
189 index, section, size); in dhd_wlan_mem_prealloc()
192 return wlan_static_prot[index]; in dhd_wlan_mem_prealloc()
197 return wlan_static_rxbuf[index]; in dhd_wlan_mem_prealloc()
201 return wlan_static_databuf[index]; in dhd_wlan_mem_prealloc()
207 return wlan_static_skb[index]; in dhd_wlan_mem_prealloc()
212 return wlan_static_scan_buf0[index]; in dhd_wlan_mem_prealloc()
216 return wlan_static_scan_buf1[index]; in dhd_wlan_mem_prealloc()
225 return wlan_static_osl_buf[index]; in dhd_wlan_mem_prealloc()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v33x/de330/
Dde_feat.c52 u32 i, index = 0, num_channels = 0; in de_feat_get_num_layers() local
54 index += de_feat_get_num_chns(i); in de_feat_get_num_layers()
56 for (i = 0; i < num_channels; i++, index++) in de_feat_get_num_layers()
57 num_layers += de_cur_features->num_layers[index]; in de_feat_get_num_layers()
66 u32 i, index = 0; in de_feat_get_num_layers_by_chn() local
68 index += de_feat_get_num_chns(i); in de_feat_get_num_layers_by_chn()
69 index += chn; in de_feat_get_num_layers_by_chn()
70 return de_cur_features->num_layers[index]; in de_feat_get_num_layers_by_chn()
79 u32 i, index = 0, num_channels = 0; in de_feat_is_support_vep() local
81 index += de_feat_get_num_chns(i); in de_feat_is_support_vep()
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/hal/
Dgpio_ll.h41 static inline void gpio_ll_set_io_mode(gpio_hw_t *hw, uint32 index, const gpio_config_t *config) in gpio_ll_set_io_mode() argument
62 REG_SET_BITS(&hw->gpio_num[index], GPIO_F_IO_MODE_SET(io_mode), GPIO_F_IO_MODE_EN_M) ; in gpio_ll_set_io_mode()
67 static inline void gpio_ll_set_pull_mode(gpio_hw_t *hw, uint32 index, const gpio_config_t *config) in gpio_ll_set_pull_mode() argument
88 REG_SET_BITS(&hw->gpio_num[index], GPIO_F_PULL_SET(pull_mode), GPIO_F_PULL_EN_M) ; in gpio_ll_set_pull_mode()
92 static inline void gpio_ll_set_func_mode(gpio_hw_t *hw, uint32 index, const gpio_config_t *config) in gpio_ll_set_func_mode() argument
96 REG_CLR_BIT(&hw->gpio_num[index], BIT(6)); in gpio_ll_set_func_mode()
99 REG_SET_BIT(&hw->gpio_num[index], BIT(6)); in gpio_ll_set_func_mode()
106 static inline void gpio_ll_set_mode(gpio_hw_t *hw, uint32 index, const gpio_config_t *config) in gpio_ll_set_mode() argument
108 gpio_ll_set_io_mode(hw, index, config); in gpio_ll_set_mode()
109 gpio_ll_set_pull_mode(hw, index, config); in gpio_ll_set_mode()
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_pwm.c63 uint8_t index; in hal_pwm_enable() local
115 index = 0; in hal_pwm_enable()
118 index = 1; in hal_pwm_enable()
122 index = 0; in hal_pwm_enable()
130 hal_cmu_clock_enable(pwm_o_mod[index] + offset); in hal_pwm_enable()
131 hal_cmu_clock_enable(pwm_p_mod[index]); in hal_pwm_enable()
132 hal_cmu_reset_clear(pwm_o_mod[index] + offset); in hal_pwm_enable()
133 hal_cmu_reset_clear(pwm_p_mod[index]); in hal_pwm_enable()
135 pwm[index]->EN &= ~(1 << offset); in hal_pwm_enable()
146 pwm[index]->LOAD01 = SET_BITFIELD(pwm[index]->LOAD01, PWM_LOAD01_0, load); in hal_pwm_enable()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v3x/
Dde_feat.c696 unsigned int i, index = 0, num_channels = 0; in de_feat_get_num_layers() local
703 index += de_feat_get_num_chns(i); in de_feat_get_num_layers()
706 for (i = 0; i < num_channels; i++, index++) in de_feat_get_num_layers()
707 num_layers += de_cur_features->num_layers[index]; in de_feat_get_num_layers()
714 unsigned int i, index = 0; in de_feat_get_num_layers_by_chn() local
722 index += de_feat_get_num_chns(i); in de_feat_get_num_layers_by_chn()
723 index += chn; in de_feat_get_num_layers_by_chn()
725 return de_cur_features->num_layers[index]; in de_feat_get_num_layers_by_chn()
730 unsigned int i, index = 0, num_channels = 0; in de_feat_is_support_vep() local
737 index += de_feat_get_num_chns(i); in de_feat_is_support_vep()
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/
Dhpm_ptpc_drv.h79 static inline void ptpc_set_ns_counter_rollover(PTPC_Type *ptr, uint8_t index, in ptpc_set_ns_counter_rollover() argument
82 … ptr->PTPC[index].CTRL0 = (ptr->PTPC[index].CTRL0 & ~PTPC_PTPC_CTRL0_SUBSEC_DIGITAL_ROLLOVER_MASK) in ptpc_set_ns_counter_rollover()
92 static inline void ptpc_enable_capture_keep(PTPC_Type *ptr, uint8_t index) in ptpc_enable_capture_keep() argument
94 ptr->PTPC[index].CTRL0 |= PTPC_PTPC_CTRL0_CAPT_SNAP_KEEP_MASK; in ptpc_enable_capture_keep()
103 static inline void ptpc_disable_capture_keep(PTPC_Type *ptr, uint8_t index) in ptpc_disable_capture_keep() argument
105 ptr->PTPC[index].CTRL0 &= ~PTPC_PTPC_CTRL0_CAPT_SNAP_KEEP_MASK; in ptpc_disable_capture_keep()
115 static inline void ptpc_set_ns_counter_update_type(PTPC_Type *ptr, uint8_t index, bool coarse_updat… in ptpc_set_ns_counter_update_type() argument
117 ptr->PTPC[index].CTRL0 = (ptr->PTPC[index].CTRL0 & ~PTPC_PTPC_CTRL0_FINE_COARSE_SEL_MASK) in ptpc_set_ns_counter_update_type()
128 static inline void ptpc_set_ns_counter_step(PTPC_Type *ptr, uint8_t index, uint32_t ns_step) in ptpc_set_ns_counter_step() argument
130 ptr->PTPC[index].CTRL1 = PTPC_PTPC_CTRL1_SS_INCR_SET(ns_step); in ptpc_set_ns_counter_step()
[all …]
Dhpm_pwm_drv.h400 uint8_t index, in pwm_load_cmp_shadow_on_capture() argument
403 pwm_x->CMPCFG[index] |= PWM_CMPCFG_CMPMODE_MASK; in pwm_load_cmp_shadow_on_capture()
405 | PWM_GCR_CMPSHDWSEL_SET(index) in pwm_load_cmp_shadow_on_capture()
415 static inline void pwm_cmp_disable_half_clock(PWM_Type *pwm_x, uint8_t index) in pwm_cmp_disable_half_clock() argument
417 pwm_x->CMP[index] &= ~PWM_CMP_CMPHLF_MASK; in pwm_cmp_disable_half_clock()
426 static inline void pwm_cmp_enable_half_clock(PWM_Type *pwm_x, uint8_t index) in pwm_cmp_enable_half_clock() argument
428 pwm_x->CMP[index] |= PWM_CMP_CMPHLF_MASK; in pwm_cmp_enable_half_clock()
438 static inline void pwm_cmp_update_jitter_value(PWM_Type *pwm_x, uint8_t index, uint8_t jitter) in pwm_cmp_update_jitter_value() argument
440 pwm_x->CMP[index] = (pwm_x->CMP[index] & ~PWM_CMP_CMPJIT_MASK) | PWM_CMP_CMPJIT_SET(jitter); in pwm_cmp_update_jitter_value()
451 static inline void pwm_cmp_update_cmp_value(PWM_Type *pwm_x, uint8_t index, in pwm_cmp_update_cmp_value() argument
[all …]
Dhpm_rtc_drv.h26 uint16_t index; /**< RTC alarm index */ member
80 static inline void rtc_enable_alarm_interrupt(RTC_Type *base, uint32_t index, bool enable) in rtc_enable_alarm_interrupt() argument
82 if (index > 1) { in rtc_enable_alarm_interrupt()
86 uint32_t mask = (index == 0U) ? RTC_ALARM_EN_ENABLE0_MASK : RTC_ALARM_EN_ENABLE1_MASK; in rtc_enable_alarm_interrupt()
100 static inline void rtc_clear_alarm_flag(RTC_Type *base, uint32_t index) in rtc_clear_alarm_flag() argument
102 if (index > 1) { in rtc_clear_alarm_flag()
105 uint32_t mask = (index == 0U) ? RTC_ALARM_FLAG_ALARM0_MASK : RTC_ALARM_FLAG_ALARM1_MASK; in rtc_clear_alarm_flag()
116 static inline bool rtc_is_alarm_flag_asserted(RTC_Type *base, uint32_t index) in rtc_is_alarm_flag_asserted() argument
118 if (index > 1) { in rtc_is_alarm_flag_asserted()
121 uint32_t mask = (index == 0U) ? RTC_ALARM_FLAG_ALARM0_MASK : RTC_ALARM_FLAG_ALARM1_MASK; in rtc_is_alarm_flag_asserted()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw8/
Dde_feat.c126 unsigned int i, index = 0, num_channels = 0; in de_feat_get_num_layers() local
133 index += de_feat_get_num_chns(i); in de_feat_get_num_layers()
136 for (i = 0; i < num_channels; i++, index++) in de_feat_get_num_layers()
137 num_layers += de_cur_features.num_layers[index]; in de_feat_get_num_layers()
144 unsigned int i, index = 0; in de_feat_get_num_layers_by_chn() local
152 index += de_feat_get_num_chns(i); in de_feat_get_num_layers_by_chn()
153 index += chn; in de_feat_get_num_layers_by_chn()
155 return de_cur_features.num_layers[index]; in de_feat_get_num_layers_by_chn()
160 unsigned int i, index = 0, num_channels = 0; in de_feat_is_support_vep() local
167 index += de_feat_get_num_chns(i); in de_feat_is_support_vep()
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/
Dhpm_ptpc_drv.c22 hpm_stat_t ptpc_init(PTPC_Type *ptr, uint8_t index, ptpc_config_t *config) in ptpc_init() argument
25 if (!config || (index > PTPC_SOC_TIMER_MAX_COUNT) || !config->src_frequency) { in ptpc_init()
37 ptpc_disable_timer(ptr, index); in ptpc_init()
38 ptr->PTPC[index].CTRL0 = PTPC_PTPC_CTRL0_SUBSEC_DIGITAL_ROLLOVER_SET(config->ns_rollover_mode) in ptpc_init()
45 ptpc_set_ns_counter_step(ptr, index, ss_incr); in ptpc_init()
46 ptpc_enable_timer(ptr, index); in ptpc_init()
59 hpm_stat_t ptpc_set_ns_update(PTPC_Type *ptr, uint8_t index, uint32_t ns, ptpc_counting_mode mode) in ptpc_set_ns_update() argument
61 …if ((PTPC_PTPC_CTRL0_SUBSEC_DIGITAL_ROLLOVER_GET(ptr->PTPC[index].CTRL0) == ptpc_ns_counter_rollov… in ptpc_set_ns_update()
65 …ptr->PTPC[index].TS_UPDTL = PTPC_PTPC_TS_UPDTL_NS_UPDATE_SET(ns) | PTPC_PTPC_TS_UPDTL_ADD_SUB_SET(… in ptpc_set_ns_update()
69 hpm_stat_t ptpc_update_timer(PTPC_Type *ptr, uint8_t index, uint32_t sec, uint32_t ns, ptpc_countin… in ptpc_update_timer() argument
[all …]
/device/soc/telink/b91/b91_ble_sdk/vendor/common/
Ddevice_manage.c72 int index = INVALID_CONN_IDX; in dev_char_info_insert() local
76 index = i; in dev_char_info_insert()
84 index = i; in dev_char_info_insert()
91 if (index != INVALID_CONN_IDX) { in dev_char_info_insert()
92 memcpy(&conn_dev_list[index], dev_char_info, sizeof(dev_char_info_t)); in dev_char_info_insert()
93 conn_dev_list[index].conn_state = 1; in dev_char_info_insert()
96 return index; in dev_char_info_insert()
107 int index = INVALID_CONN_IDX; in dev_char_info_insert_by_conn_event() local
111 index = i; in dev_char_info_insert_by_conn_event()
119 index = i; in dev_char_info_insert_by_conn_event()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_sun50iw1/
Dde_feat.c143 unsigned int i, index = 0, num_channels = 0; in de_feat_get_num_layers() local
150 index += de_feat_get_num_chns(i); in de_feat_get_num_layers()
153 for (i = 0; i < num_channels; i++, index++) in de_feat_get_num_layers()
154 num_layers += de_cur_features.num_layers[index]; in de_feat_get_num_layers()
161 unsigned int i, index = 0; in de_feat_get_num_layers_by_chn() local
169 index += de_feat_get_num_chns(i); in de_feat_get_num_layers_by_chn()
170 index += chn; in de_feat_get_num_layers_by_chn()
172 return de_cur_features.num_layers[index]; in de_feat_get_num_layers_by_chn()
177 unsigned int i, index = 0, num_channels = 0; in de_feat_is_support_vep() local
184 index += de_feat_get_num_chns(i); in de_feat_is_support_vep()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/gls/
Dgls_racp.c94 uint8_t index = 0; in gls_racp_req_decode() local
96 p_racp_req->op_code = (gls_racp_op_code_t)p_data[index++]; in gls_racp_req_decode()
97 p_racp_req->filter.racp_operator = (gls_racp_operator_t)p_data[index++]; in gls_racp_req_decode()
110 if (length <= index) { in gls_racp_req_decode()
113 p_racp_req->filter.racp_filter_type = (gls_racp_filter_type_t)p_data[index++]; in gls_racp_req_decode()
117 if (GLS_RACP_FILTER_SEQ_NUM_LEN != (length - index)) { in gls_racp_req_decode()
120 … p_racp_req->filter.val.seq_num.max = BUILD_U16(p_data[index], p_data[index + 1]); in gls_racp_req_decode()
123 if (GLS_RACP_FILTER_SEQ_NUM_LEN != (length - index)) { in gls_racp_req_decode()
126 … p_racp_req->filter.val.seq_num.min = BUILD_U16(p_data[index], p_data[index + 1]); in gls_racp_req_decode()
129 if (GLS_RACP_FILTER_SEQ_NUM_LEN * SCALE_2 != (length - index)) { in gls_racp_req_decode()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_debugfs_helper.c52 size_t index, err = 0; in set_attr_from_string() local
55 for (index = 0; index < nelems && *ptr; ++index) { in set_attr_from_string()
85 set_attr_fn(array, index, new_size); in set_attr_from_string()
93 size_t index; in kbase_debugfs_string_validator() local
97 for (index = 0; *ptr; ++index) { in kbase_debugfs_string_validator()
174 size_t index; in kbase_debugfs_helper_get_attr_to_string() local
176 for (index = 0; index < nelems; ++index) { in kbase_debugfs_helper_get_attr_to_string()
179 if (index == (nelems-1)) in kbase_debugfs_helper_get_attr_to_string()
183 get_attr_fn(array, index), postfix); in kbase_debugfs_helper_get_attr_to_string()
235 size_t index; in kbase_debugfs_helper_seq_read() local
[all …]
Dmali_kbase_mem_pool_debugfs.c28 void kbase_mem_pool_debugfs_trim(void *const array, size_t const index, in kbase_mem_pool_debugfs_trim() argument
34 WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) in kbase_mem_pool_debugfs_trim()
37 kbase_mem_pool_trim(&mem_pools[index], value); in kbase_mem_pool_debugfs_trim()
41 size_t const index, size_t const value) in kbase_mem_pool_debugfs_set_max_size() argument
46 WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) in kbase_mem_pool_debugfs_set_max_size()
49 kbase_mem_pool_set_max_size(&mem_pools[index], value); in kbase_mem_pool_debugfs_set_max_size()
52 size_t kbase_mem_pool_debugfs_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_size() argument
57 WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) in kbase_mem_pool_debugfs_size()
60 return kbase_mem_pool_size(&mem_pools[index]); in kbase_mem_pool_debugfs_size()
63 size_t kbase_mem_pool_debugfs_max_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_max_size() argument
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/mailbox/
Dmailbox_driver_base.c56 for(int index = 0; index < ARRAY_SIZE(mailbox_cfg_map_table); index++) in bk_mailbox_init() local
58 if (INT_SRC_NONE == s_mailbox[index].dir.icu_src) in bk_mailbox_init()
60 bk_int_isr_register((s_mailbox[index].dir.icu_src), in bk_mailbox_init()
61 (int_group_isr_t)(s_mailbox[index].imp.mailbox_isr), NULL); in bk_mailbox_init()
63 mailbox_interrupt_enable(s_mailbox[index].dir.src); in bk_mailbox_init()
77 for(int index = 0; index < ARRAY_SIZE(mailbox_cfg_map_table); index++) { in bk_mailbox_deinit() local
78 mailbox_hal_box_init(&(s_mailbox[index].hal)); in bk_mailbox_deinit()
80 if (!(int_group_isr_t)(s_mailbox[index].imp.mailbox_isr)) in bk_mailbox_deinit()
82 bk_int_isr_unregister(s_mailbox[index].dir.icu_src); in bk_mailbox_deinit()
84 mailbox_interrupt_disable(s_mailbox[index].dir.src); in bk_mailbox_deinit()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_debugfs_helper.c52 size_t index, err = 0; in set_attr_from_string() local
55 for (index = 0; index < nelems && *ptr; ++index) { in set_attr_from_string()
88 set_attr_fn(array, index, new_size); in set_attr_from_string()
114 size_t index; in kbase_debugfs_helper_get_attr_to_string() local
116 for (index = 0; index < nelems; ++index) { in kbase_debugfs_helper_get_attr_to_string()
119 if (index == (nelems - 1)) { in kbase_debugfs_helper_get_attr_to_string()
123 total += scnprintf(buf + total, size - total, "%zu%s", get_attr_fn(array, index), postfix); in kbase_debugfs_helper_get_attr_to_string()
166 size_t index; in kbase_debugfs_helper_seq_read() local
172 for (index = 0; index < nelems; ++index) { in kbase_debugfs_helper_seq_read()
175 if (index == (nelems - 1)) { in kbase_debugfs_helper_seq_read()
[all …]
Dmali_kbase_mem_pool_debugfs.c29 void kbase_mem_pool_debugfs_trim(void *const array, size_t const index, size_t const value) in kbase_mem_pool_debugfs_trim() argument
33 if (WARN_ON(!mem_pools) || WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) { in kbase_mem_pool_debugfs_trim()
37 kbase_mem_pool_trim(&mem_pools[index], value); in kbase_mem_pool_debugfs_trim()
40 void kbase_mem_pool_debugfs_set_max_size(void *const array, size_t const index, size_t const value) in kbase_mem_pool_debugfs_set_max_size() argument
44 if (WARN_ON(!mem_pools) || WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) { in kbase_mem_pool_debugfs_set_max_size()
48 kbase_mem_pool_set_max_size(&mem_pools[index], value); in kbase_mem_pool_debugfs_set_max_size()
51 size_t kbase_mem_pool_debugfs_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_size() argument
55 if (WARN_ON(!mem_pools) || WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) { in kbase_mem_pool_debugfs_size()
59 return kbase_mem_pool_size(&mem_pools[index]); in kbase_mem_pool_debugfs_size()
62 size_t kbase_mem_pool_debugfs_max_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_max_size() argument
[all …]
/device/qemu/riscv32_virt/liteos_m/board/fs/
Dff_gen_drv.c43 int SetupVolToPartTable(int index, PARTITION vptable, DiskioDrvTypeDef *dskDrv) in SetupVolToPartTable() argument
45 if (index < 0 || index >= FF_VOLUMES) { in SetupVolToPartTable()
49 VolToPart[index].di = vptable.di; /* Physics disk id */ in SetupVolToPartTable()
50 VolToPart[index].pd = vptable.pd; /* Physical drive number */ in SetupVolToPartTable()
51 VolToPart[index].pt = vptable.pt; /* Partition: 0:Auto detect, 1-4:Forced partition) */ in SetupVolToPartTable()
52 VolToPart[index].ps = vptable.ps; /* Partition start sector */ in SetupVolToPartTable()
53 VolToPart[index].pc = vptable.pc; /* Partition sector count */ in SetupVolToPartTable()
55 g_diskDrv.initialized[index] = 0; in SetupVolToPartTable()
56 g_diskDrv.drv[index] = dskDrv; in SetupVolToPartTable()
57 g_diskDrv.lun[index] = VolToPart[index].pd; in SetupVolToPartTable()
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_co.c109 UINT8 index = 0; in cacheClose() local
110 if ((index = bta_gattc_co_find_addr_in_cache(bda)) != INVALID_ADDR_NUM) { in cacheClose()
111 if (cache_env->cache_addr[index].is_open) { in cacheClose()
112 nvs_close(cache_env->cache_addr[index].cache_fp); in cacheClose()
113 cache_env->cache_addr[index].is_open = 0; in cacheClose()
118 static bool cacheOpen(BD_ADDR bda, bool to_save, UINT8 *index) in cacheOpen() argument
125 if (((*index = bta_gattc_co_find_addr_in_cache(bda)) != INVALID_ADDR_NUM) || in cacheOpen()
126 ((assoc_addr = bta_gattc_co_cache_find_src_addr(bda, index)) != NULL)) { in cacheOpen()
127 if (cache_env->cache_addr[*index].is_open) { in cacheOpen()
130 memcpy(hash_key, cache_env->cache_addr[*index].hash_key, sizeof(hash_key_t)); in cacheOpen()
[all …]
/device/board/osware/imx8mm/drivers/camera/driver_adapter/src/
Dv4l2_buffer.cpp78 uint32_t index = (uint32_t)frameSpec->buffer_->GetIndex(); in V4L2QueueBuffer() local
79 adapterBufferList[index].userBufPtr = frameSpec->buffer_->GetVirAddress(); in V4L2QueueBuffer()
80 adapterBufferList[index].length = additional_info_->GetLength(); in V4L2QueueBuffer()
82 buf.index = (uint32_t)frameSpec->buffer_->GetIndex(); in V4L2QueueBuffer()
94 buf.index, buf.m.planes[0].length, (void*)buf.m.planes[0].m.userptr); in V4L2QueueBuffer()
99 adapterBufferList[index].start = mmap(NULL, additional_info_->GetLength(), in V4L2QueueBuffer()
101 if (MAP_FAILED == adapterBufferList[index].start) { in V4L2QueueBuffer()
107 buf.index, buf.length, index, (void*)adapterBufferList[index].start); in V4L2QueueBuffer()
118 buf.index, buf.length, (void*)buf.m.userptr); in V4L2QueueBuffer()
136 itr->second[buf.index] = frameSpec; in V4L2QueueBuffer()
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/flash/
Dflash_api.c260 int index = 0; in flash_calib_info_read() local
271 memcpy((char *)buf + index, &calib_info.xtal, sizeof(calib_info.xtal)); in flash_calib_info_read()
272 index += sizeof(calib_info.xtal); in flash_calib_info_read()
275 … memcpy((char *)buf + index, &calib_info.wifi2g4_txpwr, sizeof(calib_info.wifi2g4_txpwr)); in flash_calib_info_read()
276 index += sizeof(calib_info.wifi2g4_txpwr); in flash_calib_info_read()
279 memcpy((char *)buf + index, &calib_info.wifi5g_txpwr, sizeof(calib_info.wifi5g_txpwr)); in flash_calib_info_read()
280 index += sizeof(calib_info.wifi5g_txpwr); in flash_calib_info_read()
282 if (index > len) { in flash_calib_info_read()
310 int index = 0; in flash_wifi_info_read() local
322 *(unsigned int *)((char *)buf + index) = wifi_info.sta_info.config; in flash_wifi_info_read()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/utils/
Dget_bits.h41 int index; member
94 u32 name ## _index = (gb)->index; \
100 #define CLOSE_READER(name, gb) (gb)->index = name ## _index
157 return s->index; in get_bits_count()
169 s->index += n; in skip_bits_long()
274 u32 re_index = s->index; in skip_bits()
281 u32 index = s->index; in get_bits1() local
282 u8 result = s->buffer[index >> 3]; in get_bits1()
285 result >>= index & 7; in get_bits1()
288 result <<= index & 7; in get_bits1()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/canvas/
Dcanvas.c129 static void canvas_config_locked(u32 index, struct canvas_s *p) in canvas_config_locked() argument
141 meson_canvas_config(info->meson_canvas, (u8)index, in canvas_config_locked()
150 void canvas_config_ex(u32 index, ulong addr, u32 width, u32 height, u32 wrap, in canvas_config_ex() argument
156 if (!CANVAS_VALID(index)) in canvas_config_ex()
160 canvas = &info->canvasPool[index]; in canvas_config_ex()
167 canvas_config_locked(index, canvas); in canvas_config_ex()
172 void canvas_config_config(u32 index, struct canvas_config_s *cfg) in canvas_config_config() argument
174 canvas_config_ex(index, cfg->phy_addr, in canvas_config_config()
180 void canvas_config(u32 index, ulong addr, u32 width, u32 height, u32 wrap, in canvas_config() argument
183 return canvas_config_ex(index, addr, width, height, wrap, blkmode, 0); in canvas_config()
[all …]
/device/soc/amlogic/a311d/soc/amlogic/canvas/
Dcanvas.c128 static void canvas_config_locked(u32 index, struct canvas_s *p) in canvas_config_locked() argument
135 …meson_canvas_config(info->meson_canvas, (u8)index, p->addr, p->width, p->height, p->wrap, p->blkmo… in canvas_config_locked()
141 void canvas_config_ex(u32 index, ulong addr, u32 width, u32 height, u32 wrap, u32 blkmode, u32 endi… in canvas_config_ex() argument
146 if (!CANVAS_VALID(index)) { in canvas_config_ex()
151 canvas = &info->canvasPool[index]; in canvas_config_ex()
158 canvas_config_locked(index, canvas); in canvas_config_ex()
163 void canvas_config_config(u32 index, struct canvas_config_s *cfg) in canvas_config_config() argument
165 …canvas_config_ex(index, cfg->phy_addr, cfg->width, cfg->height, CANVAS_ADDR_NOWRAP, cfg->block_mod… in canvas_config_config()
169 void canvas_config(u32 index, ulong addr, u32 width, u32 height, u32 wrap, u32 blkmode) in canvas_config() argument
171 return canvas_config_ex(index, addr, width, height, wrap, blkmode, 0); in canvas_config()
[all …]

12345678910>>...44