/linux-master/drivers/pmdomain/qcom/ |
H A D | rpmpd.c | 57 const int res_type; member in struct:rpmpd 77 .res_type = RPMPD_RWCX, 86 .res_type = RPMPD_RWCX, 95 .res_type = RPMPD_SMPA, 104 .res_type = RPMPD_SMPA, 113 .res_type = RPMPD_SMPA, 122 .res_type = RPMPD_SMPA, 131 .res_type = RPMPD_SMPA, 140 .res_type = RPMPD_SMPA, 149 .res_type [all...] |
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_vnic.c | 48 static enum vnic_res_type _to_vnic_res_type(enum usnic_vnic_res_type res_type) argument 59 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) 62 return usnic_vnic_type_2_vnic_type[res_type]; 65 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type) argument 76 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) 79 return usnic_vnic_res_type_desc[res_type]; 181 enum usnic_vnic_res_type res_type; local 187 res_type = res_spec->resources[i].type; 191 usnic_vnic_res_type_to_str(res_type), 202 enum usnic_vnic_res_type res_type; local 352 enum usnic_vnic_res_type res_type; local 421 enum usnic_vnic_res_type res_type; local [all...] |
H A D | usnic_ib_sysfs.c | 71 enum usnic_vnic_res_type res_type; local 96 for (res_type = USNIC_VNIC_RES_TYPE_EOL; 97 res_type < USNIC_VNIC_RES_TYPE_MAX; res_type++) { 98 if (us_ibdev->vf_res_cnt[res_type] == 0) 102 us_ibdev->vf_res_cnt[res_type], 103 usnic_vnic_res_type_to_str(res_type));
|
H A D | usnic_vnic.h | 85 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type);
|
H A D | usnic_ib_qp_grp.c | 535 enum usnic_vnic_res_type res_type; local 552 res_type = res_spec->resources[i].type; 555 res_chunk_list[i] = usnic_vnic_get_resources(vnic, res_type, 561 usnic_vnic_res_type_to_str(res_type), 745 enum usnic_vnic_res_type res_type) 750 if (qp_grp->res_chunk_list[i]->type == res_type) 744 usnic_ib_qp_grp_get_chunk(struct usnic_ib_qp_grp *qp_grp, enum usnic_vnic_res_type res_type) argument
|
H A D | usnic_ib_main.c | 535 enum usnic_vnic_res_type res_type; local 587 for (res_type = USNIC_VNIC_RES_TYPE_EOL+1; 588 res_type < USNIC_VNIC_RES_TYPE_MAX; 589 res_type++) { 590 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, 591 res_type);
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmdbuf_res.c | 74 * @res_type: The resource type, that combined with the user key 83 enum vmw_cmdbuf_res_type res_type, 87 unsigned long key = user_key | (res_type << 24); 186 * @res_type: The resource type. 196 enum vmw_cmdbuf_res_type res_type, 207 cres->hash.key = user_key | (res_type << 24); 222 * @res_type: The resource type. 235 enum vmw_cmdbuf_res_type res_type, 242 unsigned long key = user_key | (res_type << 24); 82 vmw_cmdbuf_res_lookup(struct vmw_cmdbuf_res_manager *man, enum vmw_cmdbuf_res_type res_type, u32 user_key) argument 195 vmw_cmdbuf_res_add(struct vmw_cmdbuf_res_manager *man, enum vmw_cmdbuf_res_type res_type, u32 user_key, struct vmw_resource *res, struct list_head *list) argument 234 vmw_cmdbuf_res_remove(struct vmw_cmdbuf_res_manager *man, enum vmw_cmdbuf_res_type res_type, u32 user_key, struct list_head *list, struct vmw_resource **res_p) argument
|
H A D | vmwgfx_resource_priv.h | 60 * @res_type: Enum that identifies the lru list to use for eviction. 84 enum vmw_res_type res_type; member in struct:vmw_res_func
|
H A D | vmwgfx_va.c | 83 .res_type = vmw_res_stream,
|
H A D | vmwgfx_resource.c | 103 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; 119 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; 187 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; 491 &res->dev_priv->res_lru[res->func->res_type]); 678 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; 1049 return res->func->res_type;
|
H A D | vmwgfx_streamoutput.c | 65 .res_type = vmw_res_streamoutput,
|
H A D | vmwgfx_so.c | 84 .res_type = vmw_res_view,
|
H A D | vmwgfx_context.c | 75 .res_type = vmw_res_context, 88 .res_type = vmw_res_context, 103 .res_type = vmw_res_dx_context,
|
H A D | vmwgfx_execbuf.c | 260 * @res_type: The resource type. 269 enum vmw_res_type res_type) 271 return (res_type == vmw_res_dx_context || 272 (res_type == vmw_res_context && dev_priv->has_mob)) ? 317 enum vmw_res_type res_type = vmw_res_type(res); local 323 rcache = &sw_context->res_cache[res_type]; 338 priv_size = vmw_execbuf_res_size(dev_priv, res_type); 623 * @res_type: Resource type. 634 enum vmw_res_type res_type, 640 struct vmw_res_cache_entry *rcache = &sw_context->res_cache[res_type]; 268 vmw_execbuf_res_size(struct vmw_private *dev_priv, enum vmw_res_type res_type) argument 632 vmw_cmd_res_check(struct vmw_private *dev_priv, struct vmw_sw_context *sw_context, enum vmw_res_type res_type, u32 dirty, const struct vmw_user_resource_conv *converter, uint32_t *id_loc, struct vmw_resource **p_res) argument 1747 vmw_cmd_switch_backup(struct vmw_private *dev_priv, struct vmw_sw_context *sw_context, enum vmw_res_type res_type, const struct vmw_user_resource_conv *converter, uint32_t *res_id, uint32_t *buf_id, unsigned long backup_offset) argument [all...] |
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_inline.h | 400 iores->res_type = RESOURCE_NONE; 403 if (iores->res_type & RESOURCE_FORCE) 415 iores->res_type = RESOURCE_NONE; 420 if (iores->res_type & RESOURCE_EXCH) { 428 iores->res_type = RESOURCE_NONE; 436 iores->res_type = RESOURCE_NONE; 440 if (iores->res_type & RESOURCE_EXCH) { 443 iores->res_type = RESOURCE_NONE; 455 iores->res_type |= RESOURCE_HA; 487 if (iores->res_type [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum2_kvdl.c | 13 u8 res_type; member in struct:mlxsw_sp2_kvdl_part_info 27 .res_type = _res_type, \ 107 static int mlxsw_sp2_kvdl_rec_del(struct mlxsw_sp *mlxsw_sp, u8 res_type, argument 118 mlxsw_reg_iedr_rec_pack(iedr_pl, 0, res_type, size, kvdl_index); 134 err = mlxsw_sp2_kvdl_rec_del(mlxsw_sp, part->info->res_type,
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | qp.h | 51 enum mlx5_res_type res_type);
|
/linux-master/drivers/platform/loongarch/ |
H A D | loongson-laptop.c | 67 char res_type; local 87 res_type = *(fmt++); 109 if (res_type != 'v') { 118 switch (res_type) { 129 pr_err("acpi_evalf() called with invalid format character '%c'\n", res_type);
|
/linux-master/drivers/scsi/fnic/ |
H A D | vnic_wq.c | 17 unsigned int index, enum vnic_res_type res_type) 19 wq->ctrl = vnic_dev_get_res(vdev, res_type, index); 16 vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, enum vnic_res_type res_type) argument
|
/linux-master/drivers/scsi/snic/ |
H A D | vnic_wq.c | 13 unsigned int index, enum vnic_res_type res_type) 15 wq->ctrl = svnic_dev_get_res(vdev, res_type, index); 12 vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, enum vnic_res_type res_type) argument
|
/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bna_enet.c | 1865 res_info[BNA_RES_MEM_T_COM].res_type = BNA_RES_T_MEM; 1874 res_info[BNA_RES_MEM_T_ATTR].res_type = BNA_RES_T_MEM; 1881 res_info[BNA_RES_MEM_T_FWTRC].res_type = BNA_RES_T_MEM; 1887 res_info[BNA_RES_MEM_T_STATS].res_type = BNA_RES_T_MEM; 1901 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_type = BNA_RES_T_MEM; 1909 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_type = BNA_RES_T_MEM; 1917 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_type = BNA_RES_T_MEM; 1925 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_type = BNA_RES_T_MEM; 1933 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_type = BNA_RES_T_MEM; 1941 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_type [all...] |
H A D | bna_tx_rx.c | 2166 res_info[BNA_RX_RES_MEM_T_CCB].res_type = BNA_RES_T_MEM; 2172 res_info[BNA_RX_RES_MEM_T_RCB].res_type = BNA_RES_T_MEM; 2178 res_info[BNA_RX_RES_MEM_T_CQPT].res_type = BNA_RES_T_MEM; 2184 res_info[BNA_RX_RES_MEM_T_CSWQPT].res_type = BNA_RES_T_MEM; 2190 res_info[BNA_RX_RES_MEM_T_CQPT_PAGE].res_type = BNA_RES_T_MEM; 2196 res_info[BNA_RX_RES_MEM_T_DQPT].res_type = BNA_RES_T_MEM; 2202 res_info[BNA_RX_RES_MEM_T_DSWQPT].res_type = BNA_RES_T_MEM; 2208 res_info[BNA_RX_RES_MEM_T_DPAGE].res_type = BNA_RES_T_MEM; 2214 res_info[BNA_RX_RES_MEM_T_HQPT].res_type = BNA_RES_T_MEM; 2220 res_info[BNA_RX_RES_MEM_T_HSWQPT].res_type [all...] |
/linux-master/drivers/net/fddi/skfp/ |
H A D | ess.c | 135 msg_res_type = ((struct smt_p_0015 *)p)->res_type ; 499 chg->s_type.res_type = SYNC_BW ; 590 req->s_type.res_type = SYNC_BW ;
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_switch.c | 1903 sw_buf->res_type = cpu_to_le16(ICE_AQC_RES_TYPE_VSI_LIST_REP); 1906 sw_buf->res_type = 1910 sw_buf->res_type = 2172 u16 res_type; local 2176 res_type = FIELD_PREP(ICE_AQC_RES_TYPE_M, ICE_AQC_RES_TYPE_RECIPE); 2178 res_type |= ICE_AQC_RES_TYPE_FLAG_SUBSCRIBE_SHARED; 2180 res_type |= ICE_AQC_RES_TYPE_FLAG_SHARED; 2181 sw_buf->res_type = cpu_to_le16(res_type); 2522 u8 res_type; local 4647 u16 res_type; local 5462 u16 res_type; local [all...] |
H A D | ice_flex_pipe.c | 1312 u16 res_type; local 1314 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) 1317 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); 1331 u16 res_type; local 1333 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) 1336 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); 1350 u16 res_type; local 1354 if (!ice_prof_id_rsrc_type(blk, &res_type)) 1357 status = ice_alloc_hw_res(hw, res_type, 1, false, &get_prof); 1375 u16 res_type; local [all...] |