Home
last modified time | relevance | path

Searched refs:hmc (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/misc/
Dibmvmc.c390 static void ibmvmc_free_hmc_buffer(struct ibmvmc_hmc *hmc, in ibmvmc_free_hmc_buffer() argument
395 spin_lock_irqsave(&hmc->lock, flags); in ibmvmc_free_hmc_buffer()
397 spin_unlock_irqrestore(&hmc->lock, flags); in ibmvmc_free_hmc_buffer()
478 static int ibmvmc_return_hmc(struct ibmvmc_hmc *hmc, bool release_readers) in ibmvmc_return_hmc() argument
486 if (!hmc || !hmc->adapter) in ibmvmc_return_hmc()
490 if (hmc->file_session) { in ibmvmc_return_hmc()
491 struct ibmvmc_file_session *session = hmc->file_session; in ibmvmc_return_hmc()
498 adapter = hmc->adapter; in ibmvmc_return_hmc()
501 spin_lock_irqsave(&hmc->lock, flags); in ibmvmc_return_hmc()
502 hmc->index = 0; in ibmvmc_return_hmc()
[all …]
Dibmvmc.h199 struct ibmvmc_hmc *hmc; member
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c86 hw->hmc.signature = I40E_HMC_INFO_SIGNATURE; in i40e_init_lan_hmc()
87 hw->hmc.hmc_fn_id = hw->pf_id; in i40e_init_lan_hmc()
90 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.hmc_obj_virt_mem, in i40e_init_lan_hmc()
94 hw->hmc.hmc_obj = (struct i40e_hmc_obj_info *) in i40e_init_lan_hmc()
95 hw->hmc.hmc_obj_virt_mem.va; in i40e_init_lan_hmc()
98 full_obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_FULL]; in i40e_init_lan_hmc()
105 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_TX]; in i40e_init_lan_hmc()
125 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_RX]; in i40e_init_lan_hmc()
128 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_TX].base + in i40e_init_lan_hmc()
129 (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt * in i40e_init_lan_hmc()
[all …]
Di40e_type.h578 struct i40e_hmc_info hmc; /* HMC info struct */ member
Di40e_main.c10705 if (hw->hmc.hmc_obj) { in i40e_prep_for_reset()
16284 if (hw->hmc.hmc_obj) { in i40e_remove()
/Linux-v6.1/drivers/infiniband/hw/irdma/
DMakefile12 hmc.o \
Dtype.h362 struct irdma_hmc_info hmc; member
Dhw.c1581 dev->hmc_info = &rf->hw.hmc; in irdma_initialize_dev()
Dutils.c1694 pestat->hw->hmc.hmc_fn_id; in irdma_cqp_gather_stats_gen1()
/Linux-v6.1/drivers/usb/gadget/udc/
Domap_udc.c2755 int hmc; in omap_udc_probe() local
2799 hmc = HMC_1510; in omap_udc_probe()
2830 hmc = HMC_1610; in omap_udc_probe()
2832 switch (hmc) { in omap_udc_probe()
2866 ERR("unrecognized UDC HMC mode %d\n", hmc); in omap_udc_probe()
2871 INFO("hmc mode %d, %s transceiver\n", hmc, type); in omap_udc_probe()