Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/pmdomain/qcom/
Drpmpd.c58 const int res_type; member
78 .res_type = RPMPD_RWCX,
87 .res_type = RPMPD_RWCX,
96 .res_type = RPMPD_SMPA,
105 .res_type = RPMPD_SMPA,
114 .res_type = RPMPD_SMPA,
123 .res_type = RPMPD_SMPA,
132 .res_type = RPMPD_SMPA,
141 .res_type = RPMPD_SMPA,
150 .res_type = RPMPD_SMPA,
[all …]
/linux-6.12.1/drivers/infiniband/hw/usnic/
Dusnic_vnic.c48 static enum vnic_res_type _to_vnic_res_type(enum usnic_vnic_res_type res_type) in _to_vnic_res_type() argument
59 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) in _to_vnic_res_type()
62 return usnic_vnic_type_2_vnic_type[res_type]; in _to_vnic_res_type()
65 const char *usnic_vnic_res_type_to_str(enum usnic_vnic_res_type res_type) in usnic_vnic_res_type_to_str() argument
76 if (res_type >= USNIC_VNIC_RES_TYPE_MAX) in usnic_vnic_res_type_to_str()
79 return usnic_vnic_res_type_desc[res_type]; in usnic_vnic_res_type_to_str()
181 enum usnic_vnic_res_type res_type; in usnic_vnic_spec_dump() local
187 res_type = res_spec->resources[i].type; in usnic_vnic_spec_dump()
191 usnic_vnic_res_type_to_str(res_type), in usnic_vnic_spec_dump()
202 enum usnic_vnic_res_type res_type; in usnic_vnic_check_room() local
[all …]
Dusnic_ib_sysfs.c71 enum usnic_vnic_res_type res_type; in config_show() local
96 for (res_type = USNIC_VNIC_RES_TYPE_EOL; in config_show()
97 res_type < USNIC_VNIC_RES_TYPE_MAX; res_type++) { in config_show()
98 if (us_ibdev->vf_res_cnt[res_type] == 0) in config_show()
102 us_ibdev->vf_res_cnt[res_type], in config_show()
103 usnic_vnic_res_type_to_str(res_type)); in config_show()
Dusnic_ib_qp_grp.c535 enum usnic_vnic_res_type res_type; in alloc_res_chunk_list() local
552 res_type = res_spec->resources[i].type; in alloc_res_chunk_list()
555 res_chunk_list[i] = usnic_vnic_get_resources(vnic, res_type, in alloc_res_chunk_list()
561 usnic_vnic_res_type_to_str(res_type), in alloc_res_chunk_list()
745 enum usnic_vnic_res_type res_type) in usnic_ib_qp_grp_get_chunk() argument
750 if (qp_grp->res_chunk_list[i]->type == res_type) in usnic_ib_qp_grp_get_chunk()
Dusnic_ib_main.c535 enum usnic_vnic_res_type res_type; in usnic_ib_pci_probe() local
587 for (res_type = USNIC_VNIC_RES_TYPE_EOL+1; in usnic_ib_pci_probe()
588 res_type < USNIC_VNIC_RES_TYPE_MAX; in usnic_ib_pci_probe()
589 res_type++) { in usnic_ib_pci_probe()
590 pf->vf_res_cnt[res_type] = usnic_vnic_res_cnt(vf->vnic, in usnic_ib_pci_probe()
591 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);
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_inline.h400 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
403 if (iores->res_type & RESOURCE_FORCE) in qla_get_fw_resources()
415 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
420 if (iores->res_type & RESOURCE_EXCH) { in qla_get_fw_resources()
428 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
436 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
440 if (iores->res_type & RESOURCE_EXCH) { in qla_get_fw_resources()
443 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources()
455 iores->res_type |= RESOURCE_HA; in qla_get_fw_resources()
487 if (iores->res_type & RESOURCE_HA) { in qla_put_fw_resources()
[all …]
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c83 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_lookup() argument
87 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
207 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
235 enum vmw_cmdbuf_res_type res_type, in vmw_cmdbuf_res_remove() argument
242 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_remove()
Dvmwgfx_resource.c105 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id()
121 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release()
189 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id()
500 &res->dev_priv->res_lru[res->func->res_type]); in vmw_resource_unreserve()
687 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate()
1058 return res->func->res_type; in vmw_res_type()
Dvmwgfx_resource_priv.h84 enum vmw_res_type res_type; member
Dvmwgfx_va.c83 .res_type = vmw_res_stream,
Dvmwgfx_context.c75 .res_type = vmw_res_context,
88 .res_type = vmw_res_context,
103 .res_type = vmw_res_dx_context,
Dvmwgfx_execbuf.c269 enum vmw_res_type res_type) in vmw_execbuf_res_size() argument
271 return (res_type == vmw_res_dx_context || in vmw_execbuf_res_size()
272 (res_type == vmw_res_context && dev_priv->has_mob)) ? in vmw_execbuf_res_size()
317 enum vmw_res_type res_type = vmw_res_type(res); in vmw_execbuf_res_val_add() local
323 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_val_add()
338 priv_size = vmw_execbuf_res_size(dev_priv, res_type); in vmw_execbuf_res_val_add()
634 enum vmw_res_type res_type, in vmw_cmd_res_check() argument
640 struct vmw_res_cache_entry *rcache = &sw_context->res_cache[res_type]; in vmw_cmd_res_check()
649 if (res_type == vmw_res_context) { in vmw_cmd_res_check()
662 unsigned int size = vmw_execbuf_res_size(dev_priv, res_type); in vmw_cmd_res_check()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_kvdl.c13 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-6.12.1/drivers/platform/loongarch/
Dloongson-laptop.c67 char res_type; in acpi_evalf() local
87 res_type = *(fmt++); in acpi_evalf()
109 if (res_type != 'v') { in acpi_evalf()
118 switch (res_type) { in acpi_evalf()
129 pr_err("acpi_evalf() called with invalid format character '%c'\n", res_type); in acpi_evalf()
/linux-6.12.1/drivers/net/ethernet/brocade/bna/
Dbna_enet.c1865 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 …]
Dbna_tx_rx.c2166 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 …]
/linux-6.12.1/drivers/scsi/snic/
Dvnic_wq.c13 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl() argument
15 wq->ctrl = svnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
/linux-6.12.1/drivers/scsi/fnic/
Dvnic_wq.c17 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl() argument
19 wq->ctrl = vnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_switch.c1904 sw_buf->res_type = cpu_to_le16(ICE_AQC_RES_TYPE_VSI_LIST_REP); in ice_aq_alloc_free_vsi_list()
1907 sw_buf->res_type = in ice_aq_alloc_free_vsi_list()
1911 sw_buf->res_type = in ice_aq_alloc_free_vsi_list()
2182 u16 res_type; in ice_alloc_recipe() local
2186 res_type = FIELD_PREP(ICE_AQC_RES_TYPE_M, ICE_AQC_RES_TYPE_RECIPE); in ice_alloc_recipe()
2188 res_type |= ICE_AQC_RES_TYPE_FLAG_SUBSCRIBE_SHARED; in ice_alloc_recipe()
2190 res_type |= ICE_AQC_RES_TYPE_FLAG_SHARED; in ice_alloc_recipe()
2191 sw_buf->res_type = cpu_to_le16(res_type); in ice_alloc_recipe()
2498 u8 res_type; in ice_get_initial_sw_cfg() local
2512 res_type = (u8)(le16_to_cpu(ele->vsi_port_num) >> in ice_get_initial_sw_cfg()
[all …]
Dice_ptp_hw.c958 static int ice_phy_res_address_eth56g(u8 port, enum eth56g_res_type res_type, in ice_phy_res_address_eth56g() argument
964 if (res_type >= NUM_ETH56G_PHY_RES) in ice_phy_res_address_eth56g()
967 *addr = eth56g_phy_res[res_type].base[phy] + in ice_phy_res_address_eth56g()
968 lane * eth56g_phy_res[res_type].step + offset; in ice_phy_res_address_eth56g()
986 u32 val, enum eth56g_res_type res_type) in ice_write_port_eth56g() argument
996 err = ice_phy_res_address_eth56g(phy_port, res_type, offset, &addr); in ice_write_port_eth56g()
1017 u32 *val, enum eth56g_res_type res_type) in ice_read_port_eth56g() argument
1027 err = ice_phy_res_address_eth56g(phy_port, res_type, offset, &addr); in ice_read_port_eth56g()
1265 u64 *val, enum eth56g_res_type res_type) in ice_read_64b_phy_reg_eth56g() argument
1274 err = ice_read_port_eth56g(hw, port, low_addr, &lo, res_type); in ice_read_64b_phy_reg_eth56g()
[all …]
Dice_flex_pipe.c1312 u16 res_type; in ice_alloc_tcam_ent() local
1314 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_alloc_tcam_ent()
1317 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent()
1331 u16 res_type; in ice_free_tcam_ent() local
1333 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_free_tcam_ent()
1336 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent()
1350 u16 res_type; in ice_alloc_prof_id() local
1354 if (!ice_prof_id_rsrc_type(blk, &res_type)) in ice_alloc_prof_id()
1357 status = ice_alloc_hw_res(hw, res_type, 1, false, &get_prof); in ice_alloc_prof_id()
1375 u16 res_type; in ice_free_prof_id() local
[all …]
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dqp.h51 enum mlx5_res_type res_type);
/linux-6.12.1/drivers/net/fddi/skfp/
Dess.c135 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-6.12.1/mm/
Dmemcontrol-v1.h92 enum res_type { enum

123