Lines Matching refs:desc
213 const struct dvb_usb_device_description *desc = NULL; in dvb_usb_find_device() local
224 desc = &props->devices[i]; in dvb_usb_find_device()
229 if (desc != NULL) in dvb_usb_find_device()
237 desc = &props->devices[i]; in dvb_usb_find_device()
243 if (desc != NULL && props->identify_state != NULL) in dvb_usb_find_device()
244 props->identify_state(udev, props, &desc, cold); in dvb_usb_find_device()
246 return desc; in dvb_usb_find_device()
274 const struct dvb_usb_device_description *desc = NULL; in dvb_usb_device_init() local
289 desc = dvb_usb_find_device(udev, &d->props, &cold); in dvb_usb_device_init()
290 if (!desc) { in dvb_usb_device_init()
297 info("found a '%s' in cold state, will try to load a firmware", desc->name); in dvb_usb_device_init()
303 info("found a '%s' in warm state.", desc->name); in dvb_usb_device_init()
305 d->desc = desc; in dvb_usb_device_init()
312 info("%s error while loading driver (%d)", desc->name, ret); in dvb_usb_device_init()
319 info("%s successfully initialized and connected.", desc->name); in dvb_usb_device_init()
336 if (d != NULL && d->desc != NULL) { in dvb_usb_device_exit()
337 strscpy(name, d->desc->name, sizeof(name)); in dvb_usb_device_exit()