/Linux-v4.19/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 …]
|
D | vbuschannel.h | 91 struct visor_vbus_deviceinfo bus_info; member
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_hwmon.c | 26 const struct mlxsw_bus_info *bus_info; member 50 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query temp sensor\n"); in mlxsw_hwmon_temp_show() 72 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query temp sensor\n"); in mlxsw_hwmon_temp_max_show() 99 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to reset temp sensor history\n"); in mlxsw_hwmon_temp_rst_store() 118 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query fan\n"); in mlxsw_hwmon_fan_rpm_show() 137 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to query PWM\n"); in mlxsw_hwmon_pwm_show() 164 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to write PWM\n"); in mlxsw_hwmon_pwm_store() 242 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to get number of temp sensors\n"); in mlxsw_hwmon_temp_init() 251 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to setup temp sensor number %d\n", in mlxsw_hwmon_temp_init() 277 dev_err(mlxsw_hwmon->bus_info->dev, "Failed to get to probe PWMs and Tachometers\n"); in mlxsw_hwmon_fans_init() [all …]
|
D | core_thermal.c | 68 const struct mlxsw_bus_info *bus_info; member 103 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_bind() 129 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_unbind() 181 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_temp() 260 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_get_cur_state() 286 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_set_cur_state() 310 const struct mlxsw_bus_info *bus_info, in mlxsw_thermal_init() argument 315 struct device *dev = bus_info->dev; in mlxsw_thermal_init() 327 thermal->bus_info = bus_info; in mlxsw_thermal_init() 413 devm_kfree(thermal->bus_info->dev, thermal); in mlxsw_thermal_fini()
|
D | switchib.c | 32 const struct mlxsw_bus_info *bus_info; member 208 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to set SWID\n", in __mlxsw_sib_port_create() 216 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to set IB port\n", in __mlxsw_sib_port_create() 228 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to set speed\n", in __mlxsw_sib_port_create() 238 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to set MTU\n", in __mlxsw_sib_port_create() 245 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to change admin state to UP\n", in __mlxsw_sib_port_create() 272 dev_err(mlxsw_sib->bus_info->dev, "Port %d: Failed to init core port\n", in mlxsw_sib_port_create() 371 dev_warn(mlxsw_sib->bus_info->dev, "Port %d: Link event received for non-existent port\n", in mlxsw_sib_pude_event_func() 440 mlxsw_sib->bus_info = mlxsw_bus_info; in mlxsw_sib_init() 444 dev_err(mlxsw_sib->bus_info->dev, "Failed to create ports\n"); in mlxsw_sib_init() [all …]
|
D | switchx2.c | 32 const struct mlxsw_bus_info *bus_info; member 413 mlxsw_sx->bus_info->fw_rev.major, in mlxsw_sx_port_get_drvinfo() 414 mlxsw_sx->bus_info->fw_rev.minor, in mlxsw_sx_port_get_drvinfo() 415 mlxsw_sx->bus_info->fw_rev.subminor); in mlxsw_sx_port_get_drvinfo() 416 strlcpy(drvinfo->bus_info, mlxsw_sx->bus_info->device_name, in mlxsw_sx_port_get_drvinfo() 417 sizeof(drvinfo->bus_info)); in mlxsw_sx_port_get_drvinfo() 1021 SET_NETDEV_DEV(dev, mlxsw_sx->bus_info->dev); in __mlxsw_sx_port_eth_create() 1041 dev_err(mlxsw_sx->bus_info->dev, "Port %d: Unable to get port mac address\n", in __mlxsw_sx_port_eth_create() 1061 dev_err(mlxsw_sx->bus_info->dev, "Port %d: Failed to set system port mapping\n", in __mlxsw_sx_port_eth_create() 1068 dev_err(mlxsw_sx->bus_info->dev, "Port %d: Failed to set SWID\n", in __mlxsw_sx_port_eth_create() [all …]
|
D | spectrum.c | 306 .psid = mlxsw_sp->bus_info->psid, in mlxsw_sp_firmware_flash() 307 .psid_size = strlen(mlxsw_sp->bus_info->psid), in mlxsw_sp_firmware_flash() 317 const struct mlxsw_fw_rev *rev = &mlxsw_sp->bus_info->fw_rev; in mlxsw_sp_fw_rev_validate() 337 …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() 339 dev_info(mlxsw_sp->bus_info->dev, "Flashing firmware using file %s\n", in mlxsw_sp_fw_rev_validate() 343 mlxsw_sp->bus_info->dev); in mlxsw_sp_fw_rev_validate() 345 dev_err(mlxsw_sp->bus_info->dev, "Could not request firmware file %s\n", in mlxsw_sp_fw_rev_validate() 353 dev_err(mlxsw_sp->bus_info->dev, "Could not upgrade firmware\n"); in mlxsw_sp_fw_rev_validate() 1713 strlcpy(drvinfo->driver, mlxsw_sp->bus_info->device_kind, in mlxsw_sp_port_get_drvinfo() 1719 mlxsw_sp->bus_info->fw_rev.major, in mlxsw_sp_port_get_drvinfo() [all …]
|
D | core.c | 65 const struct mlxsw_bus_info *bus_info; member 646 dev_dbg(mlxsw_core->bus_info->dev, "EMAD reg access (tid=%llx,reg_id=%x(%s),type=%s)\n", in mlxsw_emad_reg_access() 942 err = mlxsw_core_bus_device_register(mlxsw_core->bus_info, in mlxsw_devlink_core_bus_device_reload() 999 mlxsw_core->bus_info = mlxsw_bus_info; in mlxsw_core_bus_device_register() 1409 dev_warn(mlxsw_core->bus_info->dev, "EMAD retries (%d/%d) (tid=%llx)\n", in mlxsw_reg_trans_wait() 1412 …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() 1450 dev_dbg(mlxsw_core->bus_info->dev, "Reg cmd access (reg_id=%x(%s),type=%s)\n", in mlxsw_core_reg_access_cmd() 1484 dev_err(mlxsw_core->bus_info->dev, "Reg cmd access status failed (status=%x(%s))\n", in mlxsw_core_reg_access_cmd() 1497 dev_err(mlxsw_core->bus_info->dev, "Reg cmd access failed (reg_id=%x(%s),type=%s)\n", in mlxsw_core_reg_access_cmd() 1562 dev_dbg_ratelimited(mlxsw_core->bus_info->dev, "%s: lag_id = %d, lag_port_index = 0x%x\n", in mlxsw_core_skb_receive() [all …]
|
D | i2c.c | 69 struct mlxsw_bus_info bus_info; member 503 mlxsw_i2c->bus_info.device_kind = id->name; in mlxsw_i2c_probe() 504 mlxsw_i2c->bus_info.device_name = client->name; in mlxsw_i2c_probe() 505 mlxsw_i2c->bus_info.dev = &client->dev; in mlxsw_i2c_probe() 508 err = mlxsw_core_bus_device_register(&mlxsw_i2c->bus_info, in mlxsw_i2c_probe()
|
D | spectrum_flower.c | 106 dev_err(mlxsw_sp->bus_info->dev, "Unsupported action\n"); in mlxsw_sp_flower_parse_actions() 183 dev_err(mlxsw_sp->bus_info->dev, "Only UDP and TCP keys are supported\n"); in mlxsw_sp_flower_parse_ports() 212 dev_err(mlxsw_sp->bus_info->dev, "TCP keys supported only for TCP\n"); in mlxsw_sp_flower_parse_tcp() 239 dev_err(mlxsw_sp->bus_info->dev, "IP keys supported only for IPv4/6\n"); in mlxsw_sp_flower_parse_ip() 282 dev_err(mlxsw_sp->bus_info->dev, "Unsupported key\n"); in mlxsw_sp_flower_parse()
|
/Linux-v4.19/arch/x86/kernel/ |
D | pci-calgary_64.c | 198 static struct calgary_bus_info bus_info[MAX_PHB_BUS_NUM] = { { NULL, 0, 0 }, }; variable 500 return bus_info[num].bbar; in busno_to_bbar() 505 return bus_info[num].phbid; in busno_to_phbid() 775 tbl->it_base = (unsigned long)bus_info[dev->bus->number].tce_space; in calgary_setup_tar() 834 bus_info[dev->bus->number].tce_space = NULL; in calgary_free_bus() 1122 bus_info[bus].bbar = bbar; in calgary_locate_bbars() 1123 bus_info[bus].phbid = phb; in calgary_locate_bbars() 1126 bus_info[start_bus].bbar = bbar; in calgary_locate_bbars() 1127 bus_info[start_bus].phbid = phb; in calgary_locate_bbars() 1136 for (bus = 0; bus < ARRAY_SIZE(bus_info); bus++) in calgary_locate_bbars() [all …]
|
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_ethtool.c | 35 strlcpy(info->bus_info, pci_name(priv->pdev), sizeof(info->bus_info)); in _rtl92e_ethtool_get_drvinfo()
|
/Linux-v4.19/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-v4.19/Documentation/media/uapi/mediactl/ |
D | media-ioc-device-info.rst | 72 - ``bus_info``\ [32] 97 The ``serial`` and ``bus_info`` fields can be used to distinguish 100 If the serial number is an empty string, the ``bus_info`` field can be 101 used instead. The ``bus_info`` field is guaranteed to be unique, but can
|
/Linux-v4.19/drivers/media/platform/exynos4-is/ |
D | common.c | 45 snprintf(cap->bus_info, sizeof(cap->bus_info), in __fimc_vidioc_querycap()
|
/Linux-v4.19/sound/aoa/soundbus/ |
D | soundbus.h | 56 struct bus_info { struct 121 struct bus_info *bi,
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | ibmphp_ebda.c | 111 struct bus_info *ptr; in print_bus_info() 719 struct bus_info *bus_info_ptr1, *bus_info_ptr2; in ebda_rsrc_controller() 771 bus_info_ptr1 = kzalloc(sizeof(struct bus_info), GFP_KERNEL); in ebda_rsrc_controller() 1059 struct bus_info *ibmphp_find_same_bus_num(u32 num) in ibmphp_find_same_bus_num() 1061 struct bus_info *ptr; in ibmphp_find_same_bus_num() 1075 struct bus_info *ptr; in ibmphp_get_bus_index() 1086 struct bus_info *bus_info, *next; in ibmphp_free_bus_info_queue() local 1088 list_for_each_entry_safe(bus_info, next, &bus_info_head, in ibmphp_free_bus_info_queue() 1090 kfree (bus_info); in ibmphp_free_bus_info_queue()
|
/Linux-v4.19/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-v4.19/drivers/staging/octeon/ |
D | ethernet-mdio.c | 31 strlcpy(info->bus_info, "Builtin", sizeof(info->bus_info)); in cvm_oct_get_drvinfo()
|
/Linux-v4.19/drivers/media/radio/ |
D | radio-maxiradio.c | 146 snprintf(dev->tea.bus_info, sizeof(dev->tea.bus_info), in maxiradio_probe()
|
/Linux-v4.19/drivers/net/ethernet/toshiba/ |
D | spider_net_ethtool.c | 84 strlcpy(drvinfo->bus_info, pci_name(card->pdev), in spider_net_ethtool_get_drvinfo() 85 sizeof(drvinfo->bus_info)); in spider_net_ethtool_get_drvinfo()
|
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethsw/ |
D | ethsw-ethtool.c | 51 strlcpy(drvinfo->bus_info, dev_name(netdev->dev.parent->parent), in ethsw_get_drvinfo() 52 sizeof(drvinfo->bus_info)); in ethsw_get_drvinfo()
|
/Linux-v4.19/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-v4.19/drivers/media/usb/uvc/ |
D | uvc_metadata.c | 38 usb_make_path(stream->dev->udev, cap->bus_info, sizeof(cap->bus_info)); in uvc_meta_v4l2_querycap()
|
/Linux-v4.19/drivers/media/radio/si4713/ |
D | radio-platform-si4713.c | 73 strlcpy(capability->bus_info, "platform:radio-si4713", in radio_si4713_querycap() 74 sizeof(capability->bus_info)); in radio_si4713_querycap()
|