Searched refs:hpdev (Results 1 – 7 of 7) sorted by relevance
| /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 …]
|
| H A D | nvsw-sn2201.c | 405 .hpdev.nr = NVSW_SN2201_NR_NONE, 411 .hpdev.nr = NVSW_SN2201_NR_NONE, 420 .hpdev.brdinfo = &nvsw_sn2201_pwr_devices[0], 421 .hpdev.nr = NVSW_SN2201_MAIN_MUX_CH1_NR, 427 .hpdev.brdinfo = &nvsw_sn2201_pwr_devices[1], 428 .hpdev.nr = NVSW_SN2201_MAIN_MUX_CH2_NR, 437 .hpdev.brdinfo = &nvsw_sn2201_fan_devices[0], 438 .hpdev.nr = NVSW_SN2201_2ND_MUX_CH0_NR, 444 .hpdev.brdinfo = &nvsw_sn2201_fan_devices[1], 445 .hpdev.nr = NVSW_SN2201_2ND_MUX_CH1_NR, [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() 1175 static void _hv_pcifront_read_config(struct hv_pci_dev *hpdev, int where, in _hv_pcifront_read_config() argument 1178 struct hv_pcibus_device *hbus = hpdev->hbus; in _hv_pcifront_read_config() 1187 memcpy(val, ((u8 *)&hpdev->desc.v_id) + where, size); in _hv_pcifront_read_config() 1190 memcpy(val, ((u8 *)&hpdev->desc.rev) + where - in _hv_pcifront_read_config() 1194 memcpy(val, (u8 *)&hpdev->desc.subsystem_id + where - in _hv_pcifront_read_config() [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | mlxreg.h | 147 struct mlxreg_hotplug_device hpdev; member
|