devicetype
handler, 0, xb_dev->devicetype,
0, dev->devicetype, info);
exthdr->devicetype);
if (exthdr->devicetype & 0x1)
if (exthdr->devicetype & 0x2)
if (exthdr->devicetype & 0x4)
if (exthdr->devicetype & 0x8)
if (exthdr->devicetype & 0x20)
if (exthdr->devicetype & 0x40)
if (exthdr->devicetype & 0x80)
if (exthdr->devicetype & 0x100)
if (exthdr->devicetype & 0x200)
if (exthdr->devicetype & 0x400)
if (exthdr->devicetype & 0x800)
if (exthdr->devicetype & 0x1000)
if (exthdr->devicetype & 0x2000)
if (exthdr->devicetype & 0x10000)
if (exthdr->devicetype & 0x20000)
if (exthdr->devicetype & 0x40000000)
if (exthdr->devicetype & 0x80000000)
if (exthdr->devicetype & 0x80) {
u32 devicetype;
info->devicetype = USBAT_DEV_HP8200;
info->devicetype = USBAT_DEV_FLASH;
int devicetype)
if (!info->devicetype)
info->devicetype = devicetype;
if (!info->devicetype)
switch (info->devicetype) {
int devicetype;
static int init_usbat(struct us_data *us, int devicetype)
if (usbat_set_transport(us, info, devicetype))
return ((struct usbat_info*)us->extra)->devicetype;
0, dev->devicetype, info);
drv->driver.name = drv->name ? drv->name : drv->ids[0].devicetype;
return sprintf(buf, "%s\n", to_xenbus_device(dev)->devicetype);
to_xenbus_device(dev)->devicetype);
xendev->devicetype = tmpstring;
for (; *arr->devicetype != '\0'; arr++) {
if (!strcmp(arr->devicetype, dev->devicetype))
if (add_uevent_var(env, "MODALIAS=xen-backend:%s", xdev->devicetype))
if (add_uevent_var(env, "XENBUS_TYPE=%s", xdev->devicetype))
if (add_uevent_var(env, "MODALIAS=xen:%s", dev->devicetype))
char devicetype[32]; /* General class of device. */
const char *devicetype;