| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | minimal.c | 37 const struct mlxsw_bus_info *bus_info; member 95 strscpy(drvinfo->driver, mlxsw_m->bus_info->device_kind, in mlxsw_m_module_get_drvinfo() 99 mlxsw_m->bus_info->fw_rev.major, in mlxsw_m_module_get_drvinfo() 100 mlxsw_m->bus_info->fw_rev.minor, in mlxsw_m_module_get_drvinfo() 101 mlxsw_m->bus_info->fw_rev.subminor); in mlxsw_m_module_get_drvinfo() 102 strscpy(drvinfo->bus_info, mlxsw_m->bus_info->device_name, in mlxsw_m_module_get_drvinfo() 103 sizeof(drvinfo->bus_info)); in mlxsw_m_module_get_drvinfo() 258 dev_err(mlxsw_m->bus_info->dev, "Port %d: Failed to init core port\n", in mlxsw_m_port_create() 269 SET_NETDEV_DEV(dev, mlxsw_m->bus_info->dev); in mlxsw_m_port_create() 293 dev_err(mlxsw_m->bus_info->dev, "Port %d: Unable to get port mac address\n", in mlxsw_m_port_create() [all …]
|
| H A D | core_thermal.c | 129 const struct mlxsw_bus_info *bus_info; member 190 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_temp() 301 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_cur_state() 324 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_set_cur_state() 580 err = mlxsw_thermal_modules_init(thermal->bus_info->dev, thermal->core, in mlxsw_thermal_got_active() 583 …dev_err(thermal->bus_info->dev, "Failed to configure thermal objects for line card modules in slot… in mlxsw_thermal_got_active() 588 err = mlxsw_thermal_gearboxes_init(thermal->bus_info->dev, in mlxsw_thermal_got_active() 591 …dev_err(thermal->bus_info->dev, "Failed to configure thermal objects for line card gearboxes in sl… in mlxsw_thermal_got_active() 625 const struct mlxsw_bus_info *bus_info, in mlxsw_thermal_init() argument 630 struct device *dev = bus_info->dev; in mlxsw_thermal_init() [all …]
|
| H A D | core_hwmon.c | 61 const struct mlxsw_bus_info *bus_info; member 83 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query temp sensor\n"); in mlxsw_hwmon_temp_show() 108 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query temp sensor\n"); in mlxsw_hwmon_temp_max_show() 146 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to reset temp sensor history\n"); in mlxsw_hwmon_temp_rst_store() 166 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query fan\n"); in mlxsw_hwmon_fan_rpm_show() 186 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query fan\n"); in mlxsw_hwmon_fan_fault_show() 208 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query PWM\n"); in mlxsw_hwmon_pwm_show() 236 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to write PWM\n"); in mlxsw_hwmon_pwm_store() 615 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to get number of temp sensors\n"); in mlxsw_hwmon_temp_init() 634 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to setup temp sensor number %d\n", in mlxsw_hwmon_temp_init() [all …]
|
| H A D | spectrum.c | 483 …dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: width value is not power of … in mlxsw_sp_port_module_info_parse() 490 …dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: contains multiple modules\n", in mlxsw_sp_port_module_info_parse() 495 …dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: contains multiple slot index… in mlxsw_sp_port_module_info_parse() 502 …dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: TX and RX lane numbers are d… in mlxsw_sp_port_module_info_parse() 507 …dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: TX and RX lane numbers are n… in mlxsw_sp_port_module_info_parse() 1473 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to map module\n", in mlxsw_sp_port_create() 1480 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to set SWID\n", in mlxsw_sp_port_create() 1488 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to get port label information\n", in mlxsw_sp_port_create() 1499 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to init core port\n", in mlxsw_sp_port_create() 1509 SET_NETDEV_DEV(dev, mlxsw_sp->bus_info->dev); in mlxsw_sp_port_create() [all …]
|
| H A D | core_linecards.c | 418 …dev_warn_once(linecard->linecards->bus_info->dev, "linecard %u: More flashable devices present, ex… in mlxsw_linecard_device_info_update() 817 …dev_err(linecard->linecards->bus_info->dev, "linecard %u: Timeout reached waiting on %s status eve… in mlxsw_linecard_status_event_to_work() 826 dev_info(linecard->linecards->bus_info->dev, "linecard %u: Clearing FSM state error", in __mlxsw_linecard_fix_fsm_state() 963 dev_err(linecards->bus_info->dev, "linecard %u: Failed to activate INI", in mlxsw_linecard_bct_process() 1358 dev_warn(linecards->bus_info->dev, "Invalid linecards INIs file size, smaller than magic size\n"); in mlxsw_linecard_types_file_validate() 1362 dev_warn(linecards->bus_info->dev, "Invalid linecards INIs file magic pattern\n"); in mlxsw_linecard_types_file_validate() 1371 …dev_warn(linecards->bus_info->dev, "Linecards INIs file contains INI which is smaller than bare mi… in mlxsw_linecard_types_file_validate() 1377 dev_warn(linecards->bus_info->dev, "Linecards INIs file appears to be truncated\n"); in mlxsw_linecard_types_file_validate() 1381 dev_warn(linecards->bus_info->dev, "Linecards INIs file contains INI with invalid size\n"); in mlxsw_linecard_types_file_validate() 1389 dev_warn(linecards->bus_info->dev, "Linecards INIs file does not contain any INI\n"); in mlxsw_linecard_types_file_validate() [all …]
|
| H A D | core.c | 70 const struct mlxsw_bus_info *bus_info; member 976 dev_dbg(mlxsw_core->bus_info->dev, "EMAD reg access (tid=%llx,reg_id=%x(%s),type=%s)\n", in mlxsw_emad_reg_access() 1233 .psid = mlxsw_core->bus_info->psid, in mlxsw_core_dev_fw_flash() 1234 .psid_size = strlen(mlxsw_core->bus_info->psid), in mlxsw_core_dev_fw_flash() 1602 err = mlxsw_core_bus_device_register(mlxsw_core->bus_info, in mlxsw_devlink_core_bus_device_reload_up() 2048 dev_err(mlxsw_core->bus_info->dev, "Failed to create fw fatal reporter"); in mlxsw_core_health_init() 2130 mlxsw_core->bus_info = mlxsw_bus_info; in __mlxsw_core_bus_device_register() 2735 dev_warn(mlxsw_core->bus_info->dev, "EMAD retries (%d/%d) (tid=%llx)\n", in mlxsw_reg_trans_wait() 2738 …dev_err(mlxsw_core->bus_info->dev, "EMAD reg access failed (tid=%llx,reg_id=%x(%s),type=%s,status=… in mlxsw_reg_trans_wait() 2839 dev_dbg(mlxsw_core->bus_info->dev, "Reg cmd access (reg_id=%x(%s),type=%s)\n", in mlxsw_core_reg_access_cmd() [all …]
|
| H A D | spectrum_flower.c | 291 dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); in mlxsw_sp_flower_parse_actions() 427 dev_err(mlxsw_sp->bus_info->dev, "Only UDP and TCP keys are supported\n"); in mlxsw_sp_flower_parse_ports() 516 dev_err(mlxsw_sp->bus_info->dev, "TCP keys supported only for TCP\n"); in mlxsw_sp_flower_parse_tcp() 524 dev_err(mlxsw_sp->bus_info->dev, "TCP flags match not supported on reserved bits\n"); in mlxsw_sp_flower_parse_tcp() 547 dev_err(mlxsw_sp->bus_info->dev, "IP keys supported only for IPv4/6\n"); in mlxsw_sp_flower_parse_ip() 592 dev_err(mlxsw_sp->bus_info->dev, "Unsupported key\n"); in mlxsw_sp_flower_parse()
|
| H A D | pci.c | 132 struct mlxsw_bus_info bus_info; member 1650 struct mlxsw_bus_info *bus_info = &mlxsw_pci->bus_info; in mlxsw_pci_boardinfo() local 1657 mlxsw_cmd_mbox_boardinfo_vsd_memcpy_from(mbox, bus_info->vsd); in mlxsw_pci_boardinfo() 1658 mlxsw_cmd_mbox_boardinfo_psid_memcpy_from(mbox, bus_info->psid); in mlxsw_pci_boardinfo() 1949 mlxsw_pci->bus_info.fw_rev.major = in mlxsw_pci_init() 1951 mlxsw_pci->bus_info.fw_rev.minor = in mlxsw_pci_init() 1953 mlxsw_pci->bus_info.fw_rev.subminor = in mlxsw_pci_init() 2053 mlxsw_pci->bus_info.device_kind, mlxsw_pci); in mlxsw_pci_init() 2463 mlxsw_pci->bus_info.device_kind = driver_name; in mlxsw_pci_probe() 2464 mlxsw_pci->bus_info.device_name = pci_name(mlxsw_pci->pdev); in mlxsw_pci_probe() [all …]
|
| H A D | core_env.c | 32 const struct mlxsw_bus_info *bus_info; member 1343 dev_err(env->bus_info->dev, "%s\n", extack._msg); in mlxsw_env_linecard_modules_power_mode_apply() 1369 …dev_err(mlxsw_env->bus_info->dev, "Failed to enable port module events for line card in slot %d\n", in mlxsw_env_got_active() 1375 dev_err(mlxsw_env->bus_info->dev, "Failed to set modules' type for line card in slot %d\n", in mlxsw_env_got_active() 1433 const struct mlxsw_bus_info *bus_info, in mlxsw_env_init() argument 1460 env->bus_info = bus_info; in mlxsw_env_init()
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | devlink_port_split.py | 67 arr.append(Port(bus_info=port, name=ports[port]['netdev'])) 115 cmd = "devlink port split %s count %s" % (port.bus_info, k) 201 unsplit(port.bus_info) 222 unsplit(port.bus_info)
|
| /linux/Documentation/userspace-api/media/mediactl/ |
| H A D | media-ioc-device-info.rst | 70 - ``bus_info``\ [32] 94 The ``serial`` and ``bus_info`` fields can be used to distinguish 97 If the serial number is an empty string, the ``bus_info`` field can be 98 used instead. The ``bus_info`` field is guaranteed to be unique, but can
|
| /linux/drivers/media/mc/ |
| H A D | mc-device.c | 72 strscpy(info->bus_info, dev->bus_info, sizeof(info->bus_info)); in media_device_get_info() 713 if (!*mdev->bus_info) in media_device_init() 714 media_set_bus_info(mdev->bus_info, sizeof(mdev->bus_info), in media_device_init() 876 sprintf(mdev->bus_info, "PCI:%s", pci_name(pci_dev)); in media_device_pci_init() 906 usb_make_path(udev, mdev->bus_info, sizeof(mdev->bus_info)); in __media_device_usb_init()
|
| /linux/sound/aoa/soundbus/ |
| H A D | soundbus.h | 55 struct bus_info { struct 120 struct bus_info *bi,
|
| /linux/drivers/platform/x86/intel/speed_select_if/ |
| H A D | isst_if_common.c | 276 int bus_info[ISST_MAX_BUS_NUMBER]; member 305 bus_number = isst_cpu_info[cpu].bus_info[bus_no]; in _isst_if_get_pci_dev() 394 isst_cpu_info[cpu].bus_info[0] = -1; in isst_if_cpu_online() 395 isst_cpu_info[cpu].bus_info[1] = -1; in isst_if_cpu_online() 397 isst_cpu_info[cpu].bus_info[0] = data & 0xff; in isst_if_cpu_online() 398 isst_cpu_info[cpu].bus_info[1] = (data >> 8) & 0xff; in isst_if_cpu_online()
|
| /linux/drivers/pci/hotplug/ |
| H A D | ibmphp_ebda.c | 111 struct bus_info *ptr; in print_bus_info() 690 struct bus_info *bus_info_ptr1, *bus_info_ptr2; in ebda_rsrc_controller() 741 bus_info_ptr1 = kzalloc_obj(struct bus_info); in ebda_rsrc_controller() 1006 struct bus_info *ibmphp_find_same_bus_num(u32 num) in ibmphp_find_same_bus_num() 1008 struct bus_info *ptr; in ibmphp_find_same_bus_num() 1022 struct bus_info *ptr; in ibmphp_get_bus_index() 1033 struct bus_info *bus_info, *next; in ibmphp_free_bus_info_queue() local 1035 list_for_each_entry_safe(bus_info, next, &bus_info_head, in ibmphp_free_bus_info_queue() 1037 kfree (bus_info); in ibmphp_free_bus_info_queue()
|
| H A D | ibmphp.h | 238 struct bus_info { struct 270 struct bus_info *ibmphp_find_same_bus_num(u32); argument 704 struct bus_info *bus_on;
|
| /linux/drivers/staging/octeon/ |
| H A D | ethernet-mdio.c | 24 strscpy(info->bus_info, "Builtin", sizeof(info->bus_info)); in cvm_oct_get_drvinfo()
|
| /linux/drivers/net/ovpn/ |
| H A D | main.c | 128 strscpy(info->bus_info, "ovpn", sizeof(info->bus_info)); in ovpn_get_drvinfo()
|
| /linux/drivers/media/radio/ |
| H A D | radio-tea5777.h | 68 u8 bus_info[32]; member
|
| H A D | radio-sf16fmr2.c | 239 snprintf(fmr2->tea.bus_info, sizeof(fmr2->tea.bus_info), "%s:%s", in fmr2_probe()
|
| H A D | tea575x.c | 228 strscpy(v->bus_info, tea->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
|
| H A D | radio-tea5777.c | 262 strscpy(v->bus_info, tea->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-ethtool.c | 107 strscpy(drvinfo->bus_info, dev_name(pdata->dev), in xlgmac_ethtool_get_drvinfo() 108 sizeof(drvinfo->bus_info)); in xlgmac_ethtool_get_drvinfo()
|
| /linux/include/media/drv-intf/ |
| H A D | tea575x.h | 55 u8 bus_info[32]; member
|
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_ethtool.c | 19 strscpy(info->bus_info, dev_name(prueth->dev), sizeof(info->bus_info)); in emac_get_drvinfo()
|