/linux/drivers/infiniband/hw/usnic/ |
A D | usnic_vnic.c | 60 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) in _to_vnic_res_type() 77 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) 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() 203 enum usnic_vnic_res_type res_type; in usnic_vnic_check_room() local 353 enum usnic_vnic_res_type res_type; in usnic_vnic_discover_resources() local 381 res_type < USNIC_VNIC_RES_TYPE_MAX; res_type++) { in usnic_vnic_discover_resources() 383 &vnic->chunks[res_type]); in usnic_vnic_discover_resources() 391 for (res_type--; res_type > USNIC_VNIC_RES_TYPE_EOL; res_type--) in usnic_vnic_discover_resources() 422 enum usnic_vnic_res_type res_type; in usnic_vnic_release_resources() local [all …]
|
A D | usnic_ib_sysfs.c | 72 enum usnic_vnic_res_type res_type; in config_show() local 97 for (res_type = USNIC_VNIC_RES_TYPE_EOL; in config_show() 98 res_type < USNIC_VNIC_RES_TYPE_MAX; res_type++) { in config_show() 99 if (us_ibdev->vf_res_cnt[res_type] == 0) in config_show() 103 us_ibdev->vf_res_cnt[res_type], in config_show() 104 usnic_vnic_res_type_to_str(res_type)); in config_show()
|
A 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()
|
A 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() 746 enum usnic_vnic_res_type res_type) in usnic_ib_qp_grp_get_chunk() argument 751 if (qp_grp->res_chunk_list[i]->type == res_type) in usnic_ib_qp_grp_get_chunk()
|
A D | usnic_vnic.h | 85 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type);
|
/linux/drivers/gpu/drm/vmwgfx/ |
A 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() 196 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_add() argument 208 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()
|
A D | vmwgfx_resource.c | 102 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id() 118 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release() 186 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id() 522 &res->dev_priv->res_lru[res->func->res_type]); in vmw_resource_unreserve() 706 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate() 1077 return res->func->res_type; in vmw_res_type()
|
A D | vmwgfx_resource_priv.h | 83 enum vmw_res_type res_type; member
|
A D | vmwgfx_va.c | 82 .res_type = vmw_res_stream,
|
A D | vmwgfx_execbuf.c | 268 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() 310 enum vmw_res_type res_type = vmw_res_type(res); in vmw_execbuf_res_noref_val_add() local 316 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_noref_val_add() 325 priv_size = vmw_execbuf_res_size(dev_priv, res_type); in vmw_execbuf_res_noref_val_add() 361 enum vmw_res_type res_type = vmw_res_type(res); in vmw_execbuf_res_noctx_val_add() local 365 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_noctx_val_add() 653 enum vmw_res_type res_type, in vmw_cmd_res_check() argument 667 if (res_type == vmw_res_context) { in vmw_cmd_res_check() [all …]
|
A D | vmwgfx_context.c | 76 .res_type = vmw_res_context, 88 .res_type = vmw_res_context, 102 .res_type = vmw_res_dx_context,
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum2_kvdl.c | 13 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()
|
/linux/drivers/soc/qcom/ |
A D | rpmpd.c | 48 .res_type = RPMPD_##r_type, \ 56 .res_type = RPMPD_##r_type, \ 64 .res_type = RPMPD_##r_type, \ 72 .res_type = RPMPD_##r_type, \ 80 .res_type = RPMPD_##r_type, \ 88 .res_type = RPMPD_##r_type, \ 106 const int res_type; member 424 pd->res_type, pd->res_id, &req, sizeof(req)); in rpmpd_send_enable() 435 return qcom_rpm_smd_write(pd->rpm, state, pd->res_type, pd->res_id, in rpmpd_send_corner()
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_inline.h | 393 iores->res_type = RESOURCE_NONE; in qla_get_iocbs() 412 iores->res_type = RESOURCE_NONE; in qla_get_iocbs() 421 switch (iores->res_type) { in qla_put_iocbs() 433 iores->res_type = RESOURCE_NONE; in qla_put_iocbs()
|
/linux/drivers/net/ethernet/brocade/bna/ |
A 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 …]
|
A 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() 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 …]
|
/linux/drivers/scsi/snic/ |
A 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/drivers/scsi/fnic/ |
A 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/drivers/infiniband/hw/mlx5/ |
A D | qp.h | 41 enum mlx5_res_type res_type);
|
/linux/drivers/net/fddi/skfp/ |
A D | ess.c | 135 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()
|
/linux/drivers/media/i2c/m5mols/ |
A D | m5mols_core.c | 563 format = __find_format(info, sd_state, fmt->which, info->res_type); in m5mols_get_fmt() 601 info->res_type = type; in m5mols_set_fmt() 730 code = info->ffmt[info->res_type].code; in m5mols_s_stream() 1012 info->res_type = M5MOLS_RESTYPE_MONITOR; in m5mols_probe()
|
A D | m5mols.h | 231 int res_type; member
|
/linux/drivers/media/usb/em28xx/ |
A 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()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_flex_pipe.c | 2828 u16 res_type; in ice_alloc_tcam_ent() local 2830 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_alloc_tcam_ent() 2833 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent() 2847 u16 res_type; in ice_free_tcam_ent() local 2849 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_free_tcam_ent() 2852 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent() 2868 u16 res_type; in ice_alloc_prof_id() local 2871 if (!ice_prof_id_rsrc_type(blk, &res_type)) in ice_alloc_prof_id() 2893 u16 res_type; in ice_free_prof_id() local 2895 if (!ice_prof_id_rsrc_type(blk, &res_type)) in ice_free_prof_id() [all …]
|
/linux/drivers/infiniband/core/ |
A D | nldev.c | 1403 enum rdma_restrack_type res_type, in res_get_common_doit() argument 1406 const struct nldev_fill_res_entry *fe = &fill_entries[res_type]; in res_get_common_doit() 1440 res = rdma_restrack_get_byid(device, res_type, id); in res_get_common_doit() 1484 enum rdma_restrack_type res_type, in res_get_common_dumpit() argument 1487 const struct nldev_fill_res_entry *fe = &fill_entries[res_type]; in res_get_common_dumpit() 1549 rt = &device->res[res_type]; in res_get_common_dumpit()
|