Lines Matching refs:lpm
818 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument
841 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr()
875 __u8 lpm) in dasd_eckd_read_conf_immediately() argument
887 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately()
898 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument
928 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm()
1092 void *conf_data, __u8 lpm) in dasd_eckd_check_cabling() argument
1108 lpm, print_path_uid, print_device_uid); in dasd_eckd_check_cabling()
1120 __u8 lpm, opm; in dasd_eckd_read_conf() local
1128 for (lpm = 0x80; lpm; lpm>>= 1) { in dasd_eckd_read_conf()
1129 if (!(lpm & opm)) in dasd_eckd_read_conf()
1132 &conf_len, lpm); in dasd_eckd_read_conf()
1165 } else if (dasd_eckd_check_cabling(device, conf_data, lpm)) { in dasd_eckd_read_conf()
1166 dasd_path_add_cablepm(device, lpm); in dasd_eckd_read_conf()
1172 pos = pathmask_to_pos(lpm); in dasd_eckd_read_conf()
1177 dasd_path_add_nppm(device, lpm); in dasd_eckd_read_conf()
1180 dasd_path_add_ppm(device, lpm); in dasd_eckd_read_conf()
1184 dasd_path_set_opm(device, lpm); in dasd_eckd_read_conf()
1187 dasd_path_add_opm(device, lpm); in dasd_eckd_read_conf()
1221 static int verify_fcx_max_data(struct dasd_device *device, __u8 lpm) in verify_fcx_max_data() argument
1228 mdc = ccw_device_get_mdc(device->cdev, lpm); in verify_fcx_max_data()
1233 mdc, lpm); in verify_fcx_max_data()
1241 "%u\n", fcx_max_data, lpm, in verify_fcx_max_data()
1253 __u8 lpm, opm = dasd_path_get_opm(device); in rebuild_device_uid() local
1256 for (lpm = 0x80; lpm; lpm >>= 1) { in rebuild_device_uid()
1257 if (!(lpm & opm)) in rebuild_device_uid()
1264 lpm); in rebuild_device_uid()
1292 __u8 lpm, opm, npm, ppm, epm, hpfpm, cablepm; in dasd_eckd_path_available_action() local
1306 for (lpm = 0x80; lpm; lpm >>= 1) { in dasd_eckd_path_available_action()
1307 if (!(lpm & data->tbvpm)) in dasd_eckd_path_available_action()
1314 lpm); in dasd_eckd_path_available_action()
1320 npm |= lpm; in dasd_eckd_path_available_action()
1323 ppm |= lpm; in dasd_eckd_path_available_action()
1326 opm |= lpm; in dasd_eckd_path_available_action()
1331 opm |= lpm; in dasd_eckd_path_available_action()
1336 epm |= lpm; in dasd_eckd_path_available_action()
1340 "(rc=%d) for new path %x\n", rc, lpm); in dasd_eckd_path_available_action()
1343 if (verify_fcx_max_data(device, lpm)) { in dasd_eckd_path_available_action()
1344 opm &= ~lpm; in dasd_eckd_path_available_action()
1345 npm &= ~lpm; in dasd_eckd_path_available_action()
1346 ppm &= ~lpm; in dasd_eckd_path_available_action()
1347 hpfpm |= lpm; in dasd_eckd_path_available_action()
1393 lpm, print_uid); in dasd_eckd_path_available_action()
1394 opm &= ~lpm; in dasd_eckd_path_available_action()
1395 npm &= ~lpm; in dasd_eckd_path_available_action()
1396 ppm &= ~lpm; in dasd_eckd_path_available_action()
1397 cablepm |= lpm; in dasd_eckd_path_available_action()
1413 epm |= lpm; in dasd_eckd_path_available_action()
1415 pos = pathmask_to_pos(lpm); in dasd_eckd_path_available_action()
3564 cqr->lpm = dasd_path_get_opm(cqr->block->base); in dasd_eckd_handle_terminated_request()
4112 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_cmd_single()
4291 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_cmd_track()
4615 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_tpm_track()
4856 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_raw()
5228 cqr->lpm = usrparm.path_mask; in dasd_eckd_snid()
5232 if (!rc && usrparm.path_mask && (cqr->lpm != usrparm.path_mask)) in dasd_eckd_snid()
5893 cqr->lpm = lpum; in dasd_eckd_read_message_buffer()
5939 } else if (cqr->lpm) { in dasd_eckd_read_message_buffer()
5945 cqr->lpm = 0; in dasd_eckd_read_message_buffer()