Lines Matching full:lpm
814 __u8 lpm) in dasd_eckd_fill_rcd_cqr() argument
837 cqr->lpm = lpm; in dasd_eckd_fill_rcd_cqr()
871 __u8 lpm) in dasd_eckd_read_conf_immediately() argument
883 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buffer, lpm); in dasd_eckd_read_conf_immediately()
894 int *rcd_buffer_size, __u8 lpm) in dasd_eckd_read_conf_lpm() argument
924 dasd_eckd_fill_rcd_cqr(device, cqr, rcd_buf, lpm); in dasd_eckd_read_conf_lpm()
1080 void *conf_data, __u8 lpm) in dasd_eckd_check_cabling() argument
1096 lpm, print_path_uid, print_device_uid); in dasd_eckd_check_cabling()
1108 __u8 lpm, opm; in dasd_eckd_read_conf() local
1116 for (lpm = 0x80; lpm; lpm>>= 1) { in dasd_eckd_read_conf()
1117 if (!(lpm & opm)) in dasd_eckd_read_conf()
1120 &conf_len, lpm); in dasd_eckd_read_conf()
1153 } else if (dasd_eckd_check_cabling(device, conf_data, lpm)) { in dasd_eckd_read_conf()
1154 dasd_path_add_cablepm(device, lpm); in dasd_eckd_read_conf()
1160 pos = pathmask_to_pos(lpm); in dasd_eckd_read_conf()
1165 dasd_path_add_nppm(device, lpm); in dasd_eckd_read_conf()
1168 dasd_path_add_ppm(device, lpm); in dasd_eckd_read_conf()
1172 dasd_path_set_opm(device, lpm); in dasd_eckd_read_conf()
1175 dasd_path_add_opm(device, lpm); in dasd_eckd_read_conf()
1209 static int verify_fcx_max_data(struct dasd_device *device, __u8 lpm) in verify_fcx_max_data() argument
1216 mdc = ccw_device_get_mdc(device->cdev, lpm); in verify_fcx_max_data()
1221 mdc, lpm); in verify_fcx_max_data()
1229 "%u\n", fcx_max_data, lpm, in verify_fcx_max_data()
1241 __u8 lpm, opm = dasd_path_get_opm(device); in rebuild_device_uid() local
1244 for (lpm = 0x80; lpm; lpm >>= 1) { in rebuild_device_uid()
1245 if (!(lpm & opm)) in rebuild_device_uid()
1252 lpm); in rebuild_device_uid()
1280 __u8 lpm, opm, npm, ppm, epm, hpfpm, cablepm; in dasd_eckd_path_available_action() local
1294 for (lpm = 0x80; lpm; lpm >>= 1) { in dasd_eckd_path_available_action()
1295 if (!(lpm & data->tbvpm)) in dasd_eckd_path_available_action()
1302 lpm); in dasd_eckd_path_available_action()
1308 npm |= lpm; in dasd_eckd_path_available_action()
1311 ppm |= lpm; in dasd_eckd_path_available_action()
1314 opm |= lpm; in dasd_eckd_path_available_action()
1319 opm |= lpm; in dasd_eckd_path_available_action()
1324 epm |= lpm; in dasd_eckd_path_available_action()
1328 "(rc=%d) for new path %x\n", rc, lpm); in dasd_eckd_path_available_action()
1331 if (verify_fcx_max_data(device, lpm)) { in dasd_eckd_path_available_action()
1332 opm &= ~lpm; in dasd_eckd_path_available_action()
1333 npm &= ~lpm; in dasd_eckd_path_available_action()
1334 ppm &= ~lpm; in dasd_eckd_path_available_action()
1335 hpfpm |= lpm; in dasd_eckd_path_available_action()
1381 lpm, print_uid); in dasd_eckd_path_available_action()
1382 opm &= ~lpm; in dasd_eckd_path_available_action()
1383 npm &= ~lpm; in dasd_eckd_path_available_action()
1384 ppm &= ~lpm; in dasd_eckd_path_available_action()
1385 cablepm |= lpm; in dasd_eckd_path_available_action()
1401 epm |= lpm; in dasd_eckd_path_available_action()
1403 pos = pathmask_to_pos(lpm); in dasd_eckd_path_available_action()
3553 cqr->lpm = dasd_path_get_opm(cqr->block->base); in dasd_eckd_handle_terminated_request()
4126 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_cmd_single()
4303 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_cmd_track()
4627 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_tpm_track()
4867 cqr->lpm = dasd_path_get_ppm(startdev); in dasd_eckd_build_cp_raw()
5239 cqr->lpm = usrparm.path_mask; in dasd_eckd_snid()
5243 if (!rc && usrparm.path_mask && (cqr->lpm != usrparm.path_mask)) in dasd_eckd_snid()
5876 cqr->lpm = lpum; in dasd_eckd_read_message_buffer()
5922 } else if (cqr->lpm) { in dasd_eckd_read_message_buffer()
5928 cqr->lpm = 0; in dasd_eckd_read_message_buffer()