Home
last modified time | relevance | path

Searched refs:hotplug_data (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/platform/mellanox/
H A Dmlxreg-dpu.c332 struct mlxreg_core_hotplug_platform_data *hotplug_data; member
421 const struct mlxreg_core_hotplug_platform_data *hotplug_data) in mlxreg_dpu_copy_hotplug_data() argument
426 mlxreg_dpu->hotplug_data = devm_kmemdup(dev, hotplug_data, in mlxreg_dpu_copy_hotplug_data()
427 sizeof(*mlxreg_dpu->hotplug_data), GFP_KERNEL); in mlxreg_dpu_copy_hotplug_data()
428 if (!mlxreg_dpu->hotplug_data) in mlxreg_dpu_copy_hotplug_data()
431 mlxreg_dpu->hotplug_data->items = devm_kmemdup(dev, hotplug_data->items, in mlxreg_dpu_copy_hotplug_data()
432 mlxreg_dpu->hotplug_data->count * in mlxreg_dpu_copy_hotplug_data()
433 sizeof(*mlxreg_dpu->hotplug_data->items), in mlxreg_dpu_copy_hotplug_data()
435 if (!mlxreg_dpu->hotplug_data->items) in mlxreg_dpu_copy_hotplug_data()
438 item = mlxreg_dpu->hotplug_data->items; in mlxreg_dpu_copy_hotplug_data()
[all …]
H A Dnvsw-sn2201.c146 struct mlxreg_core_hotplug_platform_data *hotplug_data; member
1075 nvsw_sn2201->hotplug_data = &nvsw_sn2201_busbar_hotplug; in nvsw_sn2201_config_init()
1077 nvsw_sn2201->hotplug_data = &nvsw_sn2201_hotplug; in nvsw_sn2201_config_init()
1119 if (nvsw_sn2201->hotplug_data) { in nvsw_sn2201_config_init()
1120 nvsw_sn2201->hotplug_data->regmap = regmap; in nvsw_sn2201_config_init()
1125 nvsw_sn2201->hotplug_data, in nvsw_sn2201_config_init()
1126 sizeof(*nvsw_sn2201->hotplug_data)); in nvsw_sn2201_config_init()
/linux/include/linux/
H A Dswitchtec.h445 u32 hotplug_data[5]; member