Lines Matching refs:platform_data
745 spin_lock_init(&ahd->platform_data->spin_lock); in ahd_lockinit()
751 spin_lock_irqsave(&ahd->platform_data->spin_lock, *flags); in ahd_lock()
757 spin_unlock_irqrestore(&ahd->platform_data->spin_lock, *flags); in ahd_unlock()
772 spin_lock(&ahd->platform_data->spin_lock); in ahd_midlayer_entrypoint_lock()
780 spin_unlock(&ahd->platform_data->spin_lock); in ahd_midlayer_entrypoint_unlock()
1019 ((((ahd)->platform_data->flags & AHD_DV_ACTIVE) != 0) \
1020 && (ahd)->platform_data->qfrozen == 1)
1109 return (scb->platform_data->xfer_len); in ahd_get_transfer_length()
1142 scb->platform_data->resid = resid; in ahd_set_residual()
1149 scb->platform_data->sense_resid = resid; in ahd_set_sense_residual()
1158 return (scb->platform_data->resid); in ahd_get_residual()
1165 return (scb->platform_data->sense_resid); in ahd_get_sense_residual()
1210 scb->platform_data->dev->qfrozen++; in ahd_freeze_scb()