Home
last modified time | relevance | path

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

12

/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.c74 enum usnic_vnic_res_type res_type; in usnic_ib_show_config() local
105 for (res_type = USNIC_VNIC_RES_TYPE_EOL; in usnic_ib_show_config()
106 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_show_config()
107 res_type++) { in usnic_ib_show_config()
108 if (us_ibdev->vf_res_cnt[res_type] == 0) in usnic_ib_show_config()
111 us_ibdev->vf_res_cnt[res_type], in usnic_ib_show_config()
112 usnic_vnic_res_type_to_str(res_type), in usnic_ib_show_config()
113 (res_type < (USNIC_VNIC_RES_TYPE_MAX - 1)) ? in usnic_ib_show_config()
Dusnic_ib_qp_grp.c542 enum usnic_vnic_res_type res_type; in alloc_res_chunk_list() local
559 res_type = res_spec->resources[i].type; in alloc_res_chunk_list()
562 res_chunk_list[i] = usnic_vnic_get_resources(vnic, res_type, in alloc_res_chunk_list()
568 usnic_vnic_res_type_to_str(res_type), in alloc_res_chunk_list()
766 enum usnic_vnic_res_type res_type) in usnic_ib_qp_grp_get_chunk() argument
771 if (qp_grp->res_chunk_list[i]->type == res_type) in usnic_ib_qp_grp_get_chunk()
Dusnic_ib_main.c551 enum usnic_vnic_res_type res_type; in usnic_ib_pci_probe() local
598 for (res_type = USNIC_VNIC_RES_TYPE_EOL+1; in usnic_ib_pci_probe()
599 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_pci_probe()
600 res_type++) { in usnic_ib_pci_probe()
601 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, in usnic_ib_pci_probe()
602 res_type); in usnic_ib_pci_probe()
Dusnic_vnic.h85 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type);
/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_priv.h69 enum vmw_res_type res_type; member
Dvmwgfx_resource.c62 .res_type = vmw_res_stream,
108 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id()
123 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()
1205 &res->dev_priv->res_lru[res->func->res_type]); in vmw_resource_unreserve()
1374 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate()
1791 return res->func->res_type; in vmw_res_type()
Dvmwgfx_context.c75 .res_type = vmw_res_context,
87 .res_type = vmw_res_context,
99 .res_type = vmw_res_dx_context,
Dvmwgfx_drv.h1106 enum vmw_cmdbuf_res_type res_type,
1111 enum vmw_cmdbuf_res_type res_type,
1116 enum vmw_cmdbuf_res_type res_type,
Dvmwgfx_shader.c94 .res_type = vmw_res_shader,
106 .res_type = vmw_res_shader,
Dvmwgfx_so.c82 .res_type = vmw_res_view,
Dvmwgfx_cotable.c115 .res_type = vmw_res_cotable,
/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()
Dbna_types.h300 enum bna_res_type res_type; member
/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()
/drivers/net/fddi/skfp/
Dess.c140 msg_res_type = ((struct smt_p_0015 *)p)->res_type ; in ess_raf_received_pack()
502 chg->s_type.res_type = SYNC_BW ; in ess_send_response()
593 req->s_type.res_type = SYNC_BW ; in ess_send_alc_req()
/drivers/media/i2c/m5mols/
Dm5mols_core.c553 format = __find_format(info, cfg, fmt->which, info->res_type); in m5mols_get_fmt()
590 info->res_type = type; in m5mols_set_fmt()
717 code = info->ffmt[info->res_type].code; in m5mols_s_stream()
992 info->res_type = M5MOLS_RESTYPE_MONITOR; in m5mols_probe()
Dm5mols.h233 int res_type; member
/drivers/pci/host/
Dpcie-iproc.c415 u64 res_type = resource_type(res); in iproc_pcie_map_ranges() local
417 switch (res_type) { in iproc_pcie_map_ranges()
/drivers/media/usb/em28xx/
Dem28xx-video.c847 int res_type = get_ressource(f_type); in res_get() local
850 if (dev->resources & res_type) { in res_get()
856 dev->resources |= res_type; in res_get()
857 em28xx_videodbg("res: get %d\n", res_type); in res_get()
863 int res_type = get_ressource(f_type); in res_free() local
865 dev->resources &= ~res_type; in res_free()
866 em28xx_videodbg("res: put %d\n", res_type); in res_free()
/drivers/net/fddi/skfp/h/
Dsmt.h457 u_int res_type ; /* recsource type */ member
/drivers/iommu/
Ddmar.c1829 static int res_type[] = { in dmar_walk_dsm_resource() local
1844 callback.cb[res_type[func]] = handler; in dmar_walk_dsm_resource()
1845 callback.arg[res_type[func]] = arg; in dmar_walk_dsm_resource()

12