/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | minimal.c | 33 const struct mlxsw_bus_info *bus_info; member 96 strlcpy(drvinfo->driver, mlxsw_m->bus_info->device_kind, in mlxsw_m_module_get_drvinfo() 100 mlxsw_m->bus_info->fw_rev.major, in mlxsw_m_module_get_drvinfo() 101 mlxsw_m->bus_info->fw_rev.minor, in mlxsw_m_module_get_drvinfo() 102 mlxsw_m->bus_info->fw_rev.subminor); in mlxsw_m_module_get_drvinfo() 103 strlcpy(drvinfo->bus_info, mlxsw_m->bus_info->device_name, in mlxsw_m_module_get_drvinfo() 104 sizeof(drvinfo->bus_info)); in mlxsw_m_module_get_drvinfo() 239 SET_NETDEV_DEV(dev, mlxsw_m->bus_info->dev); in mlxsw_m_port_create() 403 const struct mlxsw_fw_rev *rev = &mlxsw_m->bus_info->fw_rev; in mlxsw_m_fw_rev_validate() 427 mlxsw_m->bus_info = mlxsw_bus_info; in mlxsw_m_init() [all …]
|
A D | core_hwmon.c | 45 const struct mlxsw_bus_info *bus_info; member 72 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query temp sensor\n"); in mlxsw_hwmon_temp_show() 95 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query temp sensor\n"); in mlxsw_hwmon_temp_max_show() 131 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to reset temp sensor history\n"); in mlxsw_hwmon_temp_rst_store() 150 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query fan\n"); in mlxsw_hwmon_fan_rpm_show() 169 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query fan\n"); in mlxsw_hwmon_fan_fault_show() 190 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query PWM\n"); in mlxsw_hwmon_pwm_show() 217 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to write PWM\n"); in mlxsw_hwmon_pwm_store() 584 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to get number of temp sensors\n"); in mlxsw_hwmon_temp_init() 601 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to setup temp sensor number %d\n", in mlxsw_hwmon_temp_init() [all …]
|
A D | spectrum.c | 1545 SET_NETDEV_DEV(dev, mlxsw_sp->bus_info->dev); in mlxsw_sp_port_create() 1622 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to set MTU\n", in mlxsw_sp_port_create() 2766 mlxsw_sp->bus_info = mlxsw_bus_info; in mlxsw_sp_init() 2773 dev_err(mlxsw_sp->bus_info->dev, "Failed to get base mac\n"); in mlxsw_sp_init() 2797 dev_err(mlxsw_sp->bus_info->dev, "Failed to set traps\n"); in mlxsw_sp_init() 2815 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize LAG\n"); in mlxsw_sp_init() 2848 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize NVE\n"); in mlxsw_sp_init() 2854 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize ACL\n"); in mlxsw_sp_init() 2864 if (mlxsw_sp->bus_info->read_frc_capable) { in mlxsw_sp_init() 2868 mlxsw_sp->bus_info->dev); in mlxsw_sp_init() [all …]
|
A D | i2c.c | 77 struct mlxsw_bus_info bus_info; member 528 mlxsw_i2c->bus_info.fw_rev.major = in mlxsw_i2c_init() 530 mlxsw_i2c->bus_info.fw_rev.minor = in mlxsw_i2c_init() 532 mlxsw_i2c->bus_info.fw_rev.subminor = in mlxsw_i2c_init() 636 mlxsw_i2c->bus_info.device_kind = id->name; in mlxsw_i2c_probe() 637 mlxsw_i2c->bus_info.device_name = client->name; in mlxsw_i2c_probe() 638 mlxsw_i2c->bus_info.dev = &client->dev; in mlxsw_i2c_probe() 639 mlxsw_i2c->bus_info.low_frequency = true; in mlxsw_i2c_probe() 642 err = mlxsw_core_bus_device_register(&mlxsw_i2c->bus_info, in mlxsw_i2c_probe()
|
A D | core_thermal.c | 89 const struct mlxsw_bus_info *bus_info; member 221 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_bind() 247 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_unbind() 269 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_temp() 456 dev = thermal->bus_info->dev; in mlxsw_thermal_module_temp_get() 613 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_cur_state() 639 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_set_cur_state() 895 const struct mlxsw_bus_info *bus_info, in mlxsw_thermal_init() argument 900 struct device *dev = bus_info->dev; in mlxsw_thermal_init() 912 thermal->bus_info = bus_info; in mlxsw_thermal_init() [all …]
|
A D | spectrum_router_xm.c | 401 dev_err(mlxsw_sp->bus_info->dev, "Failed to flush XM cache\n"); in mlxsw_sp_router_xm_cache_flush_work() 439 dev_err(mlxsw_sp->bus_info->dev, "Failed to flush XM cache\n"); in mlxsw_sp_router_xm_cache_flush_work() 632 dev_err(mlxsw_sp->bus_info->dev, "Failed to flush XM cache\n"); in mlxsw_sp_router_xm_ml_entries_cache_flush() 675 dev_err(mlxsw_sp->bus_info->dev, "Invalid XMDR number of records\n"); in mlxsw_sp_router_ll_xm_fib_entry_commit() 681 dev_err(mlxsw_sp->bus_info->dev, "Command send over XMDR failed\n"); in mlxsw_sp_router_ll_xm_fib_entry_commit() 741 if (!mlxsw_sp->bus_info->xm_exists) in mlxsw_sp_router_xm_init() 756 dev_err(mlxsw_sp->bus_info->dev, "Invalid XM device id\n"); in mlxsw_sp_router_xm_init() 762 dev_err(mlxsw_sp->bus_info->dev, "Unexpected M-index size\n"); in mlxsw_sp_router_xm_init() 799 if (!mlxsw_sp->bus_info->xm_exists) in mlxsw_sp_router_xm_fini()
|
A D | pci.c | 125 struct mlxsw_bus_info bus_info; member 1271 struct mlxsw_bus_info *bus_info, in mlxsw_pci_boardinfo_xm_process() argument 1280 bus_info->xm_exists = true; in mlxsw_pci_boardinfo_xm_process() 1286 bus_info->xm_local_ports_count = count; in mlxsw_pci_boardinfo_xm_process() 1288 bus_info->xm_local_ports[i] = in mlxsw_pci_boardinfo_xm_process() 1296 struct mlxsw_bus_info *bus_info = &mlxsw_pci->bus_info; in mlxsw_pci_boardinfo() local 1519 mlxsw_pci->bus_info.fw_rev.major = in mlxsw_pci_init() 1521 mlxsw_pci->bus_info.fw_rev.minor = in mlxsw_pci_init() 1523 mlxsw_pci->bus_info.fw_rev.subminor = in mlxsw_pci_init() 1931 mlxsw_pci->bus_info.dev = &pdev->dev; in mlxsw_pci_probe() [all …]
|
A D | core.c | 68 const struct mlxsw_bus_info *bus_info; member 1092 .psid = mlxsw_core->bus_info->psid, in mlxsw_core_fw_flash() 1093 .psid_size = strlen(mlxsw_core->bus_info->psid), in mlxsw_core_fw_flash() 1430 mlxsw_core->bus_info->device_kind); in mlxsw_devlink_info_get() 1486 return mlxsw_core_bus_device_register(mlxsw_core->bus_info, in mlxsw_devlink_core_bus_device_reload_up() 1943 mlxsw_core->bus_info = mlxsw_bus_info; in __mlxsw_core_bus_device_register() 2910 const struct mlxsw_bus_info *bus_info = mlxsw_core->bus_info; in mlxsw_core_port_is_xm() local 2913 for (i = 0; i < bus_info->xm_local_ports_count; i++) in mlxsw_core_port_is_xm() 2914 if (bus_info->xm_local_ports[i] == local_port) in mlxsw_core_port_is_xm() 2958 dev_dbg(mlxsw_core->bus_info->dev, "Input mailbox:\n"); in mlxsw_cmd_exec() [all …]
|
A D | spectrum_flower.c | 232 dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); in mlxsw_sp_flower_parse_actions() 343 dev_err(mlxsw_sp->bus_info->dev, "Only UDP and TCP keys are supported\n"); in mlxsw_sp_flower_parse_ports() 370 dev_err(mlxsw_sp->bus_info->dev, "TCP keys supported only for TCP\n"); in mlxsw_sp_flower_parse_tcp() 378 dev_err(mlxsw_sp->bus_info->dev, "TCP flags match not supported on reserved bits\n"); in mlxsw_sp_flower_parse_tcp() 401 dev_err(mlxsw_sp->bus_info->dev, "IP keys supported only for IPv4/6\n"); in mlxsw_sp_flower_parse_ip() 445 dev_err(mlxsw_sp->bus_info->dev, "Unsupported key\n"); in mlxsw_sp_flower_parse()
|
/linux/drivers/visorbus/ |
A D | visorchipset.c | 452 struct visor_device *bus_info; in visorbus_create() local 457 if (bus_info && bus_info->state.created == 1) { in visorbus_create() 463 bus_info = kzalloc(sizeof(*bus_info), GFP_KERNEL); in visorbus_create() 464 if (!bus_info) { in visorbus_create() 508 kfree(bus_info); in visorbus_create() 520 struct visor_device *bus_info; in visorbus_destroy() local 524 if (!bus_info) { in visorbus_destroy() 597 struct visor_device *bus_info; in visorbus_configure() local 602 if (!bus_info) { in visorbus_configure() 643 struct visor_device *bus_info; in visorbus_device_create() local [all …]
|
/linux/tools/testing/selftests/net/ |
A D | devlink_port_split.py | 65 arr.append(Port(bus_info=port, name=ports[port]['netdev'])) 113 cmd = "devlink port split %s count %s" % (port.bus_info, k) 199 unsplit(port.bus_info) 220 unsplit(port.bus_info)
|
/linux/Documentation/userspace-api/media/mediactl/ |
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/staging/rtl8192e/rtl8192e/ |
A D | rtl_ethtool.c | 23 strscpy(info->bus_info, pci_name(priv->pdev), sizeof(info->bus_info)); in _rtl92e_ethtool_get_drvinfo()
|
/linux/drivers/net/can/c_can/ |
A D | c_can_ethtool.c | 19 strscpy(info->bus_info, dev_name(priv->device), sizeof(info->bus_info)); in c_can_get_drvinfo()
|
/linux/net/wireless/ |
A D | ethtool.c | 26 strlcpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)), in cfg80211_get_drvinfo() 27 sizeof(info->bus_info)); in cfg80211_get_drvinfo()
|
/linux/drivers/media/platform/exynos4-is/ |
A D | common.c | 41 snprintf(cap->bus_info, sizeof(cap->bus_info), in __fimc_vidioc_querycap()
|
/linux/drivers/platform/x86/intel/speed_select_if/ |
A D | isst_if_common.c | 283 int bus_info[2]; member 303 bus_number = isst_cpu_info[cpu].bus_info[bus_no]; in _isst_if_get_pci_dev() 387 isst_cpu_info[cpu].bus_info[0] = -1; in isst_if_cpu_online() 388 isst_cpu_info[cpu].bus_info[1] = -1; in isst_if_cpu_online() 390 isst_cpu_info[cpu].bus_info[0] = data & 0xff; in isst_if_cpu_online() 391 isst_cpu_info[cpu].bus_info[1] = (data >> 8) & 0xff; in isst_if_cpu_online()
|
/linux/drivers/pci/hotplug/ |
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(sizeof(struct bus_info), GFP_KERNEL); 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()
|
/linux/sound/aoa/soundbus/ |
A D | soundbus.h | 55 struct bus_info { struct 120 struct bus_info *bi,
|
/linux/drivers/staging/octeon/ |
A D | ethernet-mdio.c | 26 strscpy(info->bus_info, "Builtin", sizeof(info->bus_info)); in cvm_oct_get_drvinfo()
|
/linux/drivers/infiniband/ulp/opa_vnic/ |
A D | opa_vnic_ethtool.c | 128 strlcpy(drvinfo->bus_info, dev_name(netdev->dev.parent), in vnic_get_drvinfo() 129 sizeof(drvinfo->bus_info)); in vnic_get_drvinfo()
|
/linux/drivers/media/radio/ |
A D | radio-maxiradio.c | 147 snprintf(dev->tea.bus_info, sizeof(dev->tea.bus_info), in maxiradio_probe()
|
/linux/drivers/net/ethernet/toshiba/ |
A D | spider_net_ethtool.c | 71 strlcpy(drvinfo->bus_info, pci_name(card->pdev), in spider_net_ethtool_get_drvinfo() 72 sizeof(drvinfo->bus_info)); in spider_net_ethtool_get_drvinfo()
|
/linux/drivers/infiniband/ulp/ipoib/ |
A D | ipoib_ethtool.c | 68 strlcpy(drvinfo->bus_info, dev_name(priv->ca->dev.parent), in ipoib_get_drvinfo() 69 sizeof(drvinfo->bus_info)); in ipoib_get_drvinfo()
|
/linux/drivers/media/usb/uvc/ |
A D | uvc_metadata.c | 34 usb_make_path(stream->dev->udev, cap->bus_info, sizeof(cap->bus_info)); in uvc_meta_v4l2_querycap()
|