Lines Matching refs:modesense_handlers
924 } modesense_handlers[] = { variable
1055 for (i = 0; i < ARRAY_SIZE(modesense_handlers); ++i) { in spc_emulate_modesense()
1062 if ((modesense_handlers[i].subpage & ~subpage) == 0) { in spc_emulate_modesense()
1063 ret = modesense_handlers[i].emulate(cmd, pc, &buf[length]); in spc_emulate_modesense()
1073 for (i = 0; i < ARRAY_SIZE(modesense_handlers); ++i) in spc_emulate_modesense()
1074 if (modesense_handlers[i].page == page && in spc_emulate_modesense()
1075 modesense_handlers[i].subpage == subpage) { in spc_emulate_modesense()
1076 length += modesense_handlers[i].emulate(cmd, pc, &buf[length]); in spc_emulate_modesense()
1139 for (i = 0; i < ARRAY_SIZE(modesense_handlers); ++i) in spc_emulate_modeselect()
1140 if (modesense_handlers[i].page == page && in spc_emulate_modeselect()
1141 modesense_handlers[i].subpage == subpage) { in spc_emulate_modeselect()
1143 length = modesense_handlers[i].emulate(cmd, 0, tbuf); in spc_emulate_modeselect()