/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_vnic.c | 49 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 …]
|
D | usnic_ib_sysfs.c | 89 enum usnic_vnic_res_type res_type; in usnic_ib_show_config() local 120 for (res_type = USNIC_VNIC_RES_TYPE_EOL; in usnic_ib_show_config() 121 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_show_config() 122 res_type++) { in usnic_ib_show_config() 123 if (us_ibdev->vf_res_cnt[res_type] == 0) in usnic_ib_show_config() 126 us_ibdev->vf_res_cnt[res_type], in usnic_ib_show_config() 127 usnic_vnic_res_type_to_str(res_type), in usnic_ib_show_config() 128 (res_type < (USNIC_VNIC_RES_TYPE_MAX - 1)) ? in usnic_ib_show_config()
|
D | usnic_ib_qp_grp.c | 542 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()
|
D | usnic_ib_main.c | 535 enum usnic_vnic_res_type res_type; in usnic_ib_pci_probe() local 582 for (res_type = USNIC_VNIC_RES_TYPE_EOL+1; in usnic_ib_pci_probe() 583 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_pci_probe() 584 res_type++) { in usnic_ib_pci_probe() 585 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, in usnic_ib_pci_probe() 586 res_type); in usnic_ib_pci_probe()
|
D | usnic_vnic.h | 85 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type);
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmdbuf_res.c | 81 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()
|
D | vmwgfx_resource_priv.h | 69 enum vmw_res_type res_type; member
|
D | vmwgfx_resource.c | 62 .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() 1207 &res->dev_priv->res_lru[res->func->res_type]); in vmw_resource_unreserve() 1376 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate() 1794 return res->func->res_type; in vmw_res_type()
|
D | vmwgfx_context.c | 75 .res_type = vmw_res_context, 87 .res_type = vmw_res_context, 99 .res_type = vmw_res_dx_context,
|
D | vmwgfx_drv.h | 1101 enum vmw_cmdbuf_res_type res_type, 1106 enum vmw_cmdbuf_res_type res_type, 1111 enum vmw_cmdbuf_res_type res_type,
|
D | vmwgfx_so.c | 82 .res_type = vmw_res_view,
|
D | vmwgfx_shader.c | 94 .res_type = vmw_res_shader, 106 .res_type = vmw_res_shader,
|
D | vmwgfx_cotable.c | 115 .res_type = vmw_res_cotable,
|
D | vmwgfx_execbuf.c | 689 enum vmw_res_type res_type, in vmw_cmd_res_check() argument 695 &sw_context->res_cache[res_type]; in vmw_cmd_res_check() 703 if (res_type == vmw_res_context) { in vmw_cmd_res_check() 1915 enum vmw_res_type res_type, in vmw_cmd_switch_backup() argument 1925 ret = vmw_cmd_res_check(dev_priv, sw_context, res_type, in vmw_cmd_switch_backup()
|
D | vmwgfx_surface.c | 98 .res_type = vmw_res_surface, 110 .res_type = vmw_res_surface,
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bna_enet.c | 1873 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 …]
|
D | bna_tx_rx.c | 2174 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 …]
|
D | bnad.c | 73 (_res_info)->res_type = BNA_RES_T_MEM; \ 1630 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_free() 1632 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_free() 1645 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_alloc() 1648 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_alloc() 1668 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_rx_res_free() 1670 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_rx_res_free() 1684 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_rx_res_alloc() 1687 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_rx_res_alloc()
|
D | bna_types.h | 300 enum bna_res_type res_type; member
|
/linux-4.4.14/drivers/scsi/snic/ |
D | vnic_wq.c | 27 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-4.4.14/drivers/pci/host/ |
D | pcie-iproc.c | 300 u64 res_type = resource_type(res); in iproc_pcie_map_ranges() local 302 switch (res_type) { in iproc_pcie_map_ranges()
|
/linux-4.4.14/drivers/net/fddi/skfp/ |
D | ess.c | 140 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()
|
/linux-4.4.14/drivers/media/i2c/m5mols/ |
D | m5mols_core.c | 553 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()
|
D | m5mols.h | 233 int res_type; member
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 848 int res_type = get_ressource(f_type); in res_get() local 851 if (dev->resources & res_type) { in res_get() 857 dev->resources |= res_type; in res_get() 858 em28xx_videodbg("res: get %d\n", res_type); in res_get() 864 int res_type = get_ressource(f_type); in res_free() local 866 dev->resources &= ~res_type; in res_free() 867 em28xx_videodbg("res: put %d\n", res_type); in res_free()
|
/linux-4.4.14/drivers/net/fddi/skfp/h/ |
D | smt.h | 457 u_int res_type ; /* recsource type */ member
|
/linux-4.4.14/drivers/iommu/ |
D | dmar.c | 1807 static int res_type[] = { in dmar_walk_dsm_resource() local 1822 callback.cb[res_type[func]] = handler; in dmar_walk_dsm_resource() 1823 callback.arg[res_type[func]] = arg; in dmar_walk_dsm_resource()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 300 enum mlx4_resource res_type, int count, in mlx4_grant_resource() argument 305 &priv->mfunc.master.res_tracker.res_alloc[res_type]; in mlx4_grant_resource() 326 slave, port, resource_str(res_type), count, in mlx4_grant_resource() 347 slave, port, resource_str(res_type), free, in mlx4_grant_resource() 371 enum mlx4_resource res_type, int count, in mlx4_release_resource() argument 376 &priv->mfunc.master.res_tracker.res_alloc[res_type]; in mlx4_release_resource() 417 enum mlx4_resource res_type, in initialize_res_quotas() argument 425 if (res_type == RES_MTT) { in initialize_res_quotas()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 1926 u32 res_type; in handle_rcv_mpa() local 1928 ret = parse_mpa(cm_node, dataloc, &res_type, datasize); in handle_rcv_mpa() 1945 if (res_type == NES_MPA_REQUEST_REJECT) in handle_rcv_mpa() 1957 if (res_type == NES_MPA_REQUEST_REJECT) { in handle_rcv_mpa()
|
/linux-4.4.14/drivers/platform/x86/ |
D | thinkpad_acpi.c | 554 char res_type; in acpi_evalf() local 569 res_type = *(fmt++); in acpi_evalf() 592 if (res_type != 'v') { in acpi_evalf() 601 switch (res_type) { in acpi_evalf() 614 "with invalid format character '%c'\n", res_type); in acpi_evalf()
|
/linux-4.4.14/mm/ |
D | memcontrol.c | 229 enum res_type { enum 3370 struct eventfd_ctx *eventfd, const char *args, enum res_type type) in __mem_cgroup_usage_register_event() 3464 struct eventfd_ctx *eventfd, enum res_type type) in __mem_cgroup_usage_unregister_event()
|
/linux-4.4.14/drivers/scsi/ |
D | ipr.h | 425 u8 res_type; member
|
D | ipr.c | 1171 res->type = cfgtew->u.cfgte64->res_type; in ipr_init_res_entry() 1319 res->type = cfgtew->u.cfgte64->res_type; in ipr_update_res_entry()
|
/linux-4.4.14/drivers/target/ |
D | target_core_configfs.c | 1671 CONFIGFS_ATTR_RO(target_pr_, res_type);
|