/Linux-v5.4/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 | 75 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()
|
D | usnic_ib_main.c | 555 enum usnic_vnic_res_type res_type; in usnic_ib_pci_probe() local 602 for (res_type = USNIC_VNIC_RES_TYPE_EOL+1; in usnic_ib_pci_probe() 603 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_pci_probe() 604 res_type++) { in usnic_ib_pci_probe() 605 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, in usnic_ib_pci_probe() 606 res_type); in usnic_ib_pci_probe()
|
D | usnic_ib_qp_grp.c | 536 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()
|
D | usnic_vnic.h | 85 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type);
|
/Linux-v5.4/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() 198 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_add() argument 210 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add() 241 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_remove() argument 250 ret = drm_ht_find_item(&man->resources, user_key | (res_type << 24), in vmw_cmdbuf_res_remove()
|
D | vmwgfx_resource.c | 88 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id() 103 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release() 166 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id() 457 &res->dev_priv->res_lru[res->func->res_type]); in vmw_resource_unreserve() 640 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate() 1009 return res->func->res_type; in vmw_res_type()
|
D | vmwgfx_resource_priv.h | 76 enum vmw_res_type res_type; member
|
D | vmwgfx_va.c | 82 .res_type = vmw_res_stream,
|
D | vmwgfx_execbuf.c | 263 enum vmw_res_type res_type) in vmw_execbuf_res_size() argument 265 return (res_type == vmw_res_dx_context || in vmw_execbuf_res_size() 266 (res_type == vmw_res_context && dev_priv->has_mob)) ? in vmw_execbuf_res_size() 305 enum vmw_res_type res_type = vmw_res_type(res); in vmw_execbuf_res_noref_val_add() local 311 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_noref_val_add() 320 priv_size = vmw_execbuf_res_size(dev_priv, res_type); in vmw_execbuf_res_noref_val_add() 356 enum vmw_res_type res_type = vmw_res_type(res); in vmw_execbuf_res_noctx_val_add() local 360 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_noctx_val_add() 644 enum vmw_res_type res_type, in vmw_cmd_res_check() argument 650 struct vmw_res_cache_entry *rcache = &sw_context->res_cache[res_type]; in vmw_cmd_res_check() [all …]
|
D | vmwgfx_context.c | 76 .res_type = vmw_res_context, 88 .res_type = vmw_res_context, 102 .res_type = vmw_res_dx_context,
|
D | vmwgfx_drv.h | 1284 enum vmw_cmdbuf_res_type res_type, 1289 enum vmw_cmdbuf_res_type res_type, 1294 enum vmw_cmdbuf_res_type res_type,
|
D | vmwgfx_so.c | 82 .res_type = vmw_res_view,
|
/Linux-v5.4/drivers/soc/qcom/ |
D | rpmpd.c | 45 .res_type = RPMPD_##r_type, \ 53 .res_type = RPMPD_##r_type, \ 61 .res_type = RPMPD_##r_type, \ 69 .res_type = RPMPD_##r_type, \ 77 .res_type = RPMPD_##r_type, \ 85 .res_type = RPMPD_##r_type, \ 103 const int res_type; member 216 pd->res_type, pd->res_id, &req, sizeof(req)); in rpmpd_send_enable() 227 return qcom_rpm_smd_write(pd->rpm, state, pd->res_type, pd->res_id, in rpmpd_send_corner()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum2_kvdl.c | 13 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()
|
/Linux-v5.4/drivers/net/ethernet/brocade/bna/ |
D | bna_enet.c | 1865 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 …]
|
D | bna_tx_rx.c | 2166 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() 2184 res_info[BNA_RX_RES_MEM_T_CSWQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req() 2190 res_info[BNA_RX_RES_MEM_T_CQPT_PAGE].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() 2202 res_info[BNA_RX_RES_MEM_T_DSWQPT].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() 2220 res_info[BNA_RX_RES_MEM_T_HSWQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req() [all …]
|
D | bnad.c | 63 (_res_info)->res_type = BNA_RES_T_MEM; \ 1615 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_free() 1617 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_free() 1630 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_alloc() 1633 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_alloc() 1653 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_rx_res_free() 1655 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_rx_res_free() 1669 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_rx_res_alloc() 1672 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_rx_res_alloc()
|
/Linux-v5.4/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-v5.4/drivers/scsi/fnic/ |
D | vnic_wq.c | 29 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl() argument 31 wq->ctrl = vnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
|
/Linux-v5.4/drivers/net/fddi/skfp/ |
D | ess.c | 136 msg_res_type = ((struct smt_p_0015 *)p)->res_type ; in ess_raf_received_pack() 500 chg->s_type.res_type = SYNC_BW ; in ess_send_response() 591 req->s_type.res_type = SYNC_BW ; in ess_send_alc_req()
|
/Linux-v5.4/drivers/media/i2c/m5mols/ |
D | m5mols_core.c | 561 format = __find_format(info, cfg, fmt->which, info->res_type); in m5mols_get_fmt() 598 info->res_type = type; in m5mols_set_fmt() 727 code = info->ffmt[info->res_type].code; in m5mols_s_stream() 1006 info->res_type = M5MOLS_RESTYPE_MONITOR; in m5mols_probe()
|
D | m5mols.h | 229 int res_type; member
|
/Linux-v5.4/drivers/infiniband/core/ |
D | nldev.c | 1183 enum rdma_restrack_type res_type) in res_get_common_doit() argument 1185 const struct nldev_fill_res_entry *fe = &fill_entries[res_type]; in res_get_common_doit() 1219 res = rdma_restrack_get_byid(device, res_type, id); in res_get_common_doit() 1266 enum rdma_restrack_type res_type) in res_get_common_dumpit() argument 1268 const struct nldev_fill_res_entry *fe = &fill_entries[res_type]; in res_get_common_dumpit() 1329 rt = &device->res[res_type]; in res_get_common_dumpit()
|
/Linux-v5.4/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 866 int res_type = get_resource(f_type); in res_get() local 869 if (dev->resources & res_type) { in res_get() 875 dev->resources |= res_type; in res_get() 876 em28xx_videodbg("res: get %d\n", res_type); in res_get() 882 int res_type = get_resource(f_type); in res_free() local 884 dev->resources &= ~res_type; in res_free() 885 em28xx_videodbg("res: put %d\n", res_type); in res_free()
|