Lines Matching refs:p
2433 u8 *scsicmd = args->cmd->cmnd, *p = rbuf; in ata_scsiop_mode_sense() local
2465 p += 4 + (ebd ? 8 : 0); in ata_scsiop_mode_sense()
2467 p += 8 + (ebd ? 8 : 0); in ata_scsiop_mode_sense()
2494 p += ata_msense_rw_recovery(p, page_control == 1); in ata_scsiop_mode_sense()
2498 p += ata_msense_caching(args->id, p, page_control == 1); in ata_scsiop_mode_sense()
2502 p += ata_msense_control(args->dev, p, spg, page_control == 1); in ata_scsiop_mode_sense()
2506 p += ata_msense_rw_recovery(p, page_control == 1); in ata_scsiop_mode_sense()
2507 p += ata_msense_caching(args->id, p, page_control == 1); in ata_scsiop_mode_sense()
2508 p += ata_msense_control(args->dev, p, spg, page_control == 1); in ata_scsiop_mode_sense()
2520 rbuf[0] = p - rbuf - 1; in ata_scsiop_mode_sense()
2527 put_unaligned_be16(p - rbuf - 2, &rbuf[0]); in ata_scsiop_mode_sense()
3865 const u8 *p = buffer; in ata_scsi_mode_select_xlat() local
3906 bd_len = p[3]; in ata_scsi_mode_select_xlat()
3908 bd_len = get_unaligned_be16(&p[6]); in ata_scsi_mode_select_xlat()
3911 p += hdr_len; in ata_scsi_mode_select_xlat()
3921 p += bd_len; in ata_scsi_mode_select_xlat()
3926 pg = p[0] & 0x3f; in ata_scsi_mode_select_xlat()
3927 if (p[0] & 0x40) { in ata_scsi_mode_select_xlat()
3931 spg = p[1]; in ata_scsi_mode_select_xlat()
3932 pg_len = get_unaligned_be16(&p[2]); in ata_scsi_mode_select_xlat()
3933 p += 4; in ata_scsi_mode_select_xlat()
3940 pg_len = p[1]; in ata_scsi_mode_select_xlat()
3941 p += 2; in ata_scsi_mode_select_xlat()
3954 fp = (p[0] & 0x40) ? 1 : 0; in ata_scsi_mode_select_xlat()
3965 fp = (p[0] & 0x40) ? 1 : 0; in ata_scsi_mode_select_xlat()
3975 if (ata_mselect_caching(qc, p, pg_len, &fp) < 0) { in ata_scsi_mode_select_xlat()
3981 ret = ata_mselect_control(qc, spg, p, pg_len, &fp); in ata_scsi_mode_select_xlat()