Searched refs:hpdev (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/pci/controller/ |
D | pci-hyperv.c | 585 static void get_pcichild(struct hv_pci_dev *hpdev) in get_pcichild() argument 587 refcount_inc(&hpdev->refs); in get_pcichild() 590 static void put_pcichild(struct hv_pci_dev *hpdev) in put_pcichild() argument 592 if (refcount_dec_and_test(&hpdev->refs)) in put_pcichild() 593 kfree(hpdev); in put_pcichild() 669 static void _hv_pcifront_read_config(struct hv_pci_dev *hpdev, int where, in _hv_pcifront_read_config() argument 673 void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + where; in _hv_pcifront_read_config() 679 memcpy(val, ((u8 *)&hpdev->desc.v_id) + where, size); in _hv_pcifront_read_config() 682 memcpy(val, ((u8 *)&hpdev->desc.rev) + where - in _hv_pcifront_read_config() 686 memcpy(val, (u8 *)&hpdev->desc.subsystem_id + where - in _hv_pcifront_read_config() [all …]
|
/kernel/linux/linux-5.10/drivers/platform/mellanox/ |
D | mlxreg-hotplug.c | 105 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.brdinfo->addr); in mlxreg_hotplug_device_create() 124 i2c_put_adapter(data->hpdev.adapter); in mlxreg_hotplug_device_create() 125 data->hpdev.adapter = NULL; in mlxreg_hotplug_device_create() [all …]
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | mlx-platform.c | 361 .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.nr = MLXPLAT_CPLD_FAN1_DEFAULT_NR, [all …]
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | mlxreg.h | 70 struct mlxreg_hotplug_device hpdev; member
|