Lines Matching refs:modesense_handlers
966 } 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()
1183 modesense_handlers[i].subpage == subpage) { in spc_emulate_modeselect()
1185 length = modesense_handlers[i].emulate(cmd, 0, tbuf); in spc_emulate_modeselect()