Searched refs:luns (Results 1 – 4 of 4) sorted by relevance
277 struct fsg_lun *luns; member324 } luns[FSG_MAX_LUNS]; member2173 common->curlun = &common->luns[common->lun]; in received_cbw()2319 common->luns[i].unit_attention_data = SS_RESET_OCCURRED; in do_set_interface()2419 curlun = &common->luns[i]; in handle_exception()2558 struct fsg_lun *curlun = common->luns; in fsg_main_thread()2675 common->luns = curlun; in fsg_common_init()2679 for (i = 0, lcfg = cfg->luns; i < nluns; ++i, ++curlun, ++lcfg) { in fsg_common_init()2747 cfg->product_name ?: (common->luns->cdrom in fsg_common_init()2778 for (i = 0, nluns = common->nluns, curlun = common->luns; in fsg_common_init()[all …]
437 int luns; in usbg_bot_setup() local450 luns = atomic_read(&fu->tpg->tpg_port_count); in usbg_bot_setup()451 if (!luns) { in usbg_bot_setup()459 luns--; in usbg_bot_setup()460 if (luns > 0xf) { in usbg_bot_setup()462 luns = 0xf; in usbg_bot_setup()465 *ret_lun = luns; in usbg_bot_setup()
777 config->fsg.luns[0].removable = 1; in mass_storage_function_init()786 &common->luns[0].dev.kobj, in mass_storage_function_init()
90 o Find the right way to associate drives/luns/busses