Lines Matching refs:sim
70 #define SIM_IS_SCSIBUS_B(ahc, sim) \ argument
71 ((sim) == ahc->platform_data->sim_b)
72 #define SIM_CHANNEL(ahc, sim) \ argument
73 (((sim) == ahc->platform_data->sim_b) ? 'B' : 'A')
74 #define SIM_SCSI_ID(ahc, sim) \ argument
75 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id)
76 #define SIM_PATH(ahc, sim) \ argument
77 (((sim) == ahc->platform_data->sim_b) ? ahc->platform_data->path_b \
79 #define BUILD_SCSIID(ahc, sim, target_id, our_id) \ argument
81 | (SIM_IS_SCSIBUS_B(ahc, sim) ? TWIN_CHNLB : 0))
84 (SCB_GET_CHANNEL(ahc, scb) == 'A' ? (ahc)->platform_data->sim \
115 struct cam_sim *sim; member