Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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.h577 struct i40e_hmc_info hmc; /* HMC info struct */ member
Di40e_main.c10123 if (hw->hmc.hmc_obj) { in i40e_prep_for_reset()
15621 if (hw->hmc.hmc_obj) { in i40e_remove()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Domap_udc.c2748 int hmc; in omap_udc_probe() local
2792 hmc = HMC_1510; in omap_udc_probe()
2823 hmc = HMC_1610; in omap_udc_probe()
2825 switch (hmc) { in omap_udc_probe()
2859 ERR("unrecognized UDC HMC mode %d\n", hmc); in omap_udc_probe()
2864 INFO("hmc mode %d, %s transceiver\n", hmc, type); in omap_udc_probe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_hmc.c667 else if (hw->hmc.hmc_fn_id != hmc_info->hmc_fn_id) in i40iw_add_pd_table_entry()
Di40iw_type.h266 struct i40iw_hmc_info hmc; member
Di40iw_main.c1325 dev->hmc_info = &iwdev->hw.hmc; in i40iw_initialize_dev()