| /Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | minimal.c | 33 const struct mlxsw_bus_info *bus_info; member 84 strlcpy(drvinfo->driver, mlxsw_m->bus_info->device_kind, in mlxsw_m_module_get_drvinfo() 88 mlxsw_m->bus_info->fw_rev.major, in mlxsw_m_module_get_drvinfo() 89 mlxsw_m->bus_info->fw_rev.minor, in mlxsw_m_module_get_drvinfo() 90 mlxsw_m->bus_info->fw_rev.subminor); in mlxsw_m_module_get_drvinfo() 91 strlcpy(drvinfo->bus_info, mlxsw_m->bus_info->device_name, in mlxsw_m_module_get_drvinfo() 92 sizeof(drvinfo->bus_info)); in mlxsw_m_module_get_drvinfo() 171 dev_err(mlxsw_m->bus_info->dev, "Port %d: Failed to init core port\n", in mlxsw_m_port_create() 182 SET_NETDEV_DEV(dev, mlxsw_m->bus_info->dev); in mlxsw_m_port_create() 195 dev_err(mlxsw_m->bus_info->dev, "Port %d: Unable to get port mac address\n", in mlxsw_m_port_create() [all …]
|
| D | switchib.c | 32 const struct mlxsw_bus_info *bus_info; member 221 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to set SWID\n", in __mlxsw_sib_port_create() 229 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to set IB port\n", in __mlxsw_sib_port_create() 241 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to set speed\n", in __mlxsw_sib_port_create() 251 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to set MTU\n", in __mlxsw_sib_port_create() 258 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to change admin state to UP\n", in __mlxsw_sib_port_create() 287 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to init core port\n", in mlxsw_sib_port_create() 386 dev_warn(mlxsw_sib->bus_info->dev, "Port %d: Link event received for non-existent port\n", in mlxsw_sib_pude_event_func() 456 mlxsw_sib->bus_info = mlxsw_bus_info; in mlxsw_sib_init() 460 dev_err(mlxsw_sib->bus_info->dev, "Failed to get switch HW ID\n"); in mlxsw_sib_init() [all …]
|
| D | switchx2.c | 31 const struct mlxsw_bus_info *bus_info; member 409 mlxsw_sx->bus_info->fw_rev.major, in mlxsw_sx_port_get_drvinfo() 410 mlxsw_sx->bus_info->fw_rev.minor, in mlxsw_sx_port_get_drvinfo() 411 mlxsw_sx->bus_info->fw_rev.subminor); in mlxsw_sx_port_get_drvinfo() 412 strlcpy(drvinfo->bus_info, mlxsw_sx->bus_info->device_name, in mlxsw_sx_port_get_drvinfo() 413 sizeof(drvinfo->bus_info)); in mlxsw_sx_port_get_drvinfo() 966 SET_NETDEV_DEV(dev, mlxsw_sx->bus_info->dev); in __mlxsw_sx_port_eth_create() 986 dev_err(mlxsw_sx->bus_info->dev, "Port %d: Unable to get port mac address\n", in __mlxsw_sx_port_eth_create() 1006 dev_err(mlxsw_sx->bus_info->dev, "Port %d: Failed to set system port mapping\n", in __mlxsw_sx_port_eth_create() 1013 dev_err(mlxsw_sx->bus_info->dev, "Port %d: Failed to set SWID\n", in __mlxsw_sx_port_eth_create() [all …]
|
| 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 …]
|
| D | spectrum.c | 462 …dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: width value is not power of … in mlxsw_sp_port_module_info_get() 469 …dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: contains multiple modules\n", in mlxsw_sp_port_module_info_get() 476 …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_get() 481 …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_get() 1409 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to init core port\n", in mlxsw_sp_port_create() 1419 SET_NETDEV_DEV(dev, mlxsw_sp->bus_info->dev); in mlxsw_sp_port_create() 1447 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to map module\n", in mlxsw_sp_port_create() 1454 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to set SWID\n", in mlxsw_sp_port_create() 1461 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unable to init port mac address\n", in mlxsw_sp_port_create() 1482 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to set system port mapping\n", in mlxsw_sp_port_create() [all …]
|
| 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()
|
| D | core_thermal.c | 106 const struct mlxsw_bus_info *bus_info; member 234 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_bind() 260 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_unbind() 282 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_temp() 439 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_module_temp_get() 607 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_cur_state() 633 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_set_cur_state() 913 const struct mlxsw_bus_info *bus_info, in mlxsw_thermal_init() argument 918 struct device *dev = bus_info->dev; in mlxsw_thermal_init() 930 thermal->bus_info = bus_info; in mlxsw_thermal_init() [all …]
|
| D | core.c | 68 const struct mlxsw_bus_info *bus_info; member 795 dev_dbg(mlxsw_core->bus_info->dev, "EMAD reg access (tid=%llx,reg_id=%x(%s),type=%s)\n", in mlxsw_emad_reg_access() 1044 .psid = mlxsw_core->bus_info->psid, in mlxsw_core_fw_flash() 1045 .psid_size = strlen(mlxsw_core->bus_info->psid), in mlxsw_core_fw_flash() 1123 err = request_firmware_direct(&firmware, params->file_name, mlxsw_core->bus_info->dev); in mlxsw_core_fw_flash_update() 1391 mlxsw_core->bus_info->device_kind); in mlxsw_devlink_info_get() 1443 return mlxsw_core_bus_device_register(mlxsw_core->bus_info, in mlxsw_devlink_core_bus_device_reload_up() 1828 dev_err(mlxsw_core->bus_info->dev, "Failed to create fw fatal reporter"); in mlxsw_core_health_init() 1895 mlxsw_core->bus_info = mlxsw_bus_info; in __mlxsw_core_bus_device_register() 2445 dev_warn(mlxsw_core->bus_info->dev, "EMAD retries (%d/%d) (tid=%llx)\n", in mlxsw_reg_trans_wait() [all …]
|
| D | spectrum_flower.c | 209 dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); in mlxsw_sp_flower_parse_actions() 320 dev_err(mlxsw_sp->bus_info->dev, "Only UDP and TCP keys are supported\n"); in mlxsw_sp_flower_parse_ports() 347 dev_err(mlxsw_sp->bus_info->dev, "TCP keys supported only for TCP\n"); in mlxsw_sp_flower_parse_tcp() 355 dev_err(mlxsw_sp->bus_info->dev, "TCP flags match not supported on reserved bits\n"); in mlxsw_sp_flower_parse_tcp() 378 dev_err(mlxsw_sp->bus_info->dev, "IP keys supported only for IPv4/6\n"); in mlxsw_sp_flower_parse_ip() 422 dev_err(mlxsw_sp->bus_info->dev, "Unsupported key\n"); in mlxsw_sp_flower_parse()
|
| D | pci.c | 125 struct mlxsw_bus_info bus_info; member 1214 struct mlxsw_bus_info *bus_info = &mlxsw_pci->bus_info; in mlxsw_pci_boardinfo() local 1221 mlxsw_cmd_mbox_boardinfo_vsd_memcpy_from(mbox, bus_info->vsd); in mlxsw_pci_boardinfo() 1222 mlxsw_cmd_mbox_boardinfo_psid_memcpy_from(mbox, bus_info->psid); in mlxsw_pci_boardinfo() 1441 mlxsw_pci->bus_info.fw_rev.major = in mlxsw_pci_init() 1443 mlxsw_pci->bus_info.fw_rev.minor = in mlxsw_pci_init() 1445 mlxsw_pci->bus_info.fw_rev.subminor = in mlxsw_pci_init() 1509 mlxsw_pci->bus_info.device_kind, mlxsw_pci); in mlxsw_pci_init() 1857 mlxsw_pci->bus_info.device_kind = driver_name; in mlxsw_pci_probe() 1858 mlxsw_pci->bus_info.device_name = pci_name(mlxsw_pci->pdev); in mlxsw_pci_probe() [all …]
|
| /Linux-v5.10/drivers/visorbus/ |
| D | visorchipset.c | 452 struct visor_device *bus_info; in visorbus_create() local 456 bus_info = visorbus_get_device_by_id(bus_no, BUS_ROOT_DEVICE, NULL); in visorbus_create() 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() 468 INIT_LIST_HEAD(&bus_info->list_all); in visorbus_create() 469 bus_info->chipset_bus_no = bus_no; in visorbus_create() 470 bus_info->chipset_dev_no = BUS_ROOT_DEVICE; in visorbus_create() 484 bus_info->pending_msg_hdr = pmsg_hdr; in visorbus_create() 494 bus_info->visorchannel = visorchannel; in visorbus_create() [all …]
|
| /Linux-v5.10/tools/testing/selftests/net/ |
| D | devlink_port_split.py | 63 arr.append(Port(bus_info=port, name=ports[port]['netdev'])) 111 cmd = "devlink port split %s count %s" % (port.bus_info, k) 197 unsplit(port.bus_info) 218 unsplit(port.bus_info)
|
| /Linux-v5.10/drivers/staging/rtl8192e/rtl8192e/ |
| D | rtl_ethtool.c | 23 strlcpy(info->bus_info, pci_name(priv->pdev), sizeof(info->bus_info)); in _rtl92e_ethtool_get_drvinfo()
|
| /Linux-v5.10/net/wireless/ |
| 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-v5.10/drivers/media/platform/exynos4-is/ |
| D | common.c | 41 snprintf(cap->bus_info, sizeof(cap->bus_info), in __fimc_vidioc_querycap()
|
| /Linux-v5.10/Documentation/userspace-api/media/mediactl/ |
| 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-v5.10/drivers/platform/x86/intel_speed_select_if/ |
| D | isst_if_common.c | 283 int bus_info[2]; member 309 bus_number = isst_cpu_info[cpu].bus_info[bus_no]; in isst_if_get_pci_dev() 325 isst_cpu_info[cpu].bus_info[0] = -1; in isst_if_cpu_online() 326 isst_cpu_info[cpu].bus_info[1] = -1; in isst_if_cpu_online() 328 isst_cpu_info[cpu].bus_info[0] = data & 0xff; in isst_if_cpu_online() 329 isst_cpu_info[cpu].bus_info[1] = (data >> 8) & 0xff; in isst_if_cpu_online()
|
| /Linux-v5.10/sound/aoa/soundbus/ |
| D | soundbus.h | 55 struct bus_info { struct 120 struct bus_info *bi,
|
| /Linux-v5.10/drivers/pci/hotplug/ |
| 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() 742 bus_info_ptr1 = kzalloc(sizeof(struct bus_info), GFP_KERNEL); in ebda_rsrc_controller() 1009 struct bus_info *ibmphp_find_same_bus_num(u32 num) in ibmphp_find_same_bus_num() 1011 struct bus_info *ptr; in ibmphp_find_same_bus_num() 1025 struct bus_info *ptr; in ibmphp_get_bus_index() 1036 struct bus_info *bus_info, *next; in ibmphp_free_bus_info_queue() local 1038 list_for_each_entry_safe(bus_info, next, &bus_info_head, in ibmphp_free_bus_info_queue() 1040 kfree (bus_info); in ibmphp_free_bus_info_queue()
|
| /Linux-v5.10/drivers/staging/octeon/ |
| D | ethernet-mdio.c | 26 strlcpy(info->bus_info, "Builtin", sizeof(info->bus_info)); in cvm_oct_get_drvinfo()
|
| /Linux-v5.10/drivers/infiniband/ulp/opa_vnic/ |
| 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-v5.10/drivers/net/ethernet/toshiba/ |
| 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-v5.10/drivers/media/radio/ |
| D | radio-maxiradio.c | 147 snprintf(dev->tea.bus_info, sizeof(dev->tea.bus_info), in maxiradio_probe()
|
| /Linux-v5.10/drivers/infiniband/ulp/ipoib/ |
| 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-v5.10/drivers/staging/fsl-dpaa2/ethsw/ |
| D | ethsw-ethtool.c | 51 strlcpy(drvinfo->bus_info, dev_name(netdev->dev.parent->parent), in dpaa2_switch_get_drvinfo() 52 sizeof(drvinfo->bus_info)); in dpaa2_switch_get_drvinfo()
|