Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/infiniband/hw/usnic/
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
[all …]
Dusnic_ib_sysfs.c75 enum usnic_vnic_res_type res_type; in usnic_ib_show_config() local
106 for (res_type = USNIC_VNIC_RES_TYPE_EOL; in usnic_ib_show_config()
107 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_show_config()
108 res_type++) { in usnic_ib_show_config()
109 if (us_ibdev->vf_res_cnt[res_type] == 0) in usnic_ib_show_config()
112 us_ibdev->vf_res_cnt[res_type], in usnic_ib_show_config()
113 usnic_vnic_res_type_to_str(res_type), in usnic_ib_show_config()
114 (res_type < (USNIC_VNIC_RES_TYPE_MAX - 1)) ? in usnic_ib_show_config()
Dusnic_ib_main.c537 enum usnic_vnic_res_type res_type; in usnic_ib_pci_probe() local
584 for (res_type = USNIC_VNIC_RES_TYPE_EOL+1; in usnic_ib_pci_probe()
585 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_pci_probe()
586 res_type++) { in usnic_ib_pci_probe()
587 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, in usnic_ib_pci_probe()
588 res_type); in usnic_ib_pci_probe()
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() argument
761 if (qp_grp->res_chunk_list[i]->type == res_type) in usnic_ib_qp_grp_get_chunk()
Dusnic_vnic.h85 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type);
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c81 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_lookup() argument
86 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_lookup()
199 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_add() argument
211 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
242 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_remove() argument
251 ret = drm_ht_find_item(&man->resources, user_key | (res_type << 24), in vmw_cmdbuf_res_remove()
Dvmwgfx_resource.c59 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id()
74 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release()
138 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id()
427 &res->dev_priv->res_lru[res->func->res_type]); in vmw_resource_unreserve()
603 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate()
975 return res->func->res_type; in vmw_res_type()
Dvmwgfx_resource_priv.h71 enum vmw_res_type res_type; member
Dvmwgfx_va.c82 .res_type = vmw_res_stream,
Dvmwgfx_context.c76 .res_type = vmw_res_context,
88 .res_type = vmw_res_context,
100 .res_type = vmw_res_dx_context,
Dvmwgfx_drv.h1142 enum vmw_cmdbuf_res_type res_type,
1147 enum vmw_cmdbuf_res_type res_type,
1152 enum vmw_cmdbuf_res_type res_type,
Dvmwgfx_so.c82 .res_type = vmw_res_view,
Dvmwgfx_shader.c95 .res_type = vmw_res_shader,
107 .res_type = vmw_res_shader,
Dvmwgfx_cotable.c116 .res_type = vmw_res_cotable,
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_kvdl.c13 u8 res_type; member
27 .res_type = _res_type, \
105 static int mlxsw_sp2_kvdl_rec_del(struct mlxsw_sp *mlxsw_sp, u8 res_type, in mlxsw_sp2_kvdl_rec_del() argument
116 mlxsw_reg_iedr_rec_pack(iedr_pl, 0, res_type, size, kvdl_index); in mlxsw_sp2_kvdl_rec_del()
132 err = mlxsw_sp2_kvdl_rec_del(mlxsw_sp, part->info->res_type, in mlxsw_sp2_kvdl_part_free()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbna_enet.c1873 res_info[BNA_RES_MEM_T_COM].res_type = BNA_RES_T_MEM; in bna_res_req()
1882 res_info[BNA_RES_MEM_T_ATTR].res_type = BNA_RES_T_MEM; in bna_res_req()
1889 res_info[BNA_RES_MEM_T_FWTRC].res_type = BNA_RES_T_MEM; in bna_res_req()
1895 res_info[BNA_RES_MEM_T_STATS].res_type = BNA_RES_T_MEM; in bna_res_req()
1909 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1917 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1925 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1933 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1941 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1949 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
[all …]
Dbna_tx_rx.c2174 res_info[BNA_RX_RES_MEM_T_CCB].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2180 res_info[BNA_RX_RES_MEM_T_RCB].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2186 res_info[BNA_RX_RES_MEM_T_CQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2192 res_info[BNA_RX_RES_MEM_T_CSWQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2198 res_info[BNA_RX_RES_MEM_T_CQPT_PAGE].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2204 res_info[BNA_RX_RES_MEM_T_DQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2210 res_info[BNA_RX_RES_MEM_T_DSWQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2216 res_info[BNA_RX_RES_MEM_T_DPAGE].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2222 res_info[BNA_RX_RES_MEM_T_HQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2228 res_info[BNA_RX_RES_MEM_T_HSWQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
[all …]
Dbnad.c71 (_res_info)->res_type = BNA_RES_T_MEM; \
1623 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_free()
1625 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_free()
1638 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_alloc()
1641 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_alloc()
1661 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_rx_res_free()
1663 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_rx_res_free()
1677 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_rx_res_alloc()
1680 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_rx_res_alloc()
/Linux-v4.19/drivers/scsi/snic/
Dvnic_wq.c27 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl() argument
29 wq->ctrl = svnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
/Linux-v4.19/drivers/net/fddi/skfp/
Dess.c140 msg_res_type = ((struct smt_p_0015 *)p)->res_type ; in ess_raf_received_pack()
504 chg->s_type.res_type = SYNC_BW ; in ess_send_response()
595 req->s_type.res_type = SYNC_BW ; in ess_send_alc_req()
/Linux-v4.19/drivers/media/i2c/m5mols/
Dm5mols_core.c565 format = __find_format(info, cfg, fmt->which, info->res_type); in m5mols_get_fmt()
602 info->res_type = type; in m5mols_set_fmt()
731 code = info->ffmt[info->res_type].code; in m5mols_s_stream()
1009 info->res_type = M5MOLS_RESTYPE_MONITOR; in m5mols_probe()
Dm5mols.h233 int res_type; member
/Linux-v4.19/drivers/media/usb/em28xx/
Dem28xx-video.c873 int res_type = get_resource(f_type); in res_get() local
876 if (dev->resources & res_type) { in res_get()
882 dev->resources |= res_type; in res_get()
883 em28xx_videodbg("res: get %d\n", res_type); in res_get()
889 int res_type = get_resource(f_type); in res_free() local
891 dev->resources &= ~res_type; in res_free()
892 em28xx_videodbg("res: put %d\n", res_type); in res_free()
/Linux-v4.19/drivers/infiniband/core/
Dnldev.c913 enum rdma_restrack_type res_type) in res_get_common_dumpit() argument
915 const struct nldev_fill_res_entry *fe = &fill_entries[res_type]; in res_get_common_dumpit()
971 hash_for_each_possible(device->res.hash, res, node, res_type) { in res_get_common_dumpit()
/Linux-v4.19/drivers/net/fddi/skfp/h/
Dsmt.h457 u_int res_type ; /* recsource type */ member

12