Home
last modified time | relevance | path

Searched refs:modesense_handlers (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/target/
Dtarget_core_spc.c966 } modesense_handlers[] = { variable
1097 for (i = 0; i < ARRAY_SIZE(modesense_handlers); ++i) { in spc_emulate_modesense()
1104 if ((modesense_handlers[i].subpage & ~subpage) == 0) { in spc_emulate_modesense()
1105 ret = modesense_handlers[i].emulate(cmd, pc, &buf[length]); in spc_emulate_modesense()
1115 for (i = 0; i < ARRAY_SIZE(modesense_handlers); ++i) in spc_emulate_modesense()
1116 if (modesense_handlers[i].page == page && in spc_emulate_modesense()
1117 modesense_handlers[i].subpage == subpage) { in spc_emulate_modesense()
1118 length += modesense_handlers[i].emulate(cmd, pc, &buf[length]); in spc_emulate_modesense()
1181 for (i = 0; i < ARRAY_SIZE(modesense_handlers); ++i) in spc_emulate_modeselect()
1182 if (modesense_handlers[i].page == page && in spc_emulate_modeselect()
[all …]