Home
last modified time | relevance | path

Searched refs:hpdev (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/platform/mellanox/
H A Dmlxreg-dpu.c204 .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 Dmlx-platform.c704 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
710 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
720 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
726 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
735 .hpdev.brdinfo = &mlxplat_mlxcpld_pwr[0],
736 .hpdev.nr = MLXPLAT_CPLD_PSU_DEFAULT_NR,
742 .hpdev.brdinfo = &mlxplat_mlxcpld_pwr[1],
743 .hpdev.nr = MLXPLAT_CPLD_PSU_DEFAULT_NR,
752 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
758 .hpdev.nr = MLXPLAT_CPLD_NR_NONE,
[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.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 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.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 Dnvsw-sn2201.c405 .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/include/linux/platform_data/
H A Dmlxreg.h147 struct mlxreg_hotplug_device hpdev; member