/drivers/of/ |
D | platform.c | 131 const char *bus_id, in of_device_alloc() argument 170 if (bus_id) in of_device_alloc() 171 dev_set_name(&dev->dev, "%s", bus_id); in of_device_alloc() 191 const char *bus_id, in of_platform_device_create_pdata() argument 200 dev = of_device_alloc(np, bus_id, parent); in of_platform_device_create_pdata() 234 const char *bus_id, in of_platform_device_create() argument 237 return of_platform_device_create_pdata(np, bus_id, NULL, parent); in of_platform_device_create() 243 const char *bus_id, in of_amba_device_create() argument 265 if (bus_id) in of_amba_device_create() 266 dev_set_name(&dev->dev, "%s", bus_id); in of_amba_device_create() [all …]
|
D | of_mdio.c | 169 char bus_id[MII_BUS_ID_SIZE + 3]; in of_phy_connect_fixed_link() local 185 sprintf(bus_id, PHY_ID_FMT, "fixed-0", be32_to_cpu(phy_id[0])); in of_phy_connect_fixed_link() 187 phy = phy_connect(dev, bus_id, hndlr, 0, iface); in of_phy_connect_fixed_link()
|
/drivers/acpi/ |
D | event.c | 72 event.bus_id ? event. in acpi_system_read_event() 73 bus_id : "<unknown>", event.type, in acpi_system_read_event() 126 strcpy(event.bus_id, dev->pnp.bus_id); in acpi_notifier_call_chain() 150 char bus_id[15]; member 187 const char *bus_id, in acpi_bus_generate_netlink_event() argument 232 strcpy(event->bus_id, bus_id); in acpi_bus_generate_netlink_event() 267 const char *bus_id, in acpi_bus_generate_netlink_event() argument
|
D | bus.c | 145 device->pnp.bus_id, in acpi_bus_get_status() 150 device->pnp.bus_id, in acpi_bus_get_status() 219 device->pnp.bus_id, *state)); in __acpi_bus_get_power() 298 device->pnp.bus_id, state); in __acpi_bus_set_power() 303 device->pnp.bus_id, state)); in __acpi_bus_set_power() 577 int acpi_bus_generate_proc_event4(const char *device_class, const char *bus_id, u8 type, int data) in acpi_bus_generate_proc_event4() argument 591 strcpy(event->bus_id, bus_id); in acpi_bus_generate_proc_event4() 612 device->pnp.bus_id, type, data); in acpi_bus_generate_proc_event()
|
D | scan.c | 37 char bus_id[15]; member 418 acpi_drv->name, acpi_dev->pnp.bus_id)); in acpi_device_probe() 479 if (!strcmp(acpi_device_bus_id->bus_id, in acpi_device_register() 489 strcpy(acpi_device_bus_id->bus_id, acpi_device_hid(device)); in acpi_device_register() 493 dev_set_name(&device->dev, "%s:%02x", acpi_device_bus_id->bus_id, acpi_device_bus_id->instance_no); in acpi_device_register() 974 char bus_id[5] = { '?', 0 }; in acpi_device_get_busid() local 975 struct acpi_buffer buffer = { sizeof(bus_id), bus_id }; in acpi_device_get_busid() 985 strcpy(device->pnp.bus_id, "ACPI"); in acpi_device_get_busid() 991 strcpy(device->pnp.bus_id, "PWRF"); in acpi_device_get_busid() 994 strcpy(device->pnp.bus_id, "SLPF"); in acpi_device_get_busid() [all …]
|
D | proc.c | 312 dev->pnp.bus_id, in acpi_system_wakeup_device_seq_show() 367 if (!strncmp(dev->pnp.bus_id, str, 4)) { in acpi_system_write_wakeup_device()
|
D | video.c | 1668 if (!strcmp(device->pnp.bus_id, "VID")) { in acpi_video_bus_add() 1670 device->pnp.bus_id[3] = '0' + instance; in acpi_video_bus_add() 1674 if (!strcmp(device->pnp.bus_id, "VGA")) { in acpi_video_bus_add() 1676 device->pnp.bus_id[3] = '0' + instance; in acpi_video_bus_add()
|
/drivers/net/phy/ |
D | phy_device.c | 72 int phy_register_fixup(const char *bus_id, u32 phy_uid, u32 phy_uid_mask, in phy_register_fixup() argument 81 strlcpy(fixup->bus_id, bus_id, sizeof(fixup->bus_id)); in phy_register_fixup() 103 int phy_register_fixup_for_id(const char *bus_id, in phy_register_fixup_for_id() argument 106 return phy_register_fixup(bus_id, PHY_ANY_UID, 0xffffffff, run); in phy_register_fixup_for_id() 116 if (strcmp(fixup->bus_id, dev_name(&phydev->dev)) != 0) in phy_needs_fixup() 117 if (strcmp(fixup->bus_id, PHY_ANY_ID) != 0) in phy_needs_fixup() 371 struct phy_device * phy_connect(struct net_device *dev, const char *bus_id, in phy_connect() argument 381 d = bus_find_device_by_name(&mdio_bus_type, NULL, bus_id); in phy_connect() 383 pr_err("PHY %s not found\n", bus_id); in phy_connect() 495 const char *bus_id, u32 flags, phy_interface_t interface) in phy_attach() argument [all …]
|
D | mdio-gpio.c | 87 int bus_id) in mdio_gpio_bus_init() argument 119 snprintf(new_bus->id, MII_BUS_ID_SIZE, "gpio-%x", bus_id); in mdio_gpio_bus_init()
|
/drivers/s390/block/ |
D | dasd_devmap.c | 48 char bus_id[DASD_BUS_ID_SIZE]; member 97 dasd_hash_busid(const char *bus_id) in dasd_hash_busid() argument 102 for (i = 0; (i < DASD_BUS_ID_SIZE) && *bus_id; i++, bus_id++) in dasd_hash_busid() 103 hash += *bus_id; in dasd_hash_busid() 316 char bus_id[DASD_BUS_ID_SIZE+1], *str; in dasd_parse_range() local 342 sprintf(bus_id, "%01x.%01x.%04x", in dasd_parse_range() 344 devmap = dasd_add_busid(bus_id, features); in dasd_parse_range() 409 dasd_add_busid(const char *bus_id, int features) in dasd_add_busid() argument 420 hash = dasd_hash_busid(bus_id); in dasd_add_busid() 422 if (strncmp(tmp->bus_id, bus_id, DASD_BUS_ID_SIZE) == 0) { in dasd_add_busid() [all …]
|
/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.c | 73 status = lv1_net_set_interrupt_mask(bus_id(card), dev_id(card), in gelic_card_set_irq_mask() 98 lv1_net_control(bus_id(card), dev_id(card), in gelic_card_get_ether_port_status() 117 status = lv1_net_control(bus_id(card), dev_id(card), in gelic_card_set_link_mode() 558 status = lv1_net_remove_multicast_address(bus_id(card), dev_id(card), in gelic_net_set_multi() 565 status = lv1_net_add_multicast_address(bus_id(card), dev_id(card), in gelic_net_set_multi() 574 status = lv1_net_add_multicast_address(bus_id(card), in gelic_net_set_multi() 592 status = lv1_net_add_multicast_address(bus_id(card), in gelic_net_set_multi() 624 status = lv1_net_start_rx_dma(bus_id(card), dev_id(card), in gelic_card_enable_rxdmac() 643 status = lv1_net_stop_rx_dma(bus_id(card), dev_id(card)); in gelic_card_disable_rxdmac() 661 status = lv1_net_stop_tx_dma(bus_id(card), dev_id(card)); in gelic_card_disable_txdmac() [all …]
|
D | ps3_gelic_net.h | 348 static inline u64 bus_id(struct gelic_card *card) in bus_id() function 350 return card->dev->bus_id; in bus_id()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_mdio.c | 162 new_bus->name, mdio_bus_data->bus_id); in stmmac_mdio_register() 198 if ((priv->plat->bus_id == mdio_bus_data->bus_id) && in stmmac_mdio_register() 202 act = (priv->plat->bus_id == mdio_bus_data->bus_id) && in stmmac_mdio_register()
|
D | stmmac_pci.c | 35 plat_dat.bus_id = 1; in stmmac_default_data() 43 mdio_data.bus_id = 1; in stmmac_default_data()
|
D | stmmac_main.c | 304 char bus_id[MII_BUS_ID_SIZE]; in stmmac_init_phy() local 310 snprintf(bus_id, MII_BUS_ID_SIZE, "stmmac-%x", priv->plat->bus_id); in stmmac_init_phy() 311 snprintf(phy_id, MII_BUS_ID_SIZE + 3, PHY_ID_FMT, bus_id, in stmmac_init_phy() 907 __func__, priv->plat->bus_id); in stmmac_open()
|
/drivers/xen/xenbus/ |
D | xenbus_probe_frontend.c | 32 static int frontend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in frontend_bus_id() 40 strlcpy(bus_id, nodename + 1, XEN_BUS_ID_SIZE); in frontend_bus_id() 41 if (!strchr(bus_id, '/')) { in frontend_bus_id() 42 printk(KERN_WARNING "XENBUS: bus_id %s no slash\n", bus_id); in frontend_bus_id() 45 *strchr(bus_id, '/') = '-'; in frontend_bus_id()
|
D | xenbus_probe_backend.c | 58 static int backend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in backend_bus_id() 88 if (snprintf(bus_id, XEN_BUS_ID_SIZE, "%.*s-%i-%s", in backend_bus_id()
|
D | xenbus_probe.h | 42 int (*get_bus_id)(char bus_id[XEN_BUS_ID_SIZE], const char *nodename);
|
/drivers/video/exynos/ |
D | exynos_mipi_dsi.c | 44 int bus_id; member 226 dsim_ddi->bus_id = lcd_dev->bus_id; in exynos_mipi_dsi_find_lcd_device() 280 (dsim->id != dsim_ddi->bus_id)) in exynos_mipi_dsi_bind_lcd_ddi() 286 lcd_dev->bus_id, dsim->id); in exynos_mipi_dsi_bind_lcd_ddi() 500 if (dsim->id != dsim_ddi->bus_id) in exynos_mipi_dsi_remove()
|
/drivers/staging/usbip/userspace/src/ |
D | usbip_bind.c | 190 rc = sysfs_write_attribute(unbind_attr, intf_dev->bus_id, in unbind_other() 194 dbg("unbind driver at %s failed", intf_dev->bus_id); in unbind_other()
|
D | usbip_list.c | 234 print_device(dev->bus_id, idVendor->value, idProduct->value, in list_devices() 239 dev->bus_id, bConfValue->value, i); in list_devices()
|
/drivers/s390/cio/ |
D | ccwgroup.c | 257 static int __get_next_bus_id(const char **buf, char *bus_id) in __get_next_bus_id() argument 275 strlcpy(bus_id, start, len); in __get_next_bus_id() 283 static int __is_valid_bus_id(char bus_id[CCW_BUS_ID_SIZE]) in __is_valid_bus_id() 288 if (sscanf(bus_id, "%x.%1x.%04x", &cssid, &ssid, &devno) != 3) in __is_valid_bus_id()
|
D | device.c | 1656 char *bus_id; in __ccwdev_check_busid() local 1658 bus_id = id; in __ccwdev_check_busid() 1660 return (strcmp(bus_id, dev_name(dev)) == 0); in __ccwdev_check_busid() 1676 const char *bus_id) in get_ccwdev_by_busid() argument 1680 dev = driver_find_device(&cdrv->driver, NULL, (void *)bus_id, in get_ccwdev_by_busid()
|
/drivers/staging/usbip/userspace/libsrc/ |
D | usbip_host_driver.c | 154 if (!strncmp(dev->bus_id, target->bus_id, SYSFS_BUS_ID_SIZE)) in check_new()
|
/drivers/s390/char/ |
D | vmur.c | 147 char bus_id[16]; in urdev_get_from_devno() local 151 sprintf(bus_id, "0.0.%04x", devno); in urdev_get_from_devno() 152 cdev = get_ccwdev_by_busid(&ur_driver, bus_id); in urdev_get_from_devno()
|