Lines Matching refs:container
1066 u32 channel, id, lun, container; in aac_handle_aif() local
1079 container = channel = id = lun = (u32)-1; in aac_handle_aif()
1091 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1092 if ((container >> 28)) { in aac_handle_aif()
1093 container = (u32)-1; in aac_handle_aif()
1096 channel = (container >> 24) & 0xF; in aac_handle_aif()
1098 container = (u32)-1; in aac_handle_aif()
1101 id = container & 0xFFFF; in aac_handle_aif()
1103 container = (u32)-1; in aac_handle_aif()
1106 lun = (container >> 16) & 0xFF; in aac_handle_aif()
1107 container = (u32)-1; in aac_handle_aif()
1117 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1118 if (container >= dev->maximum_num_containers) in aac_handle_aif()
1130 CONTAINER_TO_CHANNEL(container), in aac_handle_aif()
1131 CONTAINER_TO_ID(container), in aac_handle_aif()
1132 CONTAINER_TO_LUN(container)); in aac_handle_aif()
1134 dev->fsa_dev[container].config_needed = CHANGE; in aac_handle_aif()
1135 dev->fsa_dev[container].config_waiting_on = AifEnConfigChange; in aac_handle_aif()
1136 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif()
1146 if (container != (u32)-1) { in aac_handle_aif()
1147 if (container >= dev->maximum_num_containers) in aac_handle_aif()
1149 if ((dev->fsa_dev[container].config_waiting_on == in aac_handle_aif()
1151 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
1152 dev->fsa_dev[container].config_waiting_on = 0; in aac_handle_aif()
1153 } else for (container = 0; in aac_handle_aif()
1154 container < dev->maximum_num_containers; ++container) { in aac_handle_aif()
1155 if ((dev->fsa_dev[container].config_waiting_on == in aac_handle_aif()
1157 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
1158 dev->fsa_dev[container].config_waiting_on = 0; in aac_handle_aif()
1172 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1173 if (container >= dev->maximum_num_containers) in aac_handle_aif()
1175 dev->fsa_dev[container].config_needed = ADD; in aac_handle_aif()
1176 dev->fsa_dev[container].config_waiting_on = in aac_handle_aif()
1178 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif()
1185 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1186 if (container >= dev->maximum_num_containers) in aac_handle_aif()
1188 dev->fsa_dev[container].config_needed = DELETE; in aac_handle_aif()
1189 dev->fsa_dev[container].config_waiting_on = in aac_handle_aif()
1191 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif()
1199 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1200 if (container >= dev->maximum_num_containers) in aac_handle_aif()
1202 if (dev->fsa_dev[container].config_waiting_on && in aac_handle_aif()
1203 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
1205 dev->fsa_dev[container].config_needed = CHANGE; in aac_handle_aif()
1206 dev->fsa_dev[container].config_waiting_on = in aac_handle_aif()
1208 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif()
1216 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1217 if ((container >> 28)) { in aac_handle_aif()
1218 container = (u32)-1; in aac_handle_aif()
1221 channel = (container >> 24) & 0xF; in aac_handle_aif()
1223 container = (u32)-1; in aac_handle_aif()
1226 id = container & 0xFFFF; in aac_handle_aif()
1228 container = (u32)-1; in aac_handle_aif()
1231 lun = (container >> 16) & 0xFF; in aac_handle_aif()
1232 container = (u32)-1; in aac_handle_aif()
1261 container = le32_to_cpu( in aac_handle_aif()
1263 if ((container >> 28)) { in aac_handle_aif()
1264 container = (u32)-1; in aac_handle_aif()
1267 channel = (container >> 24) & 0xF; in aac_handle_aif()
1269 container = (u32)-1; in aac_handle_aif()
1272 id = container & 0xFFFF; in aac_handle_aif()
1273 lun = (container >> 16) & 0xFF; in aac_handle_aif()
1274 container = (u32)-1; in aac_handle_aif()
1303 if (container != (u32)-1) { in aac_handle_aif()
1304 if (container >= dev->maximum_num_containers) in aac_handle_aif()
1306 if ((dev->fsa_dev[container].config_waiting_on == in aac_handle_aif()
1308 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
1309 dev->fsa_dev[container].config_waiting_on = 0; in aac_handle_aif()
1310 } else for (container = 0; in aac_handle_aif()
1311 container < dev->maximum_num_containers; ++container) { in aac_handle_aif()
1312 if ((dev->fsa_dev[container].config_waiting_on == in aac_handle_aif()
1314 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
1315 dev->fsa_dev[container].config_waiting_on = 0; in aac_handle_aif()
1331 for (container = 0; in aac_handle_aif()
1332 container < dev->maximum_num_containers; in aac_handle_aif()
1333 ++container) { in aac_handle_aif()
1338 dev->fsa_dev[container].config_waiting_on = in aac_handle_aif()
1340 dev->fsa_dev[container].config_needed = ADD; in aac_handle_aif()
1341 dev->fsa_dev[container].config_waiting_stamp = in aac_handle_aif()
1348 for (container = 0; in aac_handle_aif()
1349 container < dev->maximum_num_containers; in aac_handle_aif()
1350 ++container) { in aac_handle_aif()
1355 dev->fsa_dev[container].config_waiting_on = in aac_handle_aif()
1357 dev->fsa_dev[container].config_needed = DELETE; in aac_handle_aif()
1358 dev->fsa_dev[container].config_waiting_stamp = in aac_handle_aif()
1365 container = 0; in aac_handle_aif()
1368 for (; container < dev->maximum_num_containers; ++container) { in aac_handle_aif()
1369 if ((dev->fsa_dev[container].config_waiting_on == 0) && in aac_handle_aif()
1370 (dev->fsa_dev[container].config_needed != NOTHING) && in aac_handle_aif()
1371 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) { in aac_handle_aif()
1373 dev->fsa_dev[container].config_needed; in aac_handle_aif()
1374 dev->fsa_dev[container].config_needed = NOTHING; in aac_handle_aif()
1375 channel = CONTAINER_TO_CHANNEL(container); in aac_handle_aif()
1376 id = CONTAINER_TO_ID(container); in aac_handle_aif()
1377 lun = CONTAINER_TO_LUN(container); in aac_handle_aif()
1404 if (dev->fsa_dev[container].valid == 1) in aac_handle_aif()
1405 dev->fsa_dev[container].valid = 2; in aac_handle_aif()
1406 aac_probe_container(dev, container); in aac_handle_aif()
1437 && (!dev->fsa_dev[container].valid)) { in aac_handle_aif()
1462 container++; in aac_handle_aif()