Home
last modified time | relevance | path

Searched refs:hpdev (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-hyperv.c576 static void get_pcichild(struct hv_pci_dev *hpdev) in get_pcichild() argument
578 refcount_inc(&hpdev->refs); in get_pcichild()
581 static void put_pcichild(struct hv_pci_dev *hpdev) in put_pcichild() argument
583 if (refcount_dec_and_test(&hpdev->refs)) in put_pcichild()
584 kfree(hpdev); in put_pcichild()
655 * @hpdev: The PCI driver's representation of the device
660 static void _hv_pcifront_read_config(struct hv_pci_dev *hpdev, int where, in _hv_pcifront_read_config() argument
664 void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + where; in _hv_pcifront_read_config()
670 memcpy(val, ((u8 *)&hpdev->desc.v_id) + where, size); in _hv_pcifront_read_config()
673 memcpy(val, ((u8 *)&hpdev in _hv_pcifront_read_config()
721 hv_pcifront_get_vendor_id(struct hv_pci_dev *hpdev) hv_pcifront_get_vendor_id() argument
753 _hv_pcifront_write_config(struct hv_pci_dev *hpdev, int where, int size, u32 val) _hv_pcifront_write_config() argument
808 struct hv_pci_dev *hpdev; hv_pcifront_read_config() local
836 struct hv_pci_dev *hpdev; hv_pcifront_write_config() local
1088 struct hv_pci_dev *hpdev; hv_register_block_invalidate() local
1103 hv_int_desc_free(struct hv_pci_dev *hpdev, struct tran_int_desc *int_desc) hv_int_desc_free() argument
1142 struct hv_pci_dev *hpdev; hv_msi_free() local
1401 struct hv_pci_dev *hpdev; hv_compose_msi_msg() local
1668 struct hv_pci_dev *hpdev; survey_child_resources() local
1745 struct hv_pci_dev *hpdev; prepopulate_bars() local
1851 struct hv_pci_dev *hpdev; hv_pci_assign_slots() local
1875 struct hv_pci_dev *hpdev; hv_pci_remove_slots() local
1948 struct hv_pci_dev *hpdev; global() member
1996 struct hv_pci_dev *hpdev; new_pcichild_device() local
2063 struct hv_pci_dev *iter, *hpdev = NULL; get_pcichild_wslot() local
2106 struct hv_pci_dev *hpdev; pci_devices_present_work() local
2359 struct hv_pci_dev *hpdev; hv_eject_device_work() local
2419 hv_pci_eject_device(struct hv_pci_dev *hpdev) hv_pci_eject_device() argument
2459 struct hv_pci_dev *hpdev; hv_pci_onchannelcallback() local
2980 struct hv_pci_dev *hpdev; hv_send_resources_allocated() local
3055 struct hv_pci_dev *hpdev; hv_send_resources_released() local
3326 struct hv_pci_dev *hpdev, *tmp; hv_pci_bus_exit() local
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dmlx-platform.c650 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
656 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
666 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
672 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
681 .hpdev.brdinfo = &mlxplat_mlxcpld_pwr[0],
682 .hpdev.nr = MLXPLAT_CPLD_PSU_DEFAULT_NR,
688 .hpdev.brdinfo = &mlxplat_mlxcpld_pwr[1],
689 .hpdev.nr = MLXPLAT_CPLD_PSU_DEFAULT_NR,
698 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
704 .hpdev
[all...]
/kernel/linux/linux-6.6/drivers/platform/mellanox/
H A Dmlxreg-hotplug.c104 struct i2c_board_info *brdinfo = data->hpdev.brdinfo; in mlxreg_hotplug_device_create()
115 if (data->hpdev.nr < 0 && data->hpdev.action != MLXREG_HOTPLUG_DEVICE_NO_ACTION) in mlxreg_hotplug_device_create()
119 switch (data->hpdev.action) { in mlxreg_hotplug_device_create()
121 data->hpdev.adapter = i2c_get_adapter(data->hpdev.nr + in mlxreg_hotplug_device_create()
123 if (!data->hpdev.adapter) { in mlxreg_hotplug_device_create()
125 data->hpdev.nr + pdata->shift_nr); in mlxreg_hotplug_device_create()
133 client = i2c_new_client_device(data->hpdev.adapter, in mlxreg_hotplug_device_create()
137 brdinfo->type, data->hpdev in mlxreg_hotplug_device_create()
[all...]
H A Dmlxreg-lc.c510 struct device *dev = &data->hpdev.client->dev; in mlxreg_lc_sn4800_c16_config_init()
717 struct device *dev = &data->hpdev.client->dev; in mlxreg_lc_config_init()
732 data->hpdev.brdinfo->type, data->hpdev.nr, in mlxreg_lc_config_init()
733 data->hpdev.brdinfo->addr); in mlxreg_lc_config_init()
745 mlxreg_lc->mux = platform_device_register_resndata(dev, "i2c-mux-mlxcpld", data->hpdev.nr, in mlxreg_lc_config_init()
750 data->hpdev.brdinfo->type, data->hpdev.nr, data->hpdev.brdinfo->addr); in mlxreg_lc_config_init()
758 platform_device_register_resndata(dev, "mlxreg-io", data->hpdev in mlxreg_lc_config_init()
[all...]
H A Dnvsw-sn2201.c399 .hpdev.nr = NVSW_SN2201_NR_NONE,
405 .hpdev.nr = NVSW_SN2201_NR_NONE,
414 .hpdev.brdinfo = &nvsw_sn2201_pwr_devices[0],
415 .hpdev.nr = NVSW_SN2201_MAIN_MUX_CH1_NR,
421 .hpdev.brdinfo = &nvsw_sn2201_pwr_devices[1],
422 .hpdev.nr = NVSW_SN2201_MAIN_MUX_CH2_NR,
431 .hpdev.brdinfo = &nvsw_sn2201_fan_devices[0],
432 .hpdev.nr = NVSW_SN2201_2ND_MUX_CH0_NR,
438 .hpdev.brdinfo = &nvsw_sn2201_fan_devices[1],
439 .hpdev
[all...]
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpci-hyperv.c970 static void get_pcichild(struct hv_pci_dev *hpdev) in get_pcichild() argument
972 refcount_inc(&hpdev->refs); in get_pcichild()
975 static void put_pcichild(struct hv_pci_dev *hpdev) in put_pcichild() argument
977 if (refcount_dec_and_test(&hpdev->refs)) in put_pcichild()
978 kfree(hpdev); in put_pcichild()
1110 * @hpdev: The PCI driver's representation of the device
1115 static void _hv_pcifront_read_config(struct hv_pci_dev *hpdev, int where, in _hv_pcifront_read_config() argument
1118 struct hv_pcibus_device *hbus = hpdev->hbus; in _hv_pcifront_read_config()
1127 memcpy(val, ((u8 *)&hpdev->desc.v_id) + where, size); in _hv_pcifront_read_config()
1130 memcpy(val, ((u8 *)&hpdev in _hv_pcifront_read_config()
1188 hv_pcifront_get_vendor_id(struct hv_pci_dev *hpdev) hv_pcifront_get_vendor_id() argument
1233 _hv_pcifront_write_config(struct hv_pci_dev *hpdev, int where, int size, u32 val) _hv_pcifront_write_config() argument
1300 struct hv_pci_dev *hpdev; hv_pcifront_read_config() local
1328 struct hv_pci_dev *hpdev; hv_pcifront_write_config() local
1580 struct hv_pci_dev *hpdev; hv_register_block_invalidate() local
1595 hv_int_desc_free(struct hv_pci_dev *hpdev, struct tran_int_desc *int_desc) hv_int_desc_free() argument
1634 struct hv_pci_dev *hpdev; hv_msi_free() local
1824 struct hv_pci_dev *hpdev; hv_compose_msi_msg() local
2138 struct hv_pci_dev *hpdev; survey_child_resources() local
2215 struct hv_pci_dev *hpdev; prepopulate_bars() local
2326 struct hv_pci_dev *hpdev; hv_pci_assign_slots() local
2350 struct hv_pci_dev *hpdev; hv_pci_remove_slots() local
2421 struct hv_pci_dev *hpdev; global() member
2471 struct hv_pci_dev *hpdev; new_pcichild_device() local
2538 struct hv_pci_dev *iter, *hpdev = NULL; get_pcichild_wslot() local
2581 struct hv_pci_dev *hpdev; pci_devices_present_work() local
2833 struct hv_pci_dev *hpdev; hv_eject_device_work() local
2895 hv_pci_eject_device(struct hv_pci_dev *hpdev) hv_pci_eject_device() argument
2935 struct hv_pci_dev *hpdev; hv_pci_onchannelcallback() local
3481 struct hv_pci_dev *hpdev; hv_send_resources_allocated() local
3556 struct hv_pci_dev *hpdev; hv_send_resources_released() local
3820 struct hv_pci_dev *hpdev, *tmp; hv_pci_bus_exit() local
[all...]
/kernel/linux/linux-5.10/drivers/platform/mellanox/
H A Dmlxreg-hotplug.c105 if (data->hpdev.nr < 0) in mlxreg_hotplug_device_create()
109 data->hpdev.adapter = i2c_get_adapter(data->hpdev.nr + in mlxreg_hotplug_device_create()
111 if (!data->hpdev.adapter) { in mlxreg_hotplug_device_create()
113 data->hpdev.nr + pdata->shift_nr); in mlxreg_hotplug_device_create()
117 client = i2c_new_client_device(data->hpdev.adapter, in mlxreg_hotplug_device_create()
118 data->hpdev.brdinfo); in mlxreg_hotplug_device_create()
121 data->hpdev.brdinfo->type, data->hpdev.nr + in mlxreg_hotplug_device_create()
122 pdata->shift_nr, data->hpdev in mlxreg_hotplug_device_create()
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dmlx-platform.c361 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
367 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
377 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
383 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
392 .hpdev.brdinfo = &mlxplat_mlxcpld_pwr[0],
393 .hpdev.nr = MLXPLAT_CPLD_PSU_DEFAULT_NR,
399 .hpdev.brdinfo = &mlxplat_mlxcpld_pwr[1],
400 .hpdev.nr = MLXPLAT_CPLD_PSU_DEFAULT_NR,
409 .hpdev.brdinfo = &mlxplat_mlxcpld_fan[0],
410 .hpdev
[all...]
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dmlxreg.h56 * @hpdev - hotplug device data;
70 struct mlxreg_hotplug_device hpdev; member
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dmlxreg.h127 * @hpdev - hotplug device data;
147 struct mlxreg_hotplug_device hpdev; member

Completed in 14 milliseconds