| /linux/drivers/platform/mellanox/ |
| H A D | mlxreg-dpu.c | 204 .hpdev.nr = MLXREG_DPU_NR_NONE, 210 .hpdev.nr = MLXREG_DPU_NR_NONE, 216 .hpdev.nr = MLXREG_DPU_NR_NONE, 222 .hpdev.nr = MLXREG_DPU_NR_NONE, 228 .hpdev.nr = MLXREG_DPU_NR_NONE, 234 .hpdev.nr = MLXREG_DPU_NR_NONE, 240 .hpdev.nr = MLXREG_DPU_NR_NONE, 246 .hpdev.nr = MLXREG_DPU_NR_NONE, 255 .hpdev.nr = MLXREG_DPU_NR_NONE, 261 .hpdev.nr = MLXREG_DPU_NR_NONE, [all …]
|
| H A D | mlx-platform.c | 706 .hpdev.nr = MLXPLAT_CPLD_NR_NONE, 712 .hpdev.nr = MLXPLAT_CPLD_NR_NONE, 722 .hpdev.nr = MLXPLAT_CPLD_NR_NONE, 728 .hpdev.nr = MLXPLAT_CPLD_NR_NONE, 738 .hpdev.nr = MLXPLAT_CPLD_NR_NONE, 747 .hpdev.brdinfo = &mlxplat_mlxcpld_pwr[0], 748 .hpdev.nr = MLXPLAT_CPLD_PSU_DEFAULT_NR, 754 .hpdev.brdinfo = &mlxplat_mlxcpld_pwr[1], 755 .hpdev.nr = MLXPLAT_CPLD_PSU_DEFAULT_NR, 764 .hpdev.nr = MLXPLAT_CPLD_NR_NONE, [all …]
|
| H A D | mlxreg-lc.c | 510 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.nr, NULL, 0, in mlxreg_lc_config_init() 762 data->hpdev.brdinfo->type, data->hpdev.nr, in mlxreg_lc_config_init() 763 data->hpdev.brdinfo->addr); in mlxreg_lc_config_init() 773 platform_device_register_resndata(dev, "leds-mlxreg", data->hpdev.nr, NULL, 0, in mlxreg_lc_config_init() [all …]
|
| H A D | mlxreg-hotplug.c | 104 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.nr + in mlxreg_hotplug_device_create() 140 i2c_put_adapter(data->hpdev.adapter); in mlxreg_hotplug_device_create() 141 data->hpdev.adapter = NULL; in mlxreg_hotplug_device_create() [all …]
|
| /linux/drivers/pci/controller/ |
| H A D | pci-hyperv.c | 1030 static void get_pcichild(struct hv_pci_dev *hpdev) in get_pcichild() argument 1032 refcount_inc(&hpdev->refs); in get_pcichild() 1035 static void put_pcichild(struct hv_pci_dev *hpdev) in put_pcichild() argument 1037 if (refcount_dec_and_test(&hpdev->refs)) in put_pcichild() 1038 kfree(hpdev); in put_pcichild() 1189 * @hpdev: The PCI driver's representation of the device in _hv_pcifront_read_config() 1194 static void _hv_pcifront_read_config(struct hv_pci_dev *hpdev, int where, in _hv_pcifront_read_config() 1197 struct hv_pcibus_device *hbus = hpdev->hbus; in _hv_pcifront_read_config() 1206 memcpy(val, ((u8 *)&hpdev->desc.v_id) + where, size); in _hv_pcifront_read_config() 1209 memcpy(val, ((u8 *)&hpdev in _hv_pcifront_read_config() 1175 _hv_pcifront_read_config(struct hv_pci_dev * hpdev,int where,int size,u32 * val) _hv_pcifront_read_config() argument 1248 hv_pcifront_get_vendor_id(struct hv_pci_dev * hpdev) hv_pcifront_get_vendor_id() argument 1293 _hv_pcifront_write_config(struct hv_pci_dev * hpdev,int where,int size,u32 val) _hv_pcifront_write_config() argument 1360 struct hv_pci_dev *hpdev; hv_pcifront_read_config() local 1388 struct hv_pci_dev *hpdev; hv_pcifront_write_config() local 1640 struct hv_pci_dev *hpdev; hv_register_block_invalidate() local 1655 hv_int_desc_free(struct hv_pci_dev * hpdev,struct tran_int_desc * int_desc) hv_int_desc_free() argument 1692 struct hv_pci_dev *hpdev; hv_msi_free() local 1879 struct hv_pci_dev *hpdev; hv_compose_msi_msg() local 2253 struct hv_pci_dev *hpdev; survey_child_resources() local 2330 struct hv_pci_dev *hpdev; prepopulate_bars() local 2441 struct hv_pci_dev *hpdev; hv_pci_assign_slots() local 2465 struct hv_pci_dev *hpdev; hv_pci_remove_slots() local 2544 struct hv_pci_dev *hpdev; global() member 2594 struct hv_pci_dev *hpdev; new_pcichild_device() local 2661 struct hv_pci_dev *iter, *hpdev = NULL; get_pcichild_wslot() local 2704 struct hv_pci_dev *hpdev; pci_devices_present_work() local 2954 struct hv_pci_dev *hpdev; hv_eject_device_work() local 3016 hv_pci_eject_device(struct hv_pci_dev * hpdev) hv_pci_eject_device() argument 3056 struct hv_pci_dev *hpdev; hv_pci_onchannelcallback() local 3602 struct hv_pci_dev *hpdev; hv_send_resources_allocated() local 3677 struct hv_pci_dev *hpdev; hv_send_resources_released() local 3901 struct hv_pci_dev *hpdev, *tmp; hv_pci_bus_exit() local [all...] |
| /linux/tools/testing/cxl/test/ |
| H A D | hmem_test.c | 16 struct hmem_platform_device *hpdev = in hmem_test_release() local 17 container_of(dev, typeof(*hpdev), pdev.dev); in hmem_test_release() 19 memset(hpdev, 0, sizeof(*hpdev)); in hmem_test_release()
|
| /linux/include/linux/platform_data/ |
| H A D | mlxreg.h | 147 struct mlxreg_hotplug_device hpdev; member
|