Home
last modified time | relevance | path

Searched refs:res_id (Results 1 – 25 of 39) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dresources.h125 enum mlxsw_res_id res_id) in mlxsw_res_valid() argument
127 return res->valid[res_id]; in mlxsw_res_valid()
134 enum mlxsw_res_id res_id) in mlxsw_res_get() argument
136 if (WARN_ON(!res->valid[res_id])) in mlxsw_res_get()
138 return res->values[res_id]; in mlxsw_res_get()
145 enum mlxsw_res_id res_id, u64 value) in mlxsw_res_set() argument
147 res->valid[res_id] = true; in mlxsw_res_set()
148 res->values[res_id] = value; in mlxsw_res_set()
H A Dspectrum_cnt.c58 enum mlxsw_res_id res_id; in mlxsw_sp_counter_sub_pools_init() local
64 res_id = sub_pool->entry_size_res_id; in mlxsw_sp_counter_sub_pools_init()
66 if (!mlxsw_core_res_valid(mlxsw_sp->core, res_id)) in mlxsw_sp_counter_sub_pools_init()
69 res_id); in mlxsw_sp_counter_sub_pools_init()
H A Dcore.h392 enum mlxsw_res_id res_id);
398 enum mlxsw_res_id res_id);
/OK3568_Linux_fs/kernel/include/linux/netfilter/
H A Dnfnetlink.h66 __be16 res_id) in nfnl_fill_hdr() argument
73 nfmsg->res_id = res_id; in nfnl_fill_hdr()
79 __be16 res_id) in nfnl_msg_put() argument
87 nfnl_fill_hdr(nlh, family, version, res_id); in nfnl_msg_put()
/OK3568_Linux_fs/kernel/drivers/soc/qcom/
H A Drpmpd.c47 .res_id = r_id, \
55 .res_id = r_id, \
63 .res_id = r_id, \
71 .res_id = r_id, \
79 .res_id = r_id, \
87 .res_id = r_id, \
105 const int res_id; member
241 pd->res_type, pd->res_id, &req, sizeof(req)); in rpmpd_send_enable()
252 return qcom_rpm_smd_write(pd->rpm, state, pd->res_type, pd->res_id, in rpmpd_send_corner()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c74 u64 res_id; member
235 static void *res_tracker_lookup(struct rb_root *root, u64 res_id) in res_tracker_lookup() argument
243 if (res_id < res->res_id) in res_tracker_lookup()
245 else if (res_id > res->res_id) in res_tracker_lookup()
263 if (res->res_id < this->res_id) in res_tracker_insert()
265 else if (res->res_id > this->res_id) in res_tracker_insert()
882 static void *find_res(struct mlx4_dev *dev, u64 res_id, in find_res() argument
888 res_id); in find_res()
891 static int _get_res(struct mlx4_dev *dev, int slave, u64 res_id, in _get_res() argument
899 r = find_res(dev, res_id, type); in _get_res()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/dwc3/
H A Dgadget.h101 u32 res_id; in dwc3_gadget_ep_get_transfer_index() local
103 res_id = dwc3_readl(dwc->regs, DWC3_DEPCMD(number)); in dwc3_gadget_ep_get_transfer_index()
105 return DWC3_DEPCMD_GET_RSC_IDX(res_id); in dwc3_gadget_ep_get_transfer_index()
/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Dgadget.h148 u32 res_id; in dwc3_gadget_ep_get_transfer_index() local
150 res_id = dwc3_readl(dep->regs, DWC3_DEPCMD); in dwc3_gadget_ep_get_transfer_index()
151 dep->resource_index = DWC3_DEPCMD_GET_RSC_IDX(res_id); in dwc3_gadget_ep_get_transfer_index()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev.c3549 const char *qed_hw_get_resc_name(enum qed_resources res_id) in qed_hw_get_resc_name() argument
3551 switch (res_id) { in qed_hw_get_resc_name()
3590 enum qed_resources res_id, in __qed_hw_set_soft_resc_size() argument
3595 rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id, in __qed_hw_set_soft_resc_size()
3600 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_soft_resc_size()
3607 res_id, qed_hw_get_resc_name(res_id), *p_mcp_resp); in __qed_hw_set_soft_resc_size()
3643 u8 res_id; in qed_hw_set_soft_resc_size() local
3645 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) { in qed_hw_set_soft_resc_size()
3646 switch (res_id) { in qed_hw_set_soft_resc_size()
3670 rc = __qed_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id, in qed_hw_set_soft_resc_size()
[all …]
H A Dqed_mcp.c3461 static enum resource_id_enum qed_mcp_get_mfw_res_id(enum qed_resources res_id) in qed_mcp_get_mfw_res_id() argument
3465 switch (res_id) { in qed_mcp_get_mfw_res_id()
3526 enum qed_resources res_id; member
3552 mfw_resc_info.res_id = qed_mcp_get_mfw_res_id(p_in_params->res_id); in qed_mcp_resc_allocation_msg()
3553 if (mfw_resc_info.res_id == RESOURCE_NUM_INVALID) { in qed_mcp_resc_allocation_msg()
3556 p_in_params->res_id, in qed_mcp_resc_allocation_msg()
3557 qed_hw_get_resc_name(p_in_params->res_id)); in qed_mcp_resc_allocation_msg()
3585 p_in_params->res_id, in qed_mcp_resc_allocation_msg()
3586 qed_hw_get_resc_name(p_in_params->res_id), in qed_mcp_resc_allocation_msg()
3623 enum qed_resources res_id, in qed_mcp_set_resc_max_val() argument
[all …]
H A Dqed_dev_api.h487 const char *qed_hw_get_resc_name(enum qed_resources res_id);
H A Dqed_mcp.h1068 enum qed_resources res_id,
1086 enum qed_resources res_id,
/OK3568_Linux_fs/kernel/include/linux/
H A Dbtf.h99 u32 id, u32 *res_id);
101 u32 id, u32 *res_id);
103 u32 id, u32 *res_id);
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/alsc/
H A Drk_aiq_alsc_algo.cpp598 for (uint32_t res_id = 0; res_id < illu_case.res_count; res_id++) in ClearContext() local
600 if (illu_case.res_group[res_id].lsc_table_group) { in ClearContext()
601 free(illu_case.res_group[res_id].lsc_table_group); in ClearContext()
602 illu_case.res_group[res_id].lsc_table_group = NULL; in ClearContext()
604 … LOGI_ALSC("%s: free: res_group[%d].lsc_table_group is already NULL!\n", __func__, res_id); in ClearContext()
724 for(uint32_t res_id = 0; res_id < illu_case.res_count; res_id++) in UpdateLscCalibPara() local
726 alsc_illu_case_resolution_t& illu_case_res = illu_case.res_group[res_id]; in UpdateLscCalibPara()
727 strcpy(illu_case_res.resolution.name, calib2->common.resolutionAll[res_id].name); in UpdateLscCalibPara()
787 for (uint32_t res_id = 0; res_id < hAlsc->res_grad_count; res_id++) { in UpdateLscCalibPara() local
788 CalibDbV2_Lsc_Resolution_t& src = calib2->common.resolutionAll[res_id]; in UpdateLscCalibPara()
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnfnetlink.c554 u16 res_id; in nfnetlink_rcv_skb_batch() local
575 if (nfgenmsg->res_id == NFNL_SUBSYS_NFTABLES) in nfnetlink_rcv_skb_batch()
576 res_id = NFNL_SUBSYS_NFTABLES; in nfnetlink_rcv_skb_batch()
578 res_id = ntohs(nfgenmsg->res_id); in nfnetlink_rcv_skb_batch()
580 nfnetlink_rcv_batch(skb, nlh, res_id, gen_id); in nfnetlink_rcv_skb_batch()
/OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/
H A Dnf-queue.c137 nfg->res_id = htons(queue_num); in nfq_build_cfg_request()
160 nfg->res_id = htons(queue_num); in nfq_build_cfg_params()
183 nfg->res_id = htons(queue_num); in nfq_build_verdict()
/OK3568_Linux_fs/kernel/fs/dlm/
H A Drecover.c314 if (r->res_id) { in recover_idr_add()
322 r->res_id = rv; in recover_idr_add()
337 idr_remove(&ls->ls_recover_idr, r->res_id); in recover_idr_del()
338 r->res_id = 0; in recover_idr_del()
364 r->res_id = 0; in recover_idr_clear()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-filter/libnfnetlink/libnfnetlink/
H A D0005-include-Sync-with-kernel-headers.patch23 - u_int16_t res_id; /* resource id */
26 + __be16 res_id; /* resource id */
/OK3568_Linux_fs/buildroot/package/libnfnetlink/
H A D0002-include-Sync-with-kernel-headers.patch27 - u_int16_t res_id; /* resource id */
30 + __be16 res_id; /* resource id */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/netfilter/
H A Dnfnetlink.h37 __be16 res_id; /* resource id */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/netfilter/
H A Dnfnetlink.h37 __be16 res_id; /* resource id */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/netfilter/
H A Dnfnetlink.h37 __be16 res_id; /* resource id */ member
/OK3568_Linux_fs/kernel/drivers/s390/cio/
H A Dscm.c105 scm_attr(res_id);
146 scmdev->attrs.res_id = sale->rid; in scmdev_setup()
/OK3568_Linux_fs/kernel/drivers/net/netdevsim/
H A Dfib.c90 enum nsim_resource_id res_id, bool max) in nsim_fib_get_val() argument
94 switch (res_id) { in nsim_fib_get_val()
115 enum nsim_resource_id res_id, u64 val) in nsim_fib_set_max() argument
119 switch (res_id) { in nsim_fib_set_max()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Deadm.h95 unsigned int res_id:8; member

12