Home
last modified time | relevance | path

Searched refs:res_type (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/linux/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 = RPMPD_SMPA,
[all …]
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c59 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) in _to_vnic_res_type()
76 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) 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()
202 enum usnic_vnic_res_type res_type; in usnic_vnic_check_room() local
352 enum usnic_vnic_res_type res_type; in usnic_vnic_discover_resources() local
380 res_type < USNIC_VNIC_RES_TYPE_MAX; res_type++) { in usnic_vnic_discover_resources()
382 &vnic->chunks[res_type]); in usnic_vnic_discover_resources()
390 for (res_type--; res_type > USNIC_VNIC_RES_TYPE_EOL; res_type--) in usnic_vnic_discover_resources()
421 enum usnic_vnic_res_type res_type; in 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() argument
750 if (qp_grp->res_chunk_list[i]->type == res_type) in usnic_ib_qp_grp_get_chunk()
H A Dusnic_vnic.h85 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type);
/openbmc/linux/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()
428 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
436 iores->res_type = RESOURCE_NONE; 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 & RESOURCE_HA) { in qla_put_fw_resources()
488 if (iores->res_type & RESOURCE_IOCB) in qla_put_fw_resources()
491 if (iores->res_type & RESOURCE_EXCH) in qla_put_fw_resources()
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf_res.c83 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_lookup() argument
87 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_lookup()
196 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_add() argument
207 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
235 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_remove() argument
242 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_remove()
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()
H A Dvmwgfx_resource_priv.h84 enum vmw_res_type res_type; member
H A Dvmwgfx_va.c83 .res_type = vmw_res_stream,
H A Dvmwgfx_context.c75 .res_type = vmw_res_context,
88 .res_type = vmw_res_context,
103 .res_type = vmw_res_dx_context,
H A Dvmwgfx_execbuf.c268 enum vmw_res_type res_type) in vmw_execbuf_res_size() argument
270 return (res_type == vmw_res_dx_context || in vmw_execbuf_res_size()
271 (res_type == vmw_res_context && dev_priv->has_mob)) ? in vmw_execbuf_res_size()
316 enum vmw_res_type res_type = vmw_res_type(res); in vmw_execbuf_res_val_add() local
322 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_val_add()
337 priv_size = vmw_execbuf_res_size(dev_priv, res_type); in vmw_execbuf_res_val_add()
633 enum vmw_res_type res_type, in vmw_cmd_res_check() argument
648 if (res_type == vmw_res_context) { in vmw_cmd_res_check()
661 unsigned int size = vmw_execbuf_res_size(dev_priv, res_type); in vmw_cmd_res_check()
1748 enum vmw_res_type res_type, in vmw_cmd_switch_backup() argument
[all …]
H A Dvmwgfx_streamoutput.c65 .res_type = vmw_res_streamoutput,
H A Dvmwgfx_drv.h1263 enum vmw_cmdbuf_res_type res_type,
1268 enum vmw_cmdbuf_res_type res_type,
1273 enum vmw_cmdbuf_res_type res_type,
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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 = BNA_RES_T_MEM; in bna_mod_res_req()
[all …]
H A Dbna_tx_rx.c2166 res_info[BNA_RX_RES_MEM_T_CCB].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2172 res_info[BNA_RX_RES_MEM_T_RCB].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2178 res_info[BNA_RX_RES_MEM_T_CQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2196 res_info[BNA_RX_RES_MEM_T_DQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2208 res_info[BNA_RX_RES_MEM_T_DPAGE].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2214 res_info[BNA_RX_RES_MEM_T_HQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2238 res_info[BNA_RX_RES_MEM_T_RIT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2244 res_info[BNA_RX_RES_T_INTR].res_type = BNA_RES_T_INTR; in bna_rx_res_req()
3322 res_info[BNA_TX_RES_MEM_T_TCB].res_type = BNA_RES_T_MEM; in bna_tx_res_req()
3332 res_info[BNA_TX_RES_MEM_T_QPT].res_type = BNA_RES_T_MEM; in bna_tx_res_req()
[all …]
/openbmc/linux/drivers/scsi/snic/
H A Dvnic_wq.c13 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl() argument
15 wq->ctrl = svnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
/openbmc/linux/drivers/scsi/fnic/
H A Dvnic_wq.c17 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl() argument
19 wq->ctrl = vnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dqp.h51 enum mlx5_res_type res_type);
/openbmc/linux/drivers/net/fddi/skfp/
H A Dess.c135 msg_res_type = ((struct smt_p_0015 *)p)->res_type ; in ess_raf_received_pack()
499 chg->s_type.res_type = SYNC_BW ; in ess_send_response()
590 req->s_type.res_type = SYNC_BW ; in ess_send_alc_req()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c1307 u16 res_type; in ice_alloc_tcam_ent() local
1309 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_alloc_tcam_ent()
1312 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent()
1326 u16 res_type; in ice_free_tcam_ent() local
1328 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_free_tcam_ent()
1331 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent()
1345 u16 res_type; in ice_alloc_prof_id() local
1349 if (!ice_prof_id_rsrc_type(blk, &res_type)) in ice_alloc_prof_id()
1370 u16 res_type; in ice_free_prof_id() local
1372 if (!ice_prof_id_rsrc_type(blk, &res_type)) in ice_free_prof_id()
[all …]
/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-video.c856 int res_type = get_resource(f_type); in res_get() local
859 if (dev->resources & res_type) { in res_get()
865 dev->resources |= res_type; in res_get()
866 em28xx_videodbg("res: get %d\n", res_type); in res_get()
872 int res_type = get_resource(f_type); in res_free() local
874 dev->resources &= ~res_type; in res_free()
875 em28xx_videodbg("res: put %d\n", res_type); in res_free()

123