Home
last modified time | relevance | path

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

/linux/drivers/misc/
H A 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 …]
H A Dibmvmc.h199 struct ibmvmc_hmc *hmc; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_lan_hmc.c83 hw->hmc.signature = I40E_HMC_INFO_SIGNATURE; in i40e_init_lan_hmc()
84 hw->hmc.hmc_fn_id = hw->pf_id; in i40e_init_lan_hmc()
87 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.hmc_obj_virt_mem, in i40e_init_lan_hmc()
91 hw->hmc.hmc_obj = (struct i40e_hmc_obj_info *) in i40e_init_lan_hmc()
92 hw->hmc.hmc_obj_virt_mem.va; in i40e_init_lan_hmc()
95 full_obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_FULL]; in i40e_init_lan_hmc()
102 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_TX]; in i40e_init_lan_hmc()
122 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_RX]; in i40e_init_lan_hmc()
125 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_TX].base + in i40e_init_lan_hmc()
126 (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt * in i40e_init_lan_hmc()
[all …]
H A Di40e_type.h565 struct i40e_hmc_info hmc; /* HMC info struct */ member
H A Di40e_main.c10789 if (hw->hmc.hmc_obj) { in i40e_prep_for_reset()
16316 if (hw->hmc.hmc_obj) { in i40e_remove()
/linux/drivers/infiniband/hw/irdma/
H A DMakefile12 hmc.o \
H A Dtype.h317 struct irdma_hmc_info hmc; member
H A Dutils.c1718 pestat->hw->hmc.hmc_fn_id; in irdma_cqp_gather_stats_gen1()
H A Dhw.c1618 dev->hmc_info = &rf->hw.hmc; in irdma_initialize_dev()
/linux/drivers/usb/gadget/udc/
H A Domap_udc.c2746 int hmc; in omap_udc_probe() local
2777 hmc = HMC_1510; in omap_udc_probe()
2808 hmc = HMC_1610; in omap_udc_probe()
2810 switch (hmc) { in omap_udc_probe()
2844 ERR("unrecognized UDC HMC mode %d\n", hmc); in omap_udc_probe()
2849 INFO("hmc mode %d, %s transceiver\n", hmc, type); in omap_udc_probe()