| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | minimal.c | 25 const struct mlxsw_bus_info *bus_info; member 76 strlcpy(drvinfo->driver, mlxsw_m->bus_info->device_kind, in mlxsw_m_module_get_drvinfo() 80 mlxsw_m->bus_info->fw_rev.major, in mlxsw_m_module_get_drvinfo() 81 mlxsw_m->bus_info->fw_rev.minor, in mlxsw_m_module_get_drvinfo() 82 mlxsw_m->bus_info->fw_rev.subminor); in mlxsw_m_module_get_drvinfo() 83 strlcpy(drvinfo->bus_info, mlxsw_m->bus_info->device_name, in mlxsw_m_module_get_drvinfo() 84 sizeof(drvinfo->bus_info)); in mlxsw_m_module_get_drvinfo() 163 dev_err(mlxsw_m->bus_info->dev, "Port %d: Failed to init core port\n", in mlxsw_m_port_create() 174 SET_NETDEV_DEV(dev, mlxsw_m->bus_info->dev); in mlxsw_m_port_create() 186 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() 455 mlxsw_sib->bus_info = mlxsw_bus_info; in mlxsw_sib_init() 459 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 414 mlxsw_sx->bus_info->fw_rev.major, in mlxsw_sx_port_get_drvinfo() 415 mlxsw_sx->bus_info->fw_rev.minor, in mlxsw_sx_port_get_drvinfo() 416 mlxsw_sx->bus_info->fw_rev.subminor); in mlxsw_sx_port_get_drvinfo() 417 strlcpy(drvinfo->bus_info, mlxsw_sx->bus_info->device_name, in mlxsw_sx_port_get_drvinfo() 418 sizeof(drvinfo->bus_info)); in mlxsw_sx_port_get_drvinfo() 994 SET_NETDEV_DEV(dev, mlxsw_sx->bus_info->dev); in __mlxsw_sx_port_eth_create() 1013 dev_err(mlxsw_sx->bus_info->dev, "Port %d: Unable to get port mac address\n", in __mlxsw_sx_port_eth_create() 1033 dev_err(mlxsw_sx->bus_info->dev, "Port %d: Failed to set system port mapping\n", in __mlxsw_sx_port_eth_create() 1040 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 | 36 const struct mlxsw_bus_info *bus_info; member 63 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query temp sensor\n"); in mlxsw_hwmon_temp_show() 86 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query temp sensor\n"); in mlxsw_hwmon_temp_max_show() 116 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to reset temp sensor history\n"); in mlxsw_hwmon_temp_rst_store() 135 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query fan\n"); in mlxsw_hwmon_fan_rpm_show() 154 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query fan\n"); in mlxsw_hwmon_fan_fault_show() 175 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query PWM\n"); in mlxsw_hwmon_pwm_show() 202 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to write PWM\n"); in mlxsw_hwmon_pwm_store() 469 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to get number of temp sensors\n"); in mlxsw_hwmon_temp_init() 478 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to setup temp sensor number %d\n", in mlxsw_hwmon_temp_init() [all …]
|
| D | i2c.c | 76 struct mlxsw_bus_info bus_info; member 527 mlxsw_i2c->bus_info.fw_rev.major = in mlxsw_i2c_init() 529 mlxsw_i2c->bus_info.fw_rev.minor = in mlxsw_i2c_init() 531 mlxsw_i2c->bus_info.fw_rev.subminor = in mlxsw_i2c_init() 635 mlxsw_i2c->bus_info.device_kind = id->name; in mlxsw_i2c_probe() 636 mlxsw_i2c->bus_info.device_name = client->name; in mlxsw_i2c_probe() 637 mlxsw_i2c->bus_info.dev = &client->dev; in mlxsw_i2c_probe() 638 mlxsw_i2c->bus_info.low_frequency = true; in mlxsw_i2c_probe() 641 err = mlxsw_core_bus_device_register(&mlxsw_i2c->bus_info, in mlxsw_i2c_probe()
|
| D | core_thermal.c | 107 const struct mlxsw_bus_info *bus_info; member 235 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_bind() 261 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_unbind() 313 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_temp() 504 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_module_temp_get() 660 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_cur_state() 686 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_set_cur_state() 960 const struct mlxsw_bus_info *bus_info, in mlxsw_thermal_init() argument 965 struct device *dev = bus_info->dev; in mlxsw_thermal_init() 977 thermal->bus_info = bus_info; in mlxsw_thermal_init() [all …]
|
| D | spectrum.c | 365 .psid = mlxsw_sp->bus_info->psid, in mlxsw_sp_firmware_flash() 366 .psid_size = strlen(mlxsw_sp->bus_info->psid), in mlxsw_sp_firmware_flash() 384 const struct mlxsw_fw_rev *rev = &mlxsw_sp->bus_info->fw_rev; in mlxsw_sp_fw_rev_validate() 417 …dev_info(mlxsw_sp->bus_info->dev, "The firmware version %d.%d.%d is incompatible with the driver\n… in mlxsw_sp_fw_rev_validate() 419 dev_info(mlxsw_sp->bus_info->dev, "Flashing firmware using file %s\n", in mlxsw_sp_fw_rev_validate() 423 mlxsw_sp->bus_info->dev); in mlxsw_sp_fw_rev_validate() 425 dev_err(mlxsw_sp->bus_info->dev, "Could not request firmware file %s\n", in mlxsw_sp_fw_rev_validate() 433 dev_err(mlxsw_sp->bus_info->dev, "Could not upgrade firmware\n"); in mlxsw_sp_fw_rev_validate() 456 mlxsw_sp->bus_info->dev); in mlxsw_sp_flash_update() 1936 strlcpy(drvinfo->driver, mlxsw_sp->bus_info->device_kind, in mlxsw_sp_port_get_drvinfo() [all …]
|
| D | core.c | 65 const struct mlxsw_bus_info *bus_info; member 656 dev_dbg(mlxsw_core->bus_info->dev, "EMAD reg access (tid=%llx,reg_id=%x(%s),type=%s)\n", in mlxsw_emad_reg_access() 958 mlxsw_core->bus_info->device_kind); in mlxsw_devlink_info_get() 1005 return mlxsw_core_bus_device_register(mlxsw_core->bus_info, in mlxsw_devlink_core_bus_device_reload_up() 1129 mlxsw_core->bus_info = mlxsw_bus_info; in __mlxsw_core_bus_device_register() 1617 dev_warn(mlxsw_core->bus_info->dev, "EMAD retries (%d/%d) (tid=%llx)\n", in mlxsw_reg_trans_wait() 1620 …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() 1662 dev_dbg(mlxsw_core->bus_info->dev, "Reg cmd access (reg_id=%x(%s),type=%s)\n", in mlxsw_core_reg_access_cmd() 1696 dev_err(mlxsw_core->bus_info->dev, "Reg cmd access status failed (status=%x(%s))\n", in mlxsw_core_reg_access_cmd() 1709 dev_err(mlxsw_core->bus_info->dev, "Reg cmd access failed (reg_id=%x(%s),type=%s)\n", in mlxsw_core_reg_access_cmd() [all …]
|
| D | spectrum_flower.c | 132 dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); in mlxsw_sp_flower_parse_actions() 243 dev_err(mlxsw_sp->bus_info->dev, "Only UDP and TCP keys are supported\n"); in mlxsw_sp_flower_parse_ports() 270 dev_err(mlxsw_sp->bus_info->dev, "TCP keys supported only for TCP\n"); in mlxsw_sp_flower_parse_tcp() 278 dev_err(mlxsw_sp->bus_info->dev, "TCP flags match not supported on reserved bits\n"); in mlxsw_sp_flower_parse_tcp() 301 dev_err(mlxsw_sp->bus_info->dev, "IP keys supported only for IPv4/6\n"); in mlxsw_sp_flower_parse_ip() 345 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 1197 struct mlxsw_bus_info *bus_info = &mlxsw_pci->bus_info; in mlxsw_pci_boardinfo() local 1204 mlxsw_cmd_mbox_boardinfo_vsd_memcpy_from(mbox, bus_info->vsd); in mlxsw_pci_boardinfo() 1205 mlxsw_cmd_mbox_boardinfo_psid_memcpy_from(mbox, bus_info->psid); in mlxsw_pci_boardinfo() 1407 mlxsw_pci->bus_info.fw_rev.major = in mlxsw_pci_init() 1409 mlxsw_pci->bus_info.fw_rev.minor = in mlxsw_pci_init() 1411 mlxsw_pci->bus_info.fw_rev.subminor = in mlxsw_pci_init() 1475 mlxsw_pci->bus_info.device_kind, mlxsw_pci); in mlxsw_pci_init() 1785 mlxsw_pci->bus_info.device_kind = driver_name; in mlxsw_pci_probe() 1786 mlxsw_pci->bus_info.device_name = pci_name(mlxsw_pci->pdev); in mlxsw_pci_probe() [all …]
|
| /Linux-v5.4/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.4/arch/x86/kernel/ |
| D | pci-calgary_64.c | 182 static struct calgary_bus_info bus_info[MAX_PHB_BUS_NUM] = { { NULL, 0, 0 }, }; variable 477 return bus_info[num].bbar; in busno_to_bbar() 482 return bus_info[num].phbid; in busno_to_phbid() 749 tbl->it_base = (unsigned long)bus_info[dev->bus->number].tce_space; in calgary_setup_tar() 808 bus_info[dev->bus->number].tce_space = NULL; in calgary_free_bus() 1096 bus_info[bus].bbar = bbar; in calgary_locate_bbars() 1097 bus_info[bus].phbid = phb; in calgary_locate_bbars() 1100 bus_info[start_bus].bbar = bbar; in calgary_locate_bbars() 1101 bus_info[start_bus].phbid = phb; in calgary_locate_bbars() 1110 for (bus = 0; bus < ARRAY_SIZE(bus_info); bus++) in calgary_locate_bbars() [all …]
|
| /Linux-v5.4/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.4/net/wireless/ |
| D | ethtool.c | 22 strlcpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)), in cfg80211_get_drvinfo() 23 sizeof(info->bus_info)); in cfg80211_get_drvinfo()
|
| /Linux-v5.4/drivers/media/platform/exynos4-is/ |
| D | common.c | 41 snprintf(cap->bus_info, sizeof(cap->bus_info), in __fimc_vidioc_querycap()
|
| /Linux-v5.4/Documentation/media/uapi/mediactl/ |
| D | media-ioc-device-info.rst | 80 - ``bus_info``\ [32] 105 The ``serial`` and ``bus_info`` fields can be used to distinguish 108 If the serial number is an empty string, the ``bus_info`` field can be 109 used instead. The ``bus_info`` field is guaranteed to be unique, but can
|
| /Linux-v5.4/drivers/platform/x86/intel_speed_select_if/ |
| D | isst_if_common.c | 280 int bus_info[2]; member 306 bus_number = isst_cpu_info[cpu].bus_info[bus_no]; in isst_if_get_pci_dev() 322 isst_cpu_info[cpu].bus_info[0] = -1; in isst_if_cpu_online() 323 isst_cpu_info[cpu].bus_info[1] = -1; in isst_if_cpu_online() 325 isst_cpu_info[cpu].bus_info[0] = data & 0xff; in isst_if_cpu_online() 326 isst_cpu_info[cpu].bus_info[1] = (data >> 8) & 0xff; in isst_if_cpu_online()
|
| /Linux-v5.4/sound/aoa/soundbus/ |
| D | soundbus.h | 55 struct bus_info { struct 120 struct bus_info *bi,
|
| /Linux-v5.4/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.4/drivers/infiniband/ulp/opa_vnic/ |
| D | opa_vnic_ethtool.c | 130 strlcpy(drvinfo->bus_info, dev_name(netdev->dev.parent), in vnic_get_drvinfo() 131 sizeof(drvinfo->bus_info)); in vnic_get_drvinfo()
|
| /Linux-v5.4/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.4/drivers/media/radio/ |
| D | radio-maxiradio.c | 147 snprintf(dev->tea.bus_info, sizeof(dev->tea.bus_info), in maxiradio_probe()
|
| /Linux-v5.4/drivers/staging/octeon/ |
| D | ethernet-mdio.c | 26 strlcpy(info->bus_info, "Builtin", sizeof(info->bus_info)); in cvm_oct_get_drvinfo()
|
| /Linux-v5.4/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.4/drivers/media/usb/uvc/ |
| D | uvc_metadata.c | 34 usb_make_path(stream->dev->udev, cap->bus_info, sizeof(cap->bus_info)); in uvc_meta_v4l2_querycap()
|