Home
last modified time | relevance | path

Searched refs:index (Results 1 - 25 of 396) sorted by relevance

12345678910>>...16

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A 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 in kbase_debugfs_helper_get_attr_to_string()
235 size_t index; kbase_debugfs_helper_seq_read() local
[all...]
H A 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()
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
40 kbase_mem_pool_debugfs_set_max_size(void *const array, size_t const index, size_t const value) kbase_mem_pool_debugfs_set_max_size() argument
74 kbase_mem_pool_config_debugfs_set_max_size(void *const array, size_t const index, size_t const value) kbase_mem_pool_config_debugfs_set_max_size() argument
86 kbase_mem_pool_config_debugfs_max_size(void *const array, size_t const index) kbase_mem_pool_config_debugfs_max_size() argument
[all...]
H A Dmali_kbase_mem_pool_debugfs.h45 * @index: A memory group ID to be used as an index into the array of memory
53 void kbase_mem_pool_debugfs_trim(void *array, size_t index, size_t value);
60 * @index: A memory group ID to be used as an index into the array of memory
67 void kbase_mem_pool_debugfs_set_max_size(void *array, size_t index,
74 * @index: A memory group ID to be used as an index into the array of memory
81 size_t kbase_mem_pool_debugfs_size(void *array, size_t index);
88 * @index
[all...]
/device/qemu/riscv32_virt/liteos_m/board/fs/
H A Dff_gen_drv.c41 so we must assign index=1 when use -drive if=pflash in qemu_run.sh
43 int SetupVolToPartTable(int index, PARTITION vptable, DiskioDrvTypeDef *dskDrv) in SetupVolToPartTable() argument
45 if (index < 0 || index >= FF_VOLUMES) { in SetupVolToPartTable()
46 PRINT_ERR("[%s]the volum index is out of range\n", __func__); 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] in SetupVolToPartTable()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A 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 in kbase_debugfs_helper_get_attr_to_string()
166 size_t index; kbase_debugfs_helper_seq_read() local
[all...]
H A 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
73 kbase_mem_pool_config_debugfs_set_max_size(void *const array, size_t const index, size_t const value) kbase_mem_pool_config_debugfs_set_max_size() argument
84 kbase_mem_pool_config_debugfs_max_size(void *const array, size_t const index) kbase_mem_pool_config_debugfs_max_size() argument
[all...]
H A Dmali_kbase_mem_pool_debugfs.h45 * @index: A memory group ID to be used as an index into the array of memory
53 void kbase_mem_pool_debugfs_trim(void *array, size_t index, size_t value);
60 * @index: A memory group ID to be used as an index into the array of memory
67 void kbase_mem_pool_debugfs_set_max_size(void *array, size_t index, size_t value);
73 * @index: A memory group ID to be used as an index into the array of memory
80 size_t kbase_mem_pool_debugfs_size(void *array, size_t index);
87 * @index
[all...]
/device/soc/hisilicon/common/platform/pin/
H A Dpin_hi35xx.c32 uint32_t index; member
79 static void PinDumperDump(struct Hi35xxPinCntlr *hi35xx, uint32_t index) in PinDumperDump() argument
83 {"PIN_REGISTER", PLATFORM_DUMPER_REGISTERL, (void *)(hi35xx->regBase + index * HI35XX_PIN_REG_SIZE)}, in PinDumperDump()
104 static int32_t Hi35xxPinSetPull(struct PinCntlr *cntlr, uint32_t index, enum PinPullType pullType) in Hi35xxPinSetPull() argument
110 value = OSAL_READL(hi35xx->regBase + index * HI35XX_PIN_REG_SIZE); in Hi35xxPinSetPull()
112 OSAL_WRITEL(value, hi35xx->regBase + index * HI35XX_PIN_REG_SIZE); in Hi35xxPinSetPull()
117 static int32_t Hi35xxPinGetPull(struct PinCntlr *cntlr, uint32_t index, enum PinPullType *pullType) in Hi35xxPinGetPull() argument
123 value = OSAL_READL(hi35xx->regBase + index * HI35XX_PIN_REG_SIZE); in Hi35xxPinGetPull()
129 static int32_t Hi35xxPinSetStrength(struct PinCntlr *cntlr, uint32_t index, uint32_t strength) in Hi35xxPinSetStrength() argument
135 value = OSAL_READL(hi35xx->regBase + index * HI35XX_PIN_REG_SIZ in Hi35xxPinSetStrength()
142 Hi35xxPinGetStrength(struct PinCntlr *cntlr, uint32_t index, uint32_t *strength) Hi35xxPinGetStrength() argument
154 Hi35xxPinSetFunc(struct PinCntlr *cntlr, uint32_t index, const char *funcName) Hi35xxPinSetFunc() argument
178 Hi35xxPinGetFunc(struct PinCntlr *cntlr, uint32_t index, const char **funcName) Hi35xxPinGetFunc() argument
251 Hi35xxPinParsePinNode(const struct DeviceResourceNode *node, struct Hi35xxPinCntlr *hi35xx, int32_t index) Hi35xxPinParsePinNode() argument
349 int32_t index; Hi35xxPinInit() local
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_util.c49 hi_u8 index; in oal_strtoaddr() local
52 for (index = 0; index < 12; index++) { /* 循环12次 */ in oal_strtoaddr()
55 if (index != 0) { in oal_strtoaddr()
56 index--; in oal_strtoaddr()
60 if ((index / 2) >= mac_addr_len) { /* 除2 以找到正确的MAC地址 */ in oal_strtoaddr()
63 mac_addr[index / 2] = /* 除2 以找到正确的MAC地址 */ in oal_strtoaddr()
64 (hi_u8)(mac_addr[index / 2] * 16 * (index in oal_strtoaddr()
119 hi_u16 index; oal_get_lut_index() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
H A Ddrv_hdmi_proc.c503 hi_u32 index; in proc_app_attr_info() local
514 index = min((hi_s32)app_attr->hdmi_action, HDMI_DEFAULT_ACTION_BUTT); in proc_app_attr_info()
515 osal_seq_printf(file, "%-15s: %-20s \n", "DefaultAction", g_default_action_str[index]); in proc_app_attr_info()
529 index = min((hi_s32)app_attr->deep_color_mode, HDMI_DEEP_COLOR_48BIT + 1); in proc_app_attr_info()
530 osal_seq_printf(file, "%-15s: %-20s ", "DeepColorMode", g_deep_color[index]); in proc_app_attr_info()
534 index = min((hi_s32)app_attr->out_color_space, HDMI_COLORSPACE_BUTT); in proc_app_attr_info()
535 osal_seq_printf(file, "%-15s: %-20s ", "OutColorSpace", g_color_space_str[index]); in proc_app_attr_info()
585 hi_u32 index; in proc_sw_status() local
606 index = (frl->mode == HDMI_FRL_MODE_FRL) ? HDMI_TMDS_MODE_HDMI_2_1 : hdmi_dev->tmds_mode; in proc_sw_status()
607 index in proc_sw_status()
632 hi_u32 index; proc_hdr_status() local
655 hi_u32 index; proc_frl_status() local
721 hi_u32 index; proc_hw_status() local
768 proc_if_raw_data(hdmi_proc_entry *file, hi_u32 *index, hi_u32 *line, hi_u8 *data) proc_if_raw_data() argument
789 hi_u32 i, index; proc_vic_timing() local
846 hi_u32 index; proc_video_attr() local
908 hi_u32 i, index, line; proc_video_path() local
1014 hi_u8 index; proc_hdr_info() local
1077 hi_u32 index; porc_auido_attr() local
1115 hi_u32 index; proc_audio_path() local
1731 hi_u32 index; proc_sink_frl_caps() local
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/
H A Dmac_mib.c229 hi_u8 index; in mac_mib_set_rsna_auth_suite() local
232 index = 0; in mac_mib_set_rsna_auth_suite()
234 index = 1; in mac_mib_set_rsna_auth_suite()
238 mac_vap->mib_info->ast_wlan_mib_rsna_cfg_auth_suite[index].dot11_rsna_config_authentication_suite_implemented = in mac_mib_set_rsna_auth_suite()
240 mac_vap->mib_info->ast_wlan_mib_rsna_cfg_auth_suite[index].dot11_rsna_config_authentication_suite_activated = in mac_mib_set_rsna_auth_suite()
247 hi_u8 index; in mac_mib_set_rsnaconfig_wpa_pairwise_cipher_implemented() local
250 index = 0; in mac_mib_set_rsnaconfig_wpa_pairwise_cipher_implemented()
252 index = 1; in mac_mib_set_rsnaconfig_wpa_pairwise_cipher_implemented()
258 mac_vap->mib_info->ast_wlan_mib_rsna_cfg_wpa_pairwise_cipher[index].dot11_rsna_config_pairwise_cipher_implemented = in mac_mib_set_rsnaconfig_wpa_pairwise_cipher_implemented()
260 mac_vap->mib_info->ast_wlan_mib_rsna_cfg_wpa_pairwise_cipher[index] in mac_mib_set_rsnaconfig_wpa_pairwise_cipher_implemented()
267 hi_u8 index; mac_mib_set_rsnaconfig_wpa2_pairwise_cipher_implemented() local
[all...]
H A Dmac_frame.c302 hi_u8 index = 0; in mac_set_rsn_group_cipher_suite_field() local
305 index = MAC_IE_HDR_LEN; in mac_set_rsn_group_cipher_suite_field()
309 index = MAC_IE_VENDOR_SPEC_MESH_HDR_LEN; in mac_set_rsn_group_cipher_suite_field()
324 puc_buffer[index++] = MAC_RSN_IE_VERSION; in mac_set_rsn_group_cipher_suite_field()
325 puc_buffer[index++] = 0; in mac_set_rsn_group_cipher_suite_field()
336 if (memcpy_s(&puc_buffer[index], MAC_OUI_LEN, auc_oui, MAC_OUI_LEN) != EOK) { in mac_set_rsn_group_cipher_suite_field()
339 index += MAC_OUI_LEN; in mac_set_rsn_group_cipher_suite_field()
340 puc_buffer[index++] = mac_vap->mib_info->wlan_mib_rsna_cfg.dot11_rsna_config_group_cipher; in mac_set_rsn_group_cipher_suite_field()
342 puc_buffer[index++] = 1; in mac_set_rsn_group_cipher_suite_field()
343 puc_buffer[index in mac_set_rsn_group_cipher_suite_field()
367 hi_u8 index = 0; mac_set_rsn_mesh_ie_authenticator() local
825 hi_u8 index; mac_set_wmm_params_ie() local
1677 hi_u8 index; mac_set_country_ie() local
2444 hi_u8 index; mac_set_wmm_ie_sta() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A Dapp_demo_sdio_device.c41 hi_u32 index = 0; in app_demo_sdio_read_start_callback() local
47 if (hi_sdio_set_admatable(admatable, index++, addr, DATA_BLOCK) != 0) { in app_demo_sdio_read_start_callback()
55 if (hi_sdio_set_admatable(admatable, index++, addr, remain) != 0) { in app_demo_sdio_read_start_callback()
60 if (hi_sdio_complete_send(admatable, index) != 0) { in app_demo_sdio_read_start_callback()
65 return (hi_s32) index; in app_demo_sdio_read_start_callback()
80 hi_u32 index = 0; in app_demo_sdio_write_start_callback() local
85 if (hi_sdio_set_admatable(admatable, index++, addr, DATA_BLOCK) != 0) { in app_demo_sdio_write_start_callback()
94 if (hi_sdio_set_admatable(admatable, index++, addr, remain) != 0) { in app_demo_sdio_write_start_callback()
99 if (hi_sdio_complete_send(admatable, index) != 0) { in app_demo_sdio_write_start_callback()
104 return (hi_s32) index; in app_demo_sdio_write_start_callback()
[all...]
/device/soc/hisilicon/common/hal/display/source/display_device/src/composer/
H A Dhdi_composer.h52 HdiComposition *GetPreCompostion(uint32_t index) in GetPreCompostion() argument
54 if (index >= preComp_.size()) { in GetPreCompostion()
55 DISPLAY_LOGE("the index is overflow index %{public}d", index); in GetPreCompostion()
58 return preComp_[index].get(); in GetPreCompostion()
61 HdiComposition *GetPostCompostion(uint32_t index) in GetPostCompostion() argument
63 if (index >= postComp_.size()) { in GetPostCompostion()
64 DISPLAY_LOGE("the index is overflow index in GetPostCompostion()
[all...]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
H A Ddev.c48 /* show the compact mode of each stream in stream index order,
65 int i, index; in rkcif_store_compact_mode() local
69 index = 0; in rkcif_store_compact_mode()
76 val[index] = buf[i]; in rkcif_store_compact_mode()
77 index++; in rkcif_store_compact_mode()
78 if (index == NUMBER_4) { in rkcif_store_compact_mode()
84 for (i = 0; i < index; i++) { in rkcif_store_compact_mode()
159 /* show the memory mode of each stream in stream index order,
178 int i, index; in rkcif_store_memory_mode() local
182 index in rkcif_store_memory_mode()
229 int i = 0, index = 0; rkcif_store_scale_ch0_blc() local
293 int i = 0, index = 0; rkcif_store_scale_ch1_blc() local
359 int i = 0, index = 0; rkcif_store_scale_ch2_blc() local
424 int i = 0, index = 0; rkcif_store_scale_ch3_blc() local
490 rkcif_write_register(struct rkcif_device *dev, enum cif_reg_index index, u32 val) rkcif_write_register() argument
509 rkcif_write_register_or(struct rkcif_device *dev, enum cif_reg_index index, u32 val) rkcif_write_register_or() argument
533 rkcif_write_register_and(struct rkcif_device *dev, enum cif_reg_index index, u32 val) rkcif_write_register_and() argument
557 rkcif_read_register(struct rkcif_device *dev, enum cif_reg_index index) rkcif_read_register() argument
580 rkcif_write_grf_reg(struct rkcif_device *dev, enum cif_reg_index index, u32 val) rkcif_write_grf_reg() argument
596 rkcif_read_grf_reg(struct rkcif_device *dev, enum cif_reg_index index) rkcif_read_grf_reg() argument
1101 int ret, index; subdev_notifier_complete() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
H A Ddev.c43 /* show the compact mode of each stream in stream index order,
66 int i, index; in rkcif_store_compact_mode() local
70 index = 0; in rkcif_store_compact_mode()
77 val[index] = buf[i]; in rkcif_store_compact_mode()
78 index++; in rkcif_store_compact_mode()
79 if (index == 4) in rkcif_store_compact_mode()
84 for (i = 0; i < index; i++) { in rkcif_store_compact_mode()
170 /* show the memory mode of each stream in stream index order,
194 int i, index; in rkcif_store_memory_mode() local
198 index in rkcif_store_memory_mode()
251 int i = 0, index = 0; rkcif_store_scale_ch0_blc() local
321 int i = 0, index = 0; rkcif_store_scale_ch1_blc() local
393 int i = 0, index = 0; rkcif_store_scale_ch2_blc() local
464 int i = 0, index = 0; rkcif_store_scale_ch3_blc() local
536 rkcif_write_register(struct rkcif_device *dev, enum cif_reg_index index, u32 val) rkcif_write_register() argument
559 rkcif_write_register_or(struct rkcif_device *dev, enum cif_reg_index index, u32 val) rkcif_write_register_or() argument
587 rkcif_write_register_and(struct rkcif_device *dev, enum cif_reg_index index, u32 val) rkcif_write_register_and() argument
615 rkcif_read_register(struct rkcif_device *dev, enum cif_reg_index index) rkcif_read_register() argument
642 rkcif_write_grf_reg(struct rkcif_device *dev, enum cif_reg_index index, u32 val) rkcif_write_grf_reg() argument
660 rkcif_read_grf_reg(struct rkcif_device *dev, enum cif_reg_index index) rkcif_read_grf_reg() argument
1187 int ret, index; subdev_notifier_complete() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/packet_tool/
H A Dpacket_tool.py115 #crc range is FWPKG_HEAD.imageNum to end, begin index is 6bytes
149 for index in range(0, imageNum):
166 for index in range(0, imageNum):
167 file.seek(startIndexList[index])
168 fileInfoList.append(file.read(imageSizeList[index]))
170 for index in range(0, len(pathNameListNew)):
171 pathNew = pathNameListNew[index]
184 burnAddrList[index2] = burnAddrListNew[index]
185 burnSizeList[index2] = burnSizeListNew[index]
186 imageSizeList[index2] = imageSizeListNew[index]
[all...]
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/inc/
H A Dmpp_buf_slot.h26 * buffer slot index range is 0~254, 0xff (255) will indicated the invalid index
41 MPP_RET mpp_buf_slot_get_unused(MppBufSlots slots, RK_S32 *index);
52 MPP_RET mpp_buf_slot_set_flag(MppBufSlots slots, RK_S32 index, SlotUsageType type);
53 MPP_RET mpp_buf_slot_clr_flag(MppBufSlots slots, RK_S32 index, SlotUsageType type);
63 MPP_RET mpp_buf_slot_enqueue(MppBufSlots slots, RK_S32 index, SlotQueueType type);
64 MPP_RET mpp_buf_slot_dequeue(MppBufSlots slots, RK_S32 *index, SlotQueueType type);
74 MPP_RET mpp_buf_slot_set_prop(MppBufSlots slots, RK_S32 index, SlotPropType type, void *val);
75 MPP_RET mpp_buf_slot_get_prop(MppBufSlots slots, RK_S32 index, SlotPropType type, void *val);
97 MPP_RET mpp_buf_slot_reset(MppBufSlots slots, RK_S32 index); // res
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_profiling_internal.c211 mali_osk_errcode_t _mali_internal_profiling_get_event(u32 index, u64 *timestamp, u32 *event_id, u32 data[5]) in _mali_internal_profiling_get_event() argument
217 if (index < profile_mask) { in _mali_internal_profiling_get_event()
219 index += raw_index; in _mali_internal_profiling_get_event()
220 index &= profile_mask; in _mali_internal_profiling_get_event()
228 if (index >= raw_index) { in _mali_internal_profiling_get_event()
233 *timestamp = profile_entries[index].timestamp; in _mali_internal_profiling_get_event()
234 *event_id = profile_entries[index].event_id; in _mali_internal_profiling_get_event()
235 data[0] = profile_entries[index].data[0]; in _mali_internal_profiling_get_event()
236 data[1] = profile_entries[index].data[1]; in _mali_internal_profiling_get_event()
237 data[0x02] = profile_entries[index] in _mali_internal_profiling_get_event()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_profiling_internal.c207 _mali_osk_errcode_t _mali_internal_profiling_get_event(u32 index, u64 *timestamp, u32 *event_id, u32 data[5]) in _mali_internal_profiling_get_event() argument
213 if (index < profile_mask) { in _mali_internal_profiling_get_event()
215 index += raw_index; in _mali_internal_profiling_get_event()
216 index &= profile_mask; in _mali_internal_profiling_get_event()
224 if (index >= raw_index) { in _mali_internal_profiling_get_event()
229 *timestamp = profile_entries[index].timestamp; in _mali_internal_profiling_get_event()
230 *event_id = profile_entries[index].event_id; in _mali_internal_profiling_get_event()
231 data[0] = profile_entries[index].data[0]; in _mali_internal_profiling_get_event()
232 data[1] = profile_entries[index].data[1]; in _mali_internal_profiling_get_event()
233 data[2] = profile_entries[index] in _mali_internal_profiling_get_event()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_clk_rate_trace_mgr.c57 kbase_clk_rate_trace_manager_notify_all(clk_rtm, clk_data->index, ndata->new_rate); in gpu_clk_rate_change_notifier()
67 static int gpu_clk_data_init(struct kbase_device *kbdev, void *gpu_clk_handle, unsigned int index) in gpu_clk_data_init() argument
74 if (WARN_ON(!callbacks) || WARN_ON(!gpu_clk_handle) || WARN_ON(index >= BASE_MAX_NR_CLOCKS_REGULATORS)) { in gpu_clk_data_init()
80 dev_err(kbdev->dev, "Failed to allocate data for clock enumerated at index %u", index); in gpu_clk_data_init()
84 clk_data->index = (u8)index; in gpu_clk_data_init()
94 kbase_clk_rate_trace_manager_notify_all(clk_rtm, clk_data->index, 0); in gpu_clk_data_init()
99 clk_rtm->clks[index] = clk_data; in gpu_clk_data_init()
105 dev_err(kbdev->dev, "Failed to register notifier for clock enumerated at index in gpu_clk_data_init()
[all...]
/device/soc/rockchip/rk3588/hardware/rga/include/
H A DRgaUtils.h25 int get_buf_from_file(void *buf, int f, int sw, int sh, int index);
26 int output_buf_data_to_file(void *buf, int f, int sw, int sh, int index);
28 int get_buf_from_file_FBC(void *buf, int f, int sw, int sh, int index);
29 int output_buf_data_to_file_FBC(void *buf, int f, int sw, int sh, int index);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_wow.c431 oam_error_log2(0, OAM_SF_WOW, "{hmac_wow_add_pattern:: param error, index = %d, len = %d.}", us_pattern_index, in hmac_wow_add_pattern()
454 hi_void hmac_check_if_del_pattern(hi_u16 index, const hi_u16 *pattern_num) in hmac_check_if_del_pattern() argument
457 if ((1 << index) & g_wow_info.wow_cfg.wow_pattern.us_pattern_map) { in hmac_check_if_del_pattern()
458 g_wow_info.wow_cfg.wow_pattern.us_pattern_map &= ~(1 << index); in hmac_check_if_del_pattern()
460 g_wow_info.wow_cfg.wow_pattern.ast_pattern[index].pattern_len = 0; in hmac_check_if_del_pattern()
463 memset_s(g_wow_info.wow_cfg.wow_pattern.ast_pattern[index].auc_pattern_data, WOW_NETPATTERN_MAX_LEN, 0, in hmac_check_if_del_pattern()
490 hi_u16 index = pattern->us_pattern_index; in hmac_wow_set_pattern_cmd() local
494 if ((index >= WOW_NETPATTERN_MAX_NUM) || (len == 0) || (len > WOW_NETPATTERN_MAX_LEN)) { in hmac_wow_set_pattern_cmd()
495 oam_error_log2(0, OAM_SF_WOW, "{hmac_wow_set_pattern_cmd::ADD::param Err,index=%d,len=%d}", index, le in hmac_wow_set_pattern_cmd()
926 hi_u32 index; hmac_wow_proc_dev_sync_host_event() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_clk_rate_trace_mgr.c135 clk_rtm, clk_data->index, ndata->new_rate); in gpu_clk_rate_change_notifier()
146 void *gpu_clk_handle, unsigned int index) in gpu_clk_data_init()
157 WARN_ON(index >= BASE_MAX_NR_CLOCKS_REGULATORS)) in gpu_clk_data_init()
162 dev_err(kbdev->dev, "Failed to allocate data for clock enumerated at index %u", index); in gpu_clk_data_init()
166 clk_data->index = (u8)index; in gpu_clk_data_init()
178 clk_rtm, clk_data->index, 0); in gpu_clk_data_init()
183 clk_rtm->clks[index] = clk_data; in gpu_clk_data_init()
192 dev_err(kbdev->dev, "Failed to register notifier for clock enumerated at index in gpu_clk_data_init()
145 gpu_clk_data_init(struct kbase_device *kbdev, void *gpu_clk_handle, unsigned int index) gpu_clk_data_init() argument
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/frw/
H A Dfrw_event.c190 hi_u8 index; in frw_get_event_sub_table() local
193 index = (hi_u8)((type << 1) | (pipeline & 0x01)); in frw_get_event_sub_table()
194 frw_event_table = &g_ast_event_table[index]; in frw_get_event_sub_table()
357 hi_u8 index; in frw_event_table_register() local
364 index = (hi_u8)((type << 1) | (pipeline & 0x01)); in frw_event_table_register()
365 if (oal_unlikely(index >= FRW_EVENT_TABLE_MAX_ITEMS)) { in frw_event_table_register()
366 oam_error_log1(0, OAM_SF_FRW, "{frw_event_table_register, array overflow! %d}", index); in frw_event_table_register()
369 g_ast_event_table[index].sub_table = sub_table; in frw_event_table_register()
693 hi_u8 index; in frw_event_lookup_process_entry() local
701 index in frw_event_lookup_process_entry()
[all...]

Completed in 21 milliseconds

12345678910>>...16