| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | resources.h | 131 enum mlxsw_res_id res_id) in mlxsw_res_valid() argument 133 return res->valid[res_id]; in mlxsw_res_valid() 140 enum mlxsw_res_id res_id) in mlxsw_res_get() argument 142 if (WARN_ON(!res->valid[res_id])) in mlxsw_res_get() 144 return res->values[res_id]; in mlxsw_res_get() 151 enum mlxsw_res_id res_id, u64 value) in mlxsw_res_set() argument 153 res->valid[res_id] = true; in mlxsw_res_set() 154 res->values[res_id] = value; in mlxsw_res_set()
|
| /linux/include/linux/netfilter/ |
| H A D | nfnetlink.h | 68 __be16 res_id) in nfnl_fill_hdr() argument 75 nfmsg->res_id = res_id; in nfnl_fill_hdr() 81 __be16 res_id) in nfnl_msg_put() argument 89 nfnl_fill_hdr(nlh, family, version, res_id); in nfnl_msg_put()
|
| /linux/include/trace/events/ |
| H A D | scmi.h | 13 TP_PROTO(u8 protocol_id, u8 msg_id, u32 res_id, u32 val1, u32 val2), 14 TP_ARGS(protocol_id, msg_id, res_id, val1, val2), 19 __field(u32, res_id) 27 __entry->res_id = res_id; 34 __entry->res_id, __entry->val1, __entry->val2)
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | resource_tracker.c | 74 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 …]
|
| /linux/drivers/usb/dwc3/ |
| H A D | gadget.h | 133 u32 res_id; in dwc3_gadget_ep_get_transfer_index() local 135 res_id = dwc3_readl(dep->regs, DWC3_DEPCMD); in dwc3_gadget_ep_get_transfer_index() 136 dep->resource_index = DWC3_DEPCMD_GET_RSC_IDX(res_id); in dwc3_gadget_ep_get_transfer_index()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_dev.c | 3623 const char *qed_hw_get_resc_name(enum qed_resources res_id) in qed_hw_get_resc_name() argument 3625 switch (res_id) { in qed_hw_get_resc_name() 3664 enum qed_resources res_id, in __qed_hw_set_soft_resc_size() argument 3669 rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id, in __qed_hw_set_soft_resc_size() 3674 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_soft_resc_size() 3681 res_id, qed_hw_get_resc_name(res_id), *p_mcp_resp); in __qed_hw_set_soft_resc_size() 3718 u8 res_id; in qed_hw_set_soft_resc_size() local 3721 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) { in qed_hw_set_soft_resc_size() 3722 switch (res_id) { in qed_hw_set_soft_resc_size() 3746 rc = __qed_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id, in qed_hw_set_soft_resc_size() [all …]
|
| H A D | qed_mcp.c | 3503 static enum resource_id_enum qed_mcp_get_mfw_res_id(enum qed_resources res_id) in qed_mcp_get_mfw_res_id() argument 3507 switch (res_id) { in qed_mcp_get_mfw_res_id() 3568 enum qed_resources res_id; member 3594 mfw_resc_info.res_id = qed_mcp_get_mfw_res_id(p_in_params->res_id); in qed_mcp_resc_allocation_msg() 3595 if (mfw_resc_info.res_id == RESOURCE_NUM_INVALID) { in qed_mcp_resc_allocation_msg() 3598 p_in_params->res_id, in qed_mcp_resc_allocation_msg() 3599 qed_hw_get_resc_name(p_in_params->res_id)); in qed_mcp_resc_allocation_msg() 3627 p_in_params->res_id, in qed_mcp_resc_allocation_msg() 3628 qed_hw_get_resc_name(p_in_params->res_id), in qed_mcp_resc_allocation_msg() 3665 enum qed_resources res_id, in qed_mcp_set_resc_max_val() argument [all …]
|
| H A D | qed_dev_api.h | 528 const char *qed_hw_get_resc_name(enum qed_resources res_id);
|
| H A D | qed_mcp.h | 1120 enum qed_resources res_id, 1139 enum qed_resources res_id,
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | conntrack_dump_flush.c | 162 nfh->res_id = 0; in conntrack_data_generate_v4() 196 nfh->res_id = 0; in conntrack_data_generate_v6() 238 nfh->res_id = 0; in conntracK_count_zone() 285 nfh->res_id = 0; in conntrack_flush_zone()
|
| H A D | nf_queue.c | 137 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()
|
| /linux/fs/dlm/ |
| H A D | recover.c | 319 if (r->res_id) { in recover_xa_add() 327 r->res_id = id; in recover_xa_add() 341 xa_erase_bh(&ls->ls_recover_xa, r->res_id); in recover_xa_del() 342 r->res_id = 0; in recover_xa_del() 368 r->res_id = 0; in recover_xa_clear()
|
| H A D | dlm_internal.h | 320 unsigned long res_id; /* for ls_recover_xa */ member
|
| H A D | rcom.c | 372 rc->rc_id = cpu_to_le64(r->res_id); in dlm_send_rcom_lookup()
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | nfnetlink.h | 37 __be16 res_id; /* resource id */ member
|
| /linux/drivers/s390/cio/ |
| H A D | scm.c | 107 scm_attr(res_id); 148 scmdev->attrs.res_id = sale->rid; in scmdev_setup()
|
| /linux/arch/s390/include/asm/ |
| H A D | eadm.h | 96 unsigned int res_id:8; member
|
| /linux/drivers/firmware/arm_scmi/ |
| H A D | protocols.h | 269 u8 cmd_id, u32 res_id, u32 *flags, char *name,
|
| H A D | driver.c | 1686 u8 cmd_id, u32 res_id, u32 *flags, in scmi_common_extended_name_get() argument 1694 txlen = !flags ? sizeof(res_id) : sizeof(res_id) + sizeof(*flags); in scmi_common_extended_name_get() 1699 put_unaligned_le32(res_id, t->tx.buf); in scmi_common_extended_name_get() 1701 put_unaligned_le32(*flags, t->tx.buf + sizeof(res_id)); in scmi_common_extended_name_get() 1713 res_id, ret, name); in scmi_common_extended_name_get()
|
| /linux/drivers/net/netdevsim/ |
| H A D | fib.c | 137 enum nsim_resource_id res_id, bool max) in nsim_fib_get_val() argument 141 switch (res_id) { in nsim_fib_get_val() 165 enum nsim_resource_id res_id, u64 val) in nsim_fib_set_max() argument 169 switch (res_id) { in nsim_fib_set_max()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_switch.h | 345 int ice_share_res(struct ice_hw *hw, u16 type, u8 shared, u16 res_id);
|
| /linux/net/netfilter/ |
| H A D | nfnetlink_queue.c | 1301 u16 queue_num = ntohs(info->nfmsg->res_id); in nfqnl_recv_verdict_batch() 1412 u_int16_t queue_num = ntohs(info->nfmsg->res_id); in nfqnl_recv_verdict() 1497 u_int16_t queue_num = ntohs(info->nfmsg->res_id); in nfqnl_recv_config()
|
| H A D | nfnetlink_log.c | 886 u_int16_t group_num = ntohs(info->nfmsg->res_id); in nfulnl_recv_config()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_e610.c | 408 cmd_resp->res_id = cpu_to_le16(res); in ixgbe_aci_req_res() 446 cmd->res_id = cpu_to_le16(res); in ixgbe_aci_release_res()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | ib_verbs.c | 4825 u32 res_id; in UVERBS_HANDLER() local 4838 err = uverbs_copy_from(&res_id, attrs, BNXT_RE_TOGGLE_MEM_RES_ID); in UVERBS_HANDLER() 4844 cq = bnxt_re_search_for_cq(rdev, res_id); in UVERBS_HANDLER() 4851 srq = bnxt_re_search_for_srq(rdev, res_id); in UVERBS_HANDLER()
|