Home
last modified time | relevance | path

Searched refs:bus_info (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dminimal.c37 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()
254 SET_NETDEV_DEV(dev, mlxsw_m->bus_info->dev); in mlxsw_m_port_create()
563 const struct mlxsw_fw_rev *rev = &mlxsw_m->bus_info->fw_rev; in mlxsw_m_fw_rev_validate()
641 mlxsw_m->bus_info = mlxsw_bus_info; in mlxsw_m_init()
[all …]
A Dcore_thermal.c104 const struct mlxsw_bus_info *bus_info; member
205 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_bind()
231 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_unbind()
253 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_temp()
365 dev = thermal->bus_info->dev; in mlxsw_thermal_module_temp_get()
432 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_cur_state()
458 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_set_cur_state()
788 const struct mlxsw_bus_info *bus_info, in mlxsw_thermal_init() argument
793 struct device *dev = bus_info->dev; in mlxsw_thermal_init()
814 thermal->bus_info = bus_info; in mlxsw_thermal_init()
[all …]
A Di2c.c90 struct mlxsw_bus_info bus_info; member
544 mlxsw_i2c->bus_info.fw_rev.major = in mlxsw_i2c_init()
546 mlxsw_i2c->bus_info.fw_rev.minor = in mlxsw_i2c_init()
548 mlxsw_i2c->bus_info.fw_rev.subminor = in mlxsw_i2c_init()
610 dev_err(mlxsw_i2c->bus_info.dev, "Failed to request irq: %d\n", in mlxsw_i2c_irq_init()
713 mlxsw_i2c->bus_info.device_kind = id->name; in mlxsw_i2c_probe()
714 mlxsw_i2c->bus_info.device_name = client->name; in mlxsw_i2c_probe()
715 mlxsw_i2c->bus_info.dev = &client->dev; in mlxsw_i2c_probe()
716 mlxsw_i2c->bus_info.low_frequency = true; in mlxsw_i2c_probe()
724 err = mlxsw_core_bus_device_register(&mlxsw_i2c->bus_info, in mlxsw_i2c_probe()
A Dcore_hwmon.c61 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()
614 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to get number of temp sensors\n"); in mlxsw_hwmon_temp_init()
795 dev = hwmon->bus_info->dev; in mlxsw_hwmon_got_active()
[all …]
A Dspectrum.c1658 SET_NETDEV_DEV(dev, mlxsw_sp->bus_info->dev); in mlxsw_sp_port_create()
3092 mlxsw_sp->bus_info = mlxsw_bus_info; in mlxsw_sp_init()
3098 dev_err(mlxsw_sp->bus_info->dev, "Failed to get base mac\n"); in mlxsw_sp_init()
3110 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize PGT\n"); in mlxsw_sp_init()
3128 dev_err(mlxsw_sp->bus_info->dev, "Failed to set traps\n"); in mlxsw_sp_init()
3146 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize LAG\n"); in mlxsw_sp_init()
3185 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize NVE\n"); in mlxsw_sp_init()
3191 dev_err(mlxsw_sp->bus_info->dev, "Failed to initialize ACL\n"); in mlxsw_sp_init()
3201 if (mlxsw_sp->bus_info->read_clock_capable) { in mlxsw_sp_init()
3205 mlxsw_sp->bus_info->dev); in mlxsw_sp_init()
[all …]
A Dcore_linecards.c824 dev_info(linecard->linecards->bus_info->dev, "linecard %u: Clearing FSM state error", in __mlxsw_linecard_fix_fsm_state()
961 dev_err(linecards->bus_info->dev, "linecard %u: Failed to activate INI", in mlxsw_linecard_bct_process()
1356 dev_warn(linecards->bus_info->dev, "Invalid linecards INIs file size, smaller than magic size\n"); in mlxsw_linecard_types_file_validate()
1360 dev_warn(linecards->bus_info->dev, "Invalid linecards INIs file magic pattern\n"); in mlxsw_linecard_types_file_validate()
1375 dev_warn(linecards->bus_info->dev, "Linecards INIs file appears to be truncated\n"); in mlxsw_linecard_types_file_validate()
1379 dev_warn(linecards->bus_info->dev, "Linecards INIs file contains INI with invalid size\n"); in mlxsw_linecard_types_file_validate()
1387 dev_warn(linecards->bus_info->dev, "Linecards INIs file does not contain any INI\n"); in mlxsw_linecard_types_file_validate()
1428 const struct mlxsw_fw_rev *rev = &linecards->bus_info->fw_rev; in mlxsw_linecard_types_init()
1440 linecards->bus_info->dev); in mlxsw_linecard_types_init()
1502 const struct mlxsw_bus_info *bus_info) in mlxsw_linecards_init() argument
[all …]
A Dspectrum_flower.c271 dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); in mlxsw_sp_flower_parse_actions()
388 dev_err(mlxsw_sp->bus_info->dev, "Only UDP and TCP keys are supported\n"); in mlxsw_sp_flower_parse_ports()
415 dev_err(mlxsw_sp->bus_info->dev, "TCP keys supported only for TCP\n"); in mlxsw_sp_flower_parse_tcp()
423 dev_err(mlxsw_sp->bus_info->dev, "TCP flags match not supported on reserved bits\n"); in mlxsw_sp_flower_parse_tcp()
446 dev_err(mlxsw_sp->bus_info->dev, "IP keys supported only for IPv4/6\n"); in mlxsw_sp_flower_parse_ip()
490 dev_err(mlxsw_sp->bus_info->dev, "Unsupported key\n"); in mlxsw_sp_flower_parse()
A Dpci.c127 struct mlxsw_bus_info bus_info; member
1315 struct mlxsw_bus_info *bus_info = &mlxsw_pci->bus_info; in mlxsw_pci_boardinfo() local
1537 mlxsw_pci->bus_info.fw_rev.major = in mlxsw_pci_init()
1539 mlxsw_pci->bus_info.fw_rev.minor = in mlxsw_pci_init()
1541 mlxsw_pci->bus_info.fw_rev.subminor = in mlxsw_pci_init()
1631 mlxsw_pci->bus_info.device_kind, mlxsw_pci); in mlxsw_pci_init()
1992 mlxsw_pci->bus_info.device_kind = driver_name; in mlxsw_pci_probe()
1993 mlxsw_pci->bus_info.device_name = pci_name(mlxsw_pci->pdev); in mlxsw_pci_probe()
1994 mlxsw_pci->bus_info.dev = &pdev->dev; in mlxsw_pci_probe()
1995 mlxsw_pci->bus_info.read_clock_capable = true; in mlxsw_pci_probe()
[all …]
/linux-6.3-rc2/include/media/
A Dmedia-device.h153 char bus_info[32]; member
503 media_set_bus_info(char *bus_info, size_t bus_info_size, struct device *dev) in media_set_bus_info() argument
506 strscpy(bus_info, "no bus info", bus_info_size); in media_set_bus_info()
508 snprintf(bus_info, bus_info_size, "platform:%s", dev_name(dev)); in media_set_bus_info()
510 snprintf(bus_info, bus_info_size, "PCI:%s", dev_name(dev)); in media_set_bus_info()
/linux-6.3-rc2/drivers/net/ethernet/wangxun/libwx/
A Dwx_ethtool.c16 strscpy(info->bus_info, pci_name(wx->pdev), sizeof(info->bus_info)); in wx_get_drvinfo()
/linux-6.3-rc2/tools/testing/selftests/net/
A Ddevlink_port_split.py65 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-6.3-rc2/drivers/staging/rtl8192e/rtl8192e/
A Drtl_ethtool.c23 strscpy(info->bus_info, pci_name(priv->pdev), sizeof(info->bus_info)); in _rtl92e_ethtool_get_drvinfo()
/linux-6.3-rc2/net/wireless/
A Dethtool.c26 strscpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)), in cfg80211_get_drvinfo()
27 sizeof(info->bus_info)); in cfg80211_get_drvinfo()
/linux-6.3-rc2/Documentation/userspace-api/media/mediactl/
A Dmedia-ioc-device-info.rst70 - ``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-6.3-rc2/drivers/media/mc/
A Dmc-device.c72 strscpy(info->bus_info, dev->bus_info, sizeof(info->bus_info)); in media_device_get_info()
700 if (!*mdev->bus_info) in media_device_init()
701 media_set_bus_info(mdev->bus_info, sizeof(mdev->bus_info), in media_device_init()
851 sprintf(mdev->bus_info, "PCI:%s", pci_name(pci_dev)); in media_device_pci_init()
881 usb_make_path(udev, mdev->bus_info, sizeof(mdev->bus_info)); in __media_device_usb_init()
/linux-6.3-rc2/sound/aoa/soundbus/
A Dsoundbus.h55 struct bus_info { struct
120 struct bus_info *bi,
/linux-6.3-rc2/drivers/platform/x86/intel/speed_select_if/
A Disst_if_common.c285 int bus_info[ISST_MAX_BUS_NUMBER]; member
313 bus_number = isst_cpu_info[cpu].bus_info[bus_no]; in _isst_if_get_pci_dev()
403 isst_cpu_info[cpu].bus_info[0] = -1; in isst_if_cpu_online()
404 isst_cpu_info[cpu].bus_info[1] = -1; in isst_if_cpu_online()
406 isst_cpu_info[cpu].bus_info[0] = data & 0xff; in isst_if_cpu_online()
407 isst_cpu_info[cpu].bus_info[1] = (data >> 8) & 0xff; in isst_if_cpu_online()
/linux-6.3-rc2/drivers/pci/hotplug/
A Dibmphp_ebda.c111 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-6.3-rc2/drivers/staging/octeon/
A Dethernet-mdio.c26 strscpy(info->bus_info, "Builtin", sizeof(info->bus_info)); in cvm_oct_get_drvinfo()
/linux-6.3-rc2/drivers/infiniband/ulp/opa_vnic/
A Dopa_vnic_ethtool.c128 strscpy(drvinfo->bus_info, dev_name(netdev->dev.parent), in vnic_get_drvinfo()
129 sizeof(drvinfo->bus_info)); in vnic_get_drvinfo()
/linux-6.3-rc2/drivers/net/ethernet/toshiba/
A Dspider_net_ethtool.c71 strscpy(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-6.3-rc2/drivers/infiniband/ulp/ipoib/
A Dipoib_ethtool.c68 strscpy(drvinfo->bus_info, dev_name(priv->ca->dev.parent), in ipoib_get_drvinfo()
69 sizeof(drvinfo->bus_info)); in ipoib_get_drvinfo()
/linux-6.3-rc2/drivers/media/radio/si4713/
A Dradio-platform-si4713.c64 strscpy(capability->bus_info, "platform:radio-si4713", in radio_si4713_querycap()
65 sizeof(capability->bus_info)); in radio_si4713_querycap()
/linux-6.3-rc2/drivers/media/radio/
A Dradio-timb.c36 snprintf(v->bus_info, sizeof(v->bus_info), "platform:"DRIVER_NAME); in timbradio_vidioc_querycap()
/linux-6.3-rc2/drivers/media/usb/uvc/
A Duvc_metadata.c34 usb_make_path(stream->dev->udev, cap->bus_info, sizeof(cap->bus_info)); in uvc_meta_v4l2_querycap()

Completed in 59 milliseconds

12345678910>>...15