/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() 184 dev_err(mlxsw_m->bus_info->dev, "Port %d: Failed to init core port\n", in mlxsw_m_port_create() 195 SET_NETDEV_DEV(dev, mlxsw_m->bus_info->dev); in mlxsw_m_port_create() 208 dev_err(mlxsw_m->bus_info->dev, "Port %d: Unable to get port mac address\n", in mlxsw_m_port_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 | 505 …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() 512 …dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: contains multiple modules\n", in mlxsw_sp_port_module_info_get() 519 …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() 524 …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() 1465 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to init core port\n", in mlxsw_sp_port_create() 1475 SET_NETDEV_DEV(dev, mlxsw_sp->bus_info->dev); in mlxsw_sp_port_create() 1503 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to map module\n", in mlxsw_sp_port_create() 1510 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to set SWID\n", in mlxsw_sp_port_create() 1517 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unable to init port mac address\n", in mlxsw_sp_port_create() 1538 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to set system port mapping\n", in mlxsw_sp_port_create() [all …]
|
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 …]
|
D | i2c.c | 78 struct mlxsw_bus_info bus_info; member 529 mlxsw_i2c->bus_info.fw_rev.major = in mlxsw_i2c_init() 531 mlxsw_i2c->bus_info.fw_rev.minor = in mlxsw_i2c_init() 533 mlxsw_i2c->bus_info.fw_rev.subminor = in mlxsw_i2c_init() 637 mlxsw_i2c->bus_info.device_kind = id->name; in mlxsw_i2c_probe() 638 mlxsw_i2c->bus_info.device_name = client->name; in mlxsw_i2c_probe() 639 mlxsw_i2c->bus_info.dev = &client->dev; in mlxsw_i2c_probe() 640 mlxsw_i2c->bus_info.low_frequency = true; in mlxsw_i2c_probe() 643 err = mlxsw_core_bus_device_register(&mlxsw_i2c->bus_info, in mlxsw_i2c_probe()
|
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()
|
D | pci.c | 125 struct mlxsw_bus_info bus_info; member 1275 struct mlxsw_bus_info *bus_info, in mlxsw_pci_boardinfo_xm_process() argument 1284 bus_info->xm_exists = true; in mlxsw_pci_boardinfo_xm_process() 1290 bus_info->xm_local_ports_count = count; in mlxsw_pci_boardinfo_xm_process() 1292 bus_info->xm_local_ports[i] = in mlxsw_pci_boardinfo_xm_process() 1300 struct mlxsw_bus_info *bus_info = &mlxsw_pci->bus_info; in mlxsw_pci_boardinfo() local 1307 mlxsw_cmd_mbox_boardinfo_vsd_memcpy_from(mbox, bus_info->vsd); in mlxsw_pci_boardinfo() 1308 mlxsw_cmd_mbox_boardinfo_psid_memcpy_from(mbox, bus_info->psid); in mlxsw_pci_boardinfo() 1310 return mlxsw_pci_boardinfo_xm_process(mlxsw_pci, bus_info, mbox); in mlxsw_pci_boardinfo() 1523 mlxsw_pci->bus_info.fw_rev.major = in mlxsw_pci_init() [all …]
|
D | core.c | 68 const struct mlxsw_bus_info *bus_info; member 844 dev_dbg(mlxsw_core->bus_info->dev, "EMAD reg access (tid=%llx,reg_id=%x(%s),type=%s)\n", in mlxsw_emad_reg_access() 1093 .psid = mlxsw_core->bus_info->psid, in mlxsw_core_fw_flash() 1094 .psid_size = strlen(mlxsw_core->bus_info->psid), in mlxsw_core_fw_flash() 1431 mlxsw_core->bus_info->device_kind); in mlxsw_devlink_info_get() 1487 return mlxsw_core_bus_device_register(mlxsw_core->bus_info, in mlxsw_devlink_core_bus_device_reload_up() 1876 dev_err(mlxsw_core->bus_info->dev, "Failed to create fw fatal reporter"); in mlxsw_core_health_init() 1944 mlxsw_core->bus_info = mlxsw_bus_info; in __mlxsw_core_bus_device_register() 2500 dev_warn(mlxsw_core->bus_info->dev, "EMAD retries (%d/%d) (tid=%llx)\n", in mlxsw_reg_trans_wait() 2503 …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() [all …]
|
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()
|
/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 …]
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_ethtool.c | 23 strscpy(info->bus_info, pci_name(priv->pdev), sizeof(info->bus_info)); in _rtl92e_ethtool_get_drvinfo()
|
/drivers/net/can/c_can/ |
D | c_can_ethtool.c | 19 strscpy(info->bus_info, dev_name(priv->device), sizeof(info->bus_info)); in c_can_get_drvinfo()
|
/drivers/media/platform/exynos4-is/ |
D | common.c | 41 snprintf(cap->bus_info, sizeof(cap->bus_info), in __fimc_vidioc_querycap()
|
/drivers/platform/x86/intel/speed_select_if/ |
D | isst_if_common.c | 284 int bus_info[ISST_MAX_BUS_NUMBER]; member 311 bus_number = isst_cpu_info[cpu].bus_info[bus_no]; in _isst_if_get_pci_dev() 400 isst_cpu_info[cpu].bus_info[0] = -1; in isst_if_cpu_online() 401 isst_cpu_info[cpu].bus_info[1] = -1; in isst_if_cpu_online() 403 isst_cpu_info[cpu].bus_info[0] = data & 0xff; in isst_if_cpu_online() 404 isst_cpu_info[cpu].bus_info[1] = (data >> 8) & 0xff; in isst_if_cpu_online()
|
/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() 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()
|
/drivers/staging/octeon/ |
D | ethernet-mdio.c | 26 strscpy(info->bus_info, "Builtin", sizeof(info->bus_info)); in cvm_oct_get_drvinfo()
|
/drivers/media/radio/ |
D | radio-maxiradio.c | 147 snprintf(dev->tea.bus_info, sizeof(dev->tea.bus_info), in maxiradio_probe()
|
D | radio-timb.c | 36 snprintf(v->bus_info, sizeof(v->bus_info), "platform:"DRIVER_NAME); in timbradio_vidioc_querycap()
|
/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()
|
/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()
|
/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()
|
/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()
|
/drivers/media/radio/si4713/ |
D | radio-platform-si4713.c | 64 strscpy(capability->bus_info, "platform:radio-si4713", in radio_si4713_querycap() 65 sizeof(capability->bus_info)); in radio_si4713_querycap()
|
/drivers/media/mc/ |
D | mc-device.c | 72 strscpy(info->bus_info, dev->bus_info, sizeof(info->bus_info)); in media_device_get_info() 865 sprintf(mdev->bus_info, "PCI:%s", pci_name(pci_dev)); in media_device_pci_init() 895 usb_make_path(udev, mdev->bus_info, sizeof(mdev->bus_info)); in __media_device_usb_init()
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch-ethtool.c | 53 strscpy(drvinfo->bus_info, dev_name(netdev->dev.parent->parent), in dpaa2_switch_get_drvinfo() 54 sizeof(drvinfo->bus_info)); in dpaa2_switch_get_drvinfo()
|