/linux-4.4.14/tools/usb/usbip/src/ |
D | usbip_bind.c | 50 static int bind_usbip(char *busid) in bind_usbip() argument 60 rc = write_sysfs_attribute(bind_attr_path, busid, strlen(busid)); in bind_usbip() 62 err("error binding device %s to driver: %s", busid, in bind_usbip() 71 static int unbind_other(char *busid) in unbind_other() argument 88 dev = udev_device_new_from_subsystem_sysname(udev, "usb", busid); in unbind_other() 90 dbg("unable to find device with bus ID %s", busid); in unbind_other() 125 rc = write_sysfs_attribute(unbind_attr_path, busid, strlen(busid)); in unbind_other() 127 err("error unbinding device %s from driver", busid); in unbind_other() 142 static int bind_device(char *busid) in bind_device() argument 150 dev = udev_device_new_from_subsystem_sysname(udev, "usb", busid); in bind_device() [all …]
|
D | usbip_attach.c | 47 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument 76 host, port, busid); in record_connection() 120 static int query_import_device(int sockfd, char *busid) in query_import_device() argument 137 strncpy(request.busid, busid, SYSFS_BUS_ID_SIZE-1); in query_import_device() 163 if (strncmp(reply.udev.busid, busid, SYSFS_BUS_ID_SIZE)) { in query_import_device() 164 err("recv different busid %s", reply.udev.busid); in query_import_device() 172 static int attach_device(char *host, char *busid) in attach_device() argument 184 rhport = query_import_device(sockfd, busid); in attach_device() 192 rc = record_connection(host, usbip_port_string, busid, rhport); in attach_device() 209 char *busid = NULL; in usbip_attach() local [all …]
|
D | usbip_unbind.c | 42 static int unbind_device(char *busid) in unbind_device() argument 60 dev = udev_device_new_from_subsystem_sysname(udev, "usb", busid); in unbind_device() 78 rc = write_sysfs_attribute(unbind_attr_path, busid, strlen(busid)); in unbind_device() 80 err("error unbinding device %s from driver", busid); in unbind_device() 85 rc = modify_match_busid(busid, 0); in unbind_device() 87 err("unable to unbind device on %s", busid); in unbind_device() 96 rc = write_sysfs_attribute(rebind_attr_path, busid, strlen(busid)); in unbind_device() 103 info("unbind device on busid %s: complete", busid); in unbind_device()
|
D | usbip_list.c | 103 printf("%11s: %s\n", udev.busid, product_name); in get_exported_devices() 154 static void print_device(const char *busid, const char *vendor, in print_device() argument 158 printf("busid=%s#usbid=%.4s:%.4s#", busid, vendor, product); in print_device() 160 printf(" - busid %s (%.4s:%.4s)\n", busid, vendor, product); in print_device() 180 const char *busid; in list_devices() local 210 busid = udev_device_get_sysname(dev); in list_devices() 223 print_device(busid, idVendor, idProduct, parsable); in list_devices()
|
D | utils.c | 27 int modify_match_busid(char *busid, int add) in modify_match_busid() argument 40 snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s", busid); in modify_match_busid() 42 snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s", busid); in modify_match_busid()
|
D | usbipd.c | 112 if (!strncmp(req.busid, edev->udev.busid, SYSFS_BUS_ID_SIZE)) { in recv_request_import() 113 info("found requested device: %s", req.busid); in recv_request_import() 128 info("requested device not found: %s", req.busid); in recv_request_import() 140 dbg("import request busid %s: failed", req.busid); in recv_request_import() 153 dbg("import request busid %s: complete", req.busid); in recv_request_import()
|
D | utils.h | 22 int modify_match_busid(char *busid, int add);
|
D | usbip_network.h | 55 char busid[SYSFS_BUS_ID_SIZE]; member 70 char busid[SYSFS_BUS_ID_SIZE]; member
|
/linux-4.4.14/drivers/usb/usbip/ |
D | stub_main.c | 55 static int get_busid_idx(const char *busid) in get_busid_idx() argument 62 if (!strncmp(busid_table[i].name, busid, BUSID_SIZE)) { in get_busid_idx() 69 struct bus_id_priv *get_busid_priv(const char *busid) in get_busid_priv() argument 75 idx = get_busid_idx(busid); in get_busid_priv() 83 static int add_match_busid(char *busid) in add_match_busid() argument 90 if (get_busid_idx(busid) >= 0) { in add_match_busid() 97 strlcpy(busid_table[i].name, busid, BUSID_SIZE); in add_match_busid() 111 int del_match_busid(char *busid) in del_match_busid() argument 117 idx = get_busid_idx(busid); in del_match_busid() 156 char busid[BUSID_SIZE]; in store_match_busid() local [all …]
|
D | stub.h | 100 struct bus_id_priv *get_busid_priv(const char *busid); 101 int del_match_busid(char *busid);
|
D | usbip_protocol.txt | 126 0x10C | 32 | | busid: Bus ID of the exported device, string 167 i*0x138 + | | | with the busid field. 180 8 | 32 | | busid: the busid of the exported device on the 182 | | | from the message field OP_REP_DEVLIST.busid. 208 0x108 | 32 | | busid: Bus ID of the exported device, string
|
/linux-4.4.14/tools/usb/usbip/ |
D | README | 50 server:# usbip bind --busid 1-2 51 - Bind usbip-host.ko to the device with busid 1-2. 53 - Use `usbip unbind --busid 1-2' to stop exporting the device. 61 client:# usbip attach --remote <host> --busid 1-2 87 - busid 1-1 (05a9:a511) 90 - busid 3-2 (0711:0902) 93 - busid 3-3.1 (08bb:2702) 97 - busid 3-3.2 (04bb:0206) 100 - busid 3-3 (0409:0058) 103 - busid 4-1 (046d:08b2) [all …]
|
/linux-4.4.14/arch/mips/txx9/generic/ |
D | spi_eeprom.c | 23 int __init spi_eeprom_register(int busid, int chipid, int size) in spi_eeprom_register() argument 28 .bus_num = busid, in spi_eeprom_register() 47 int busid; member 64 if (read_param->busid != spi->master->bus_num || in early_seeprom_probe() 87 int __init spi_eeprom_read(int busid, int chipid, int address, in spi_eeprom_read() argument 92 .busid = busid, in spi_eeprom_read()
|
D | setup_tx4938.c | 307 void __init tx4938_spi_init(int busid) in tx4938_spi_init() argument 309 txx9_spi_init(busid, TX4938_SPI_REG & 0xfffffffffULL, in tx4938_spi_init()
|
D | setup.c | 451 void __init txx9_spi_init(int busid, unsigned long base, int irq) in txx9_spi_init() argument 463 platform_device_register_simple("spi_txx9", busid, in txx9_spi_init()
|
/linux-4.4.14/arch/mips/include/asm/txx9/ |
D | spi.h | 19 int spi_eeprom_register(int busid, int chipid, int size); 20 int spi_eeprom_read(int busid, int chipid, 23 static inline int spi_eeprom_register(int busid, int chipid, int size) in spi_eeprom_register() argument 27 static inline int spi_eeprom_read(int busid, int chipid, in spi_eeprom_read() argument
|
D | generic.h | 48 void txx9_spi_init(int busid, unsigned long base, int irq);
|
D | tx4938.h | 284 void tx4938_spi_init(int busid);
|
D | tx4939.h | 534 void tx4939_spi_init(int busid);
|
/linux-4.4.14/arch/arm/mach-versatile/ |
D | core.h | 40 #define APB_DEVICE(name, busid, base, plat) \ argument 41 static AMBA_APB_DEVICE(name, busid, 0, VERSATILE_##base##_BASE, base##_IRQ, plat) 43 #define AHB_DEVICE(name, busid, base, plat) \ argument 44 static AMBA_AHB_DEVICE(name, busid, 0, VERSATILE_##base##_BASE, base##_IRQ, plat)
|
/linux-4.4.14/arch/arm/mach-realview/ |
D | core.h | 30 #define APB_DEVICE(name, busid, base, plat) \ argument 31 static AMBA_APB_DEVICE(name, busid, 0, REALVIEW_##base##_BASE, base##_IRQ, plat) 33 #define AHB_DEVICE(name, busid, base, plat) \ argument 34 static AMBA_AHB_DEVICE(name, busid, 0, REALVIEW_##base##_BASE, base##_IRQ, plat)
|
/linux-4.4.14/include/linux/amba/ |
D | bus.h | 125 #define __AMBA_DEV(busid, data, mask) \ argument 128 .init_name = busid, \ 138 #define AMBA_APB_DEVICE(name, busid, id, base, irqs, data) \ argument 140 .dev = __AMBA_DEV(busid, data, 0), \ 149 #define AMBA_AHB_DEVICE(name, busid, id, base, irqs, data) \ argument 151 .dev = __AMBA_DEV(busid, data, ~0ULL), \
|
/linux-4.4.14/tools/usb/usbip/libsrc/ |
D | usbip_common.c | 91 dbg("%-20s = %s", "busid", udev->busid); in dump_usb_device() 206 strncpy(udev->busid, name, SYSFS_BUS_ID_SIZE); in read_usb_device() 217 char busid[SYSFS_BUS_ID_SIZE]; in read_usb_interface() local 220 sprintf(busid, "%s:%d.%d", udev->busid, udev->bConfigurationValue, i); in read_usb_interface() 222 sif = udev_device_new_from_subsystem_sysname(udev_context, "usb", busid); in read_usb_interface() 224 err("udev_device_new_from_subsystem_sysname %s failed", busid); in read_usb_interface()
|
D | vhci_driver.c | 19 imported_device_init(struct usbip_imported_device *idev, char *busid) in imported_device_init() argument 24 "usb", busid); in imported_device_init() 26 dbg("udev_device_new_from_subsystem_sysname failed: %s", busid); in imported_device_init() 165 char *port, unsigned long port_len, char *busid) in read_record() argument 207 if (sscanf(buffer, "%s %s %s\n", host, port, busid) != 3) { in read_record() 399 printf("%10s -> usbip://%s:%s/%s\n", idev->udev.busid, in usbip_vhci_imported_device_dump() 405 idev->udev.busid); in usbip_vhci_imported_device_dump()
|
D | usbip_host_driver.c | 232 dbg("device not available: %s", edev->udev.busid); in usbip_host_export_device() 260 info("connect: %s", edev->udev.busid); in usbip_host_export_device()
|
D | usbip_common.h | 99 char busid[SYSFS_BUS_ID_SIZE]; member
|
/linux-4.4.14/arch/x86/kernel/ |
D | mpparse.c | 80 apic_printk(APIC_VERBOSE, "Bus #%d is %s\n", m->busid, str); in default_mpc_oem_bus_info() 90 if (m->busid >= MAX_MP_BUSSES) { in MP_bus_info() 92 m->busid, str, MAX_MP_BUSSES - 1); in MP_bus_info() 97 set_bit(m->busid, mp_bus_not_pci); in MP_bus_info() 100 mp_bus_id_to_type[m->busid] = MP_BUS_ISA; in MP_bus_info() 106 clear_bit(m->busid, mp_bus_not_pci); in MP_bus_info() 108 mp_bus_id_to_type[m->busid] = MP_BUS_PCI; in MP_bus_info() 110 mp_bus_id_to_type[m->busid] = MP_BUS_EISA; in MP_bus_info() 351 bus.busid = 0; in construct_ioapic_table() 369 bus.busid = 1; in construct_ioapic_table() [all …]
|
/linux-4.4.14/Documentation/fmc/ |
D | fmc-write-eeprom.txt | 6 the `busid' generic parameter. 32 * Only cards listed with `busid=' are written to. If no busid is 48 spusa.root# insmod /tmp/fmc-write-eeprom.ko busid=0x0200 file=try.tlv 69 spusa.root# insmod fmc-write-eeprom.ko busid=0 file=fdelay-eeprom.bin; \
|
D | fmc-trivial.txt | 12 `busid='
|
D | mezzanine.txt | 82 The parameters are carrier-specific, in that they rely on the busid 91 `busid=' 99 The argument is an array of strings. If no busid= is specified, 119 busid=0x0200,0x0400 \
|
D | carrier.txt | 167 busid module parameter, if provided, and returns the matching 170 didn't pass `busid=', all devices will pass validation. The value
|
/linux-4.4.14/drivers/amba/ |
D | bus.c | 582 const char *busid; member 596 if (d->busid) in amba_find_match() 597 r &= strcmp(dev_name(dev), d->busid) == 0; in amba_find_match() 622 amba_find_device(const char *busid, struct device *parent, unsigned int id, in amba_find_device() argument 629 data.busid = busid; in amba_find_device()
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_aux.c | 56 static void __init zfcp_init_device_configure(char *busid, u64 wwpn, u64 lun) in zfcp_init_device_configure() argument 62 cdev = get_ccwdev_by_busid(&zfcp_ccw_driver, busid); in zfcp_init_device_configure() 92 char busid[ZFCP_BUS_ID_SIZE]; in zfcp_init_device_setup() local 104 strncpy(busid, token, ZFCP_BUS_ID_SIZE); in zfcp_init_device_setup() 115 zfcp_init_device_configure(busid, wwpn, lun); in zfcp_init_device_setup()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | mpspec_def.h | 79 unsigned char busid; member
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_eer.c | 282 char busid[DASD_EER_BUSID_SIZE]; member 315 strncpy(header.busid, dev_name(&device->cdev->dev), in dasd_eer_write_standard_trigger() 358 strncpy(header.busid, dev_name(&device->cdev->dev), in dasd_eer_write_snss_trigger()
|
/linux-4.4.14/include/linux/ |
D | fmc.h | 91 module_param_array_named(busid, _d.busid_val, int, &_d.busid_n, 0444)
|
/linux-4.4.14/Documentation/DocBook/ |
D | s390-drivers.xml.db | 20 API-get-ccwdev-by-busid
|