Home
last modified time | relevance | path

Searched refs:res_type (Results 1 - 25 of 103) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/pmdomain/qcom/
H A Drpmpd.c55 const int res_type; member
76 .res_type = RPMPD_RWCX,
85 .res_type = RPMPD_RWCX,
94 .res_type = RPMPD_SMPA,
103 .res_type = RPMPD_SMPA,
112 .res_type = RPMPD_SMPA,
121 .res_type = RPMPD_SMPA,
130 .res_type = RPMPD_SMPA,
139 .res_type = RPMPD_SMPA,
148 .res_type
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c49 static enum vnic_res_type _to_vnic_res_type(enum usnic_vnic_res_type res_type) in _to_vnic_res_type() argument
60 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) in _to_vnic_res_type()
63 return usnic_vnic_type_2_vnic_type[res_type]; in _to_vnic_res_type()
66 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type) in usnic_vnic_res_type_to_str() argument
77 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) in usnic_vnic_res_type_to_str()
80 return usnic_vnic_res_type_desc[res_type]; in usnic_vnic_res_type_to_str()
182 enum usnic_vnic_res_type res_type; in usnic_vnic_spec_dump() local
188 res_type = res_spec->resources[i].type; in usnic_vnic_spec_dump()
192 usnic_vnic_res_type_to_str(res_type), in usnic_vnic_spec_dump()
203 enum usnic_vnic_res_type res_type; in usnic_vnic_check_room() local
353 enum usnic_vnic_res_type res_type; usnic_vnic_discover_resources() local
422 enum usnic_vnic_res_type res_type; usnic_vnic_release_resources() local
[all...]
H A Dusnic_ib_sysfs.c75 enum usnic_vnic_res_type res_type; in config_show() local
104 for (res_type = USNIC_VNIC_RES_TYPE_EOL; in config_show()
105 res_type < USNIC_VNIC_RES_TYPE_MAX; in config_show()
106 res_type++) { in config_show()
107 if (us_ibdev->vf_res_cnt[res_type] == 0) in config_show()
110 us_ibdev->vf_res_cnt[res_type], in config_show()
111 usnic_vnic_res_type_to_str(res_type), in config_show()
112 (res_type < (USNIC_VNIC_RES_TYPE_MAX - 1)) ? in config_show()
H A Dusnic_ib_main.c554 enum usnic_vnic_res_type res_type; in usnic_ib_pci_probe() local
601 for (res_type = USNIC_VNIC_RES_TYPE_EOL+1; in usnic_ib_pci_probe()
602 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_pci_probe()
603 res_type++) { in usnic_ib_pci_probe()
604 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, in usnic_ib_pci_probe()
605 res_type); in usnic_ib_pci_probe()
H A Dusnic_ib_qp_grp.c536 enum usnic_vnic_res_type res_type; in alloc_res_chunk_list() local
553 res_type = res_spec->resources[i].type; in alloc_res_chunk_list()
556 res_chunk_list[i] = usnic_vnic_get_resources(vnic, res_type, in alloc_res_chunk_list()
562 usnic_vnic_res_type_to_str(res_type), in alloc_res_chunk_list()
756 enum usnic_vnic_res_type res_type) in usnic_ib_qp_grp_get_chunk()
761 if (qp_grp->res_chunk_list[i]->type == res_type) in usnic_ib_qp_grp_get_chunk()
755 usnic_ib_qp_grp_get_chunk(struct usnic_ib_qp_grp *qp_grp, enum usnic_vnic_res_type res_type) usnic_ib_qp_grp_get_chunk() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c48 static enum vnic_res_type _to_vnic_res_type(enum usnic_vnic_res_type res_type) in _to_vnic_res_type() argument
59 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) in _to_vnic_res_type()
62 return usnic_vnic_type_2_vnic_type[res_type]; in _to_vnic_res_type()
65 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type) in usnic_vnic_res_type_to_str() argument
76 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) in usnic_vnic_res_type_to_str()
79 return usnic_vnic_res_type_desc[res_type]; in usnic_vnic_res_type_to_str()
181 enum usnic_vnic_res_type res_type; in usnic_vnic_spec_dump() local
187 res_type = res_spec->resources[i].type; in usnic_vnic_spec_dump()
191 usnic_vnic_res_type_to_str(res_type), in usnic_vnic_spec_dump()
202 enum usnic_vnic_res_type res_type; in usnic_vnic_check_room() local
352 enum usnic_vnic_res_type res_type; usnic_vnic_discover_resources() local
421 enum usnic_vnic_res_type res_type; usnic_vnic_release_resources() local
[all...]
H A Dusnic_ib_sysfs.c71 enum usnic_vnic_res_type res_type; in config_show() local
96 for (res_type = USNIC_VNIC_RES_TYPE_EOL; in config_show()
97 res_type < USNIC_VNIC_RES_TYPE_MAX; res_type++) { in config_show()
98 if (us_ibdev->vf_res_cnt[res_type] == 0) in config_show()
102 us_ibdev->vf_res_cnt[res_type], in config_show()
103 usnic_vnic_res_type_to_str(res_type)); in config_show()
H A Dusnic_ib_main.c535 enum usnic_vnic_res_type res_type; in usnic_ib_pci_probe() local
587 for (res_type = USNIC_VNIC_RES_TYPE_EOL+1; in usnic_ib_pci_probe()
588 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_pci_probe()
589 res_type++) { in usnic_ib_pci_probe()
590 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, in usnic_ib_pci_probe()
591 res_type); in usnic_ib_pci_probe()
H A Dusnic_ib_qp_grp.c535 enum usnic_vnic_res_type res_type; in alloc_res_chunk_list() local
552 res_type = res_spec->resources[i].type; in alloc_res_chunk_list()
555 res_chunk_list[i] = usnic_vnic_get_resources(vnic, res_type, in alloc_res_chunk_list()
561 usnic_vnic_res_type_to_str(res_type), in alloc_res_chunk_list()
745 enum usnic_vnic_res_type res_type) in usnic_ib_qp_grp_get_chunk()
750 if (qp_grp->res_chunk_list[i]->type == res_type) in usnic_ib_qp_grp_get_chunk()
744 usnic_ib_qp_grp_get_chunk(struct usnic_ib_qp_grp *qp_grp, enum usnic_vnic_res_type res_type) usnic_ib_qp_grp_get_chunk() argument
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_inline.h400 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
403 if (iores->res_type & RESOURCE_FORCE) in qla_get_fw_resources()
415 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
420 if (iores->res_type & RESOURCE_EXCH) { in qla_get_fw_resources()
428 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
436 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
440 if (iores->res_type & RESOURCE_EXCH) { in qla_get_fw_resources()
443 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
455 iores->res_type |= RESOURCE_HA; in qla_get_fw_resources()
487 if (iores->res_type in qla_put_fw_resources()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf_res.c81 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_lookup()
86 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_lookup()
188 * @res_type: The resource type.
198 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_add()
210 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
230 * @res_type: The resource type.
243 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_remove()
252 ret = drm_ht_find_item(&man->resources, user_key | (res_type << 24), in vmw_cmdbuf_res_remove()
80 vmw_cmdbuf_res_lookup(struct vmw_cmdbuf_res_manager *man, enum vmw_cmdbuf_res_type res_type, u32 user_key) vmw_cmdbuf_res_lookup() argument
197 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) vmw_cmdbuf_res_add() argument
242 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) vmw_cmdbuf_res_remove() argument
H A Dvmwgfx_resource.c102 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id()
117 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release()
184 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id()
523 &res->dev_priv->res_lru[res->func->res_type]); in vmw_resource_unreserve()
707 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate()
1077 return res->func->res_type; in vmw_res_type()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf_res.c74 * @res_type: The resource type, that combined with the user key
83 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_lookup()
87 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_lookup()
186 * @res_type: The resource type.
196 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_add()
207 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
222 * @res_type: The resource type.
235 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_remove()
242 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_remove()
82 vmw_cmdbuf_res_lookup(struct vmw_cmdbuf_res_manager *man, enum vmw_cmdbuf_res_type res_type, u32 user_key) vmw_cmdbuf_res_lookup() 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) vmw_cmdbuf_res_add() 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) vmw_cmdbuf_res_remove() argument
H A Dvmwgfx_resource.c103 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id()
119 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release()
187 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id()
491 &res->dev_priv->res_lru[res->func->res_type]); in vmw_resource_unreserve()
678 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate()
1049 return res->func->res_type; in vmw_res_type()
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Drpmpd.c46 .res_type = RPMPD_##r_type, \
54 .res_type = RPMPD_##r_type, \
62 .res_type = RPMPD_##r_type, \
70 .res_type = RPMPD_##r_type, \
78 .res_type = RPMPD_##r_type, \
86 .res_type = RPMPD_##r_type, \
104 const int res_type; 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum2_kvdl.c13 u8 res_type; member
27 .res_type = _res_type, \
106 static int mlxsw_sp2_kvdl_rec_del(struct mlxsw_sp *mlxsw_sp, u8 res_type, in mlxsw_sp2_kvdl_rec_del() argument
117 mlxsw_reg_iedr_rec_pack(iedr_pl, 0, res_type, size, kvdl_index); in mlxsw_sp2_kvdl_rec_del()
133 err = mlxsw_sp2_kvdl_rec_del(mlxsw_sp, part->info->res_type, in mlxsw_sp2_kvdl_part_free()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum2_kvdl.c13 u8 res_type; member
27 .res_type = _res_type, \
107 static int mlxsw_sp2_kvdl_rec_del(struct mlxsw_sp *mlxsw_sp, u8 res_type, in mlxsw_sp2_kvdl_rec_del() argument
118 mlxsw_reg_iedr_rec_pack(iedr_pl, 0, res_type, size, kvdl_index); in mlxsw_sp2_kvdl_rec_del()
134 err = mlxsw_sp2_kvdl_rec_del(mlxsw_sp, part->info->res_type, in mlxsw_sp2_kvdl_part_free()
/kernel/linux/linux-5.10/drivers/platform/loongarch/
H A Dloongson-laptop.c75 char res_type; in acpi_evalf() local
95 res_type = *(fmt++); in acpi_evalf()
117 if (res_type != 'v') { in acpi_evalf()
126 switch (res_type) { in acpi_evalf()
137 pr_err("acpi_evalf() called with invalid format character '%c'\n", res_type); in acpi_evalf()
/kernel/linux/linux-6.6/drivers/platform/loongarch/
H A Dloongson-laptop.c67 char res_type; in acpi_evalf() local
87 res_type = *(fmt++); in acpi_evalf()
109 if (res_type != 'v') { in acpi_evalf()
118 switch (res_type) { in acpi_evalf()
129 pr_err("acpi_evalf() called with invalid format character '%c'\n", res_type); in acpi_evalf()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_inline.h396 iores->res_type = RESOURCE_NONE; in qla_get_iocbs()
415 iores->res_type = RESOURCE_NONE; in qla_get_iocbs()
424 switch (iores->res_type) { in qla_put_iocbs()
436 iores->res_type = RESOURCE_NONE; in qla_put_iocbs()
/kernel/linux/linux-5.10/drivers/scsi/snic/
H A Dvnic_wq.c27 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl()
29 wq->ctrl = svnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
26 vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, enum vnic_res_type res_type) vnic_wq_get_ctrl() argument
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dvnic_wq.c29 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl()
31 wq->ctrl = vnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
28 vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, enum vnic_res_type res_type) vnic_wq_get_ctrl() argument
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dvnic_wq.c17 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl()
19 wq->ctrl = vnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
16 vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, enum vnic_res_type res_type) vnic_wq_get_ctrl() argument
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dvnic_wq.c13 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl()
15 wq->ctrl = svnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
12 vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, enum vnic_res_type res_type) vnic_wq_get_ctrl() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
H A Dbna_enet.c1865 res_info[BNA_RES_MEM_T_COM].res_type = BNA_RES_T_MEM; in bna_res_req()
1874 res_info[BNA_RES_MEM_T_ATTR].res_type = BNA_RES_T_MEM; in bna_res_req()
1881 res_info[BNA_RES_MEM_T_FWTRC].res_type = BNA_RES_T_MEM; in bna_res_req()
1887 res_info[BNA_RES_MEM_T_STATS].res_type = BNA_RES_T_MEM; in bna_res_req()
1901 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1909 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1917 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1925 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1933 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1941 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_type in bna_mod_res_req()
[all...]

Completed in 22 milliseconds

12345