Lines Matching refs:bus_info
85 * @bus_info: Unique and stable device location identifier
153 char bus_info[32];
214 * The bus_info field is set by media_device_init() for PCI and platform devices
251 * - &media_device.bus_info represents the location of the device in the
253 * &media_device.bus_info must be set to "PCI:" (or "PCIe:") followed by
490 * media_set_bus_info() - Set bus_info field
492 * @bus_info: Variable where to write the bus info (char array)
493 * @bus_info_size: Length of the bus_info
502 media_set_bus_info(char *bus_info, size_t bus_info_size, struct device *dev)
505 strscpy(bus_info, "no bus info", bus_info_size);
507 snprintf(bus_info, bus_info_size, "platform:%s", dev_name(dev));
509 snprintf(bus_info, bus_info_size, "PCI:%s", dev_name(dev));