Lines Matching refs:device
62 static inline int transport_open(int transport, char *device)
66 return csr_open_hci(device);
69 return csr_open_usb(device);
72 return csr_open_bcsp(device);
74 return csr_open_h4(device);
76 return csr_open_3wire(device);
1084 { "disabletx", cmd_disabletx, "", "Disable TX on the device" },
1085 { "enabletx", cmd_enabletx, "", "Enable TX on the device" },
1111 "\t-d <device> Select the device\n"
1139 { "device", 1, 0, 'd' },
1146 char *device = NULL;
1172 device = strdup(optarg);
1191 if (transport_open(transport, device) < 0)
1194 if (device)
1195 free(device);