/kernel/linux/linux-5.10/drivers/misc/ |
H A D | ibmvmc.c | 386 * @hmc: ibmvmc_hmc struct 390 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() 469 * @hmc: ibmvmc_hmc struct 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 in ibmvmc_return_hmc() 543 ibmvmc_send_open(struct ibmvmc_buffer *buffer, struct ibmvmc_hmc *hmc) ibmvmc_send_open() argument 605 ibmvmc_send_close(struct ibmvmc_hmc *hmc) ibmvmc_send_close() argument 777 ibmvmc_send_msg(struct crq_server_adapter *adapter, struct ibmvmc_buffer *buffer, struct ibmvmc_hmc *hmc, int msg_len) ibmvmc_send_msg() argument 856 struct ibmvmc_hmc *hmc; ibmvmc_close() local 907 struct ibmvmc_hmc *hmc; ibmvmc_read() local 1008 struct ibmvmc_hmc *hmc; ibmvmc_poll() local 1045 struct ibmvmc_hmc *hmc; ibmvmc_write() local 1149 struct ibmvmc_hmc *hmc; ibmvmc_setup_hmc() local 1209 struct ibmvmc_hmc *hmc; ibmvmc_ioctl_sethmcid() local 1599 struct ibmvmc_hmc *hmc; ibmvmc_recv_msg() local [all...] |
H A D | ibmvmc.h | 199 struct ibmvmc_hmc *hmc; member
|
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | ibmvmc.c | 386 * @hmc: ibmvmc_hmc struct 390 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() 469 * @hmc: ibmvmc_hmc struct 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 in ibmvmc_return_hmc() 543 ibmvmc_send_open(struct ibmvmc_buffer *buffer, struct ibmvmc_hmc *hmc) ibmvmc_send_open() argument 605 ibmvmc_send_close(struct ibmvmc_hmc *hmc) ibmvmc_send_close() argument 777 ibmvmc_send_msg(struct crq_server_adapter *adapter, struct ibmvmc_buffer *buffer, struct ibmvmc_hmc *hmc, int msg_len) ibmvmc_send_msg() argument 856 struct ibmvmc_hmc *hmc; ibmvmc_close() local 907 struct ibmvmc_hmc *hmc; ibmvmc_read() local 1008 struct ibmvmc_hmc *hmc; ibmvmc_poll() local 1046 struct ibmvmc_hmc *hmc; ibmvmc_write() local 1151 struct ibmvmc_hmc *hmc; ibmvmc_setup_hmc() local 1211 struct ibmvmc_hmc *hmc; ibmvmc_ioctl_sethmcid() local 1601 struct ibmvmc_hmc *hmc; ibmvmc_recv_msg() local [all...] |
H A D | ibmvmc.h | 199 struct ibmvmc_hmc *hmc; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_lan_hmc.c | 86 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 in i40e_init_lan_hmc() [all...] |
H A D | i40e_type.h | 577 struct i40e_hmc_info hmc; /* HMC info struct */ member
|
H A D | i40e_main.c | 10129 if (hw->hmc.hmc_obj) { in i40e_prep_for_reset() 15611 * adminq and hmc. in i40e_remove() 15631 if (hw->hmc.hmc_obj) { in i40e_remove()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_lan_hmc.c | 86 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 in i40e_init_lan_hmc() [all...] |
H A D | i40e_type.h | 577 struct i40e_hmc_info hmc; /* HMC info struct */ member
|
H A D | i40e_main.c | 10742 if (hw->hmc.hmc_obj) { in i40e_prep_for_reset() 16345 * adminq and hmc. in i40e_remove() 16365 if (hw->hmc.hmc_obj) { in i40e_remove()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | Makefile | 12 hmc.o \
|
H A D | type.h | 8 #include "hmc.h" 317 struct irdma_hmc_info hmc; member
|
H A D | utils.c | 1723 pestat->hw->hmc.hmc_fn_id; in irdma_cqp_gather_stats_gen1()
|
H A D | hw.c | 32 /* types of hmc objects */ 773 * irdma_close_hmc_objects_type - delete hmc objects of a given type 775 * @obj_type: the hmc object type to be deleted 797 * irdma_del_hmc_objects - remove all device hmc objects 820 * irdma_create_hmc_obj_type - create hmc object of a given type 822 * @info: information for the hmc object to create 831 * irdma_create_hmc_objs - create all hmc objects for the device 836 * Create the device hmc objects and allocate hmc pages 875 /* destroy the hmc object in irdma_create_hmc_objs() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | omap_udc.c | 2250 " b_ase_brst=%d hmc=%d\n", tmp, in proc_otg_show() 2313 "hmc %d, transceiver %s\n", in proc_udc_show() 2748 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-6.6/drivers/usb/gadget/udc/ |
H A D | omap_udc.c | 2250 " b_ase_brst=%d hmc=%d\n", tmp, in proc_otg_show() 2313 "hmc %d, transceiver %s\n", in proc_udc_show() 2750 int hmc; in omap_udc_probe() local 2781 hmc = HMC_1510; in omap_udc_probe() 2812 hmc = HMC_1610; in omap_udc_probe() 2814 switch (hmc) { in omap_udc_probe() 2848 ERR("unrecognized UDC HMC mode %d\n", hmc); in omap_udc_probe() 2853 INFO("hmc mode %d, %s transceiver\n", hmc, type); in omap_udc_probe()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_hmc.c | 143 * @hmc_fn_id: hmc's function id 224 * i40iw_vfdev_from_fpm - return vf dev ptr for hmc function id 226 * @hmc_fn_id: hmc's function id 244 * i40iw_vf_hmcinfo_from_fpm - get ptr to hmc for func_id 246 * @hmc_fn_id: hmc's function id 288 * i40iw_create_iw_hmc_obj - allocate backing store for hmc objects 437 * i40iw_del_iw_hmc_obj - remove pe hmc objects 667 else if (hw->hmc.hmc_fn_id != hmc_info->hmc_fn_id) in i40iw_add_pd_table_entry() 785 * @vf_cnt_array: array of cnt values of iwarp hmc objects 786 * @vf_hmc_fn_id: hmc functio [all...] |
H A D | i40iw_type.h | 266 struct i40iw_hmc_info hmc; member
|
H A D | i40iw_main.c | 380 /* types of hmc objects */ 396 * i40iw_close_hmc_objects_type - delete hmc objects of a given type 398 * @obj_type: the hmc object type to be deleted 420 * i40iw_del_hmc_objects - remove all device hmc objects 453 * i40iw_create_hmc_obj_type - create hmc object of a given type 455 * @info: information for the hmc object to create 464 * i40iw_create_hmc_objs - create all hmc objects for the device 468 * Create the device hmc objects and allocate hmc pages 501 /* destroy the hmc object in i40iw_create_hmc_objs() [all...] |