Lines Matching refs:ccwp
799 ccw1_t *ccwp; in c7000_bld_senseid_chpgm() local
801 ccwp = &cup->ccws[0]; in c7000_bld_senseid_chpgm()
802 ccwp->cmd_code = C7000_SID_CCW; in c7000_bld_senseid_chpgm()
803 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_senseid_chpgm()
804 ccwp->cda = (__u32)virt_to_phys(&cup->senseid); in c7000_bld_senseid_chpgm()
805 ccwp->count = SIDL; in c7000_bld_senseid_chpgm()
806 ccwp++; in c7000_bld_senseid_chpgm()
807 ccwp->cmd_code = C7000_NOOP_CCW; in c7000_bld_senseid_chpgm()
808 ccwp->flags = CCW_FLAG_SLI; in c7000_bld_senseid_chpgm()
809 ccwp->cda = (__u32)NULL; in c7000_bld_senseid_chpgm()
810 ccwp->count = 1; in c7000_bld_senseid_chpgm()
821 ccw1_t *ccwp; in c7000_bld_wrtctl_chpgm() local
823 ccwp = &cup->ccws[0]; in c7000_bld_wrtctl_chpgm()
824 ccwp->cmd_code = C7000_WRITE_CCW; in c7000_bld_wrtctl_chpgm()
825 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_wrtctl_chpgm()
826 ccwp->cda = (__u32)virt_to_phys(&cup->control_blk); in c7000_bld_wrtctl_chpgm()
827 ccwp->count = sizeof(struct c7000_control_blk); in c7000_bld_wrtctl_chpgm()
828 ccwp++; in c7000_bld_wrtctl_chpgm()
829 ccwp->cmd_code = C7000_READFF_CCW; in c7000_bld_wrtctl_chpgm()
830 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_wrtctl_chpgm()
831 ccwp->cda = (__u32)virt_to_phys(&cup->readff); in c7000_bld_wrtctl_chpgm()
832 ccwp->count = C7000_READFFL; in c7000_bld_wrtctl_chpgm()
833 ccwp++; in c7000_bld_wrtctl_chpgm()
834 ccwp->cmd_code = C7000_TIC_CCW; in c7000_bld_wrtctl_chpgm()
835 ccwp->flags = 0; in c7000_bld_wrtctl_chpgm()
836 ccwp->cda = (__u32)virt_to_phys(ccwp + 1); in c7000_bld_wrtctl_chpgm()
837 ccwp->count = 0; in c7000_bld_wrtctl_chpgm()
838 ccwp++; in c7000_bld_wrtctl_chpgm()
839 ccwp->cmd_code = C7000_NOOP_CCW; in c7000_bld_wrtctl_chpgm()
840 ccwp->flags = CCW_FLAG_SLI; in c7000_bld_wrtctl_chpgm()
841 ccwp->cda = (__u32)NULL; in c7000_bld_wrtctl_chpgm()
842 ccwp->count = 1; in c7000_bld_wrtctl_chpgm()
853 ccw1_t *ccwp; in c7000_bld_wrt_chpgm() local
856 ccwp = &buf->ccws[0]; in c7000_bld_wrt_chpgm()
857 ccwp->cmd_code = C7000_WRITE_CCW | (ccp->linkid << 3); in c7000_bld_wrt_chpgm()
858 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_wrt_chpgm()
859 ccwp->cda = (__u32)virt_to_phys(buf->data); in c7000_bld_wrt_chpgm()
860 ccwp->count = buf->len; in c7000_bld_wrt_chpgm()
861 ccwp++; in c7000_bld_wrt_chpgm()
862 ccwp->cmd_code = C7000_READFF_CCW; in c7000_bld_wrt_chpgm()
863 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_wrt_chpgm()
864 ccwp->cda = (__u32)virt_to_phys(buf->data + C7000_DATAL + C7000_READHDRL); in c7000_bld_wrt_chpgm()
865 ccwp->count = C7000_READFFL; in c7000_bld_wrt_chpgm()
866 ccwp++; in c7000_bld_wrt_chpgm()
867 ccwp->cmd_code = C7000_TIC_CCW; in c7000_bld_wrt_chpgm()
868 ccwp->flags = 0; in c7000_bld_wrt_chpgm()
869 ccwp->cda = (__u32)virt_to_phys(ccwp + 1); in c7000_bld_wrt_chpgm()
870 ccwp->count = 0; in c7000_bld_wrt_chpgm()
871 ccwp++; in c7000_bld_wrt_chpgm()
872 ccwp->cmd_code = C7000_NOOP_CCW; in c7000_bld_wrt_chpgm()
873 ccwp->flags = (CCW_FLAG_SLI); in c7000_bld_wrt_chpgm()
874 ccwp->cda = (__u32)NULL; in c7000_bld_wrt_chpgm()
875 ccwp->count = 1; in c7000_bld_wrt_chpgm()
886 ccw1_t *ccwp; in c7000_bld_readctl_chpgm() local
888 ccwp = &cup->ccws[0]; in c7000_bld_readctl_chpgm()
889 ccwp->cmd_code = C7000_READ_CCW; in c7000_bld_readctl_chpgm()
890 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_readctl_chpgm()
891 ccwp->cda = (__u32)virt_to_phys(&cup->control_blk); in c7000_bld_readctl_chpgm()
892 ccwp->count = sizeof(struct c7000_control_blk); in c7000_bld_readctl_chpgm()
893 ccwp++; in c7000_bld_readctl_chpgm()
894 ccwp->cmd_code = C7000_READHDR_CCW; in c7000_bld_readctl_chpgm()
895 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_readctl_chpgm()
896 ccwp->cda = (__u32)virt_to_phys(&cup->readhdr); in c7000_bld_readctl_chpgm()
897 ccwp->count = C7000_READHDRL; in c7000_bld_readctl_chpgm()
898 ccwp++; in c7000_bld_readctl_chpgm()
899 ccwp->cmd_code = C7000_SIGSMOD_CCW; in c7000_bld_readctl_chpgm()
900 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_readctl_chpgm()
901 ccwp->cda = (__u32)virt_to_phys(&cup->sigsmod); in c7000_bld_readctl_chpgm()
902 ccwp->count = C7000_SIGSMODL; in c7000_bld_readctl_chpgm()
903 ccwp++; in c7000_bld_readctl_chpgm()
904 ccwp->cmd_code = C7000_TIC_CCW; in c7000_bld_readctl_chpgm()
905 ccwp->flags = 0; in c7000_bld_readctl_chpgm()
906 ccwp->cda = (__u32)virt_to_phys(ccwp + 1); in c7000_bld_readctl_chpgm()
907 ccwp->count = 0; in c7000_bld_readctl_chpgm()
908 ccwp++; in c7000_bld_readctl_chpgm()
909 ccwp->cmd_code = C7000_NOOP_CCW; in c7000_bld_readctl_chpgm()
910 ccwp->flags = (CCW_FLAG_SLI); in c7000_bld_readctl_chpgm()
911 ccwp->cda = (__u32)NULL; in c7000_bld_readctl_chpgm()
912 ccwp->count = 1; in c7000_bld_readctl_chpgm()
923 ccw1_t *ccwp; in c7000_bld_read_chpgm() local
925 ccwp = &buf->ccws[0]; in c7000_bld_read_chpgm()
926 ccwp->cmd_code = C7000_READ_CCW; in c7000_bld_read_chpgm()
927 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_read_chpgm()
928 ccwp->cda = (__u32)virt_to_phys(buf->data); in c7000_bld_read_chpgm()
929 ccwp->count = C7000_DATAL; in c7000_bld_read_chpgm()
930 ccwp++; in c7000_bld_read_chpgm()
931 ccwp->cmd_code = C7000_READHDR_CCW; in c7000_bld_read_chpgm()
932 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_read_chpgm()
933 ccwp->cda = (__u32)virt_to_phys(buf->data + C7000_DATAL); in c7000_bld_read_chpgm()
934 ccwp->count = C7000_READHDRL; in c7000_bld_read_chpgm()
935 ccwp++; in c7000_bld_read_chpgm()
936 ccwp->cmd_code = C7000_SIGSMOD_CCW; in c7000_bld_read_chpgm()
937 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC); in c7000_bld_read_chpgm()
938 ccwp->cda = (__u32)virt_to_phys(&cup->sigsmod); in c7000_bld_read_chpgm()
939 ccwp->count = C7000_SIGSMODL; in c7000_bld_read_chpgm()
940 ccwp++; in c7000_bld_read_chpgm()
941 ccwp->cmd_code = C7000_TIC_CCW; in c7000_bld_read_chpgm()
942 ccwp->flags = 0; in c7000_bld_read_chpgm()
943 ccwp->cda = (__u32)virt_to_phys(ccwp + 3); in c7000_bld_read_chpgm()
944 ccwp->count = 0; in c7000_bld_read_chpgm()
945 ccwp++; in c7000_bld_read_chpgm()
946 ccwp->cmd_code = C7000_READFF_CCW; in c7000_bld_read_chpgm()
947 ccwp->flags = (CCW_FLAG_SLI | CCW_FLAG_CC | CCW_FLAG_PCI); in c7000_bld_read_chpgm()
948 ccwp->cda = (__u32)virt_to_phys(&cup->readff); in c7000_bld_read_chpgm()
949 ccwp->count = C7000_READFFL; in c7000_bld_read_chpgm()
950 ccwp++; in c7000_bld_read_chpgm()
951 ccwp->cmd_code = C7000_TIC_CCW; in c7000_bld_read_chpgm()
952 ccwp->flags = 0; in c7000_bld_read_chpgm()
953 ccwp->cda = (__u32)virt_to_phys(ccwp + 1); in c7000_bld_read_chpgm()
954 ccwp->count = 0; in c7000_bld_read_chpgm()
955 ccwp++; in c7000_bld_read_chpgm()
956 ccwp->cmd_code = C7000_NOOP_CCW; in c7000_bld_read_chpgm()
957 ccwp->flags = (CCW_FLAG_SLI); in c7000_bld_read_chpgm()
958 ccwp->cda = (__u32)NULL; in c7000_bld_read_chpgm()
959 ccwp->count = 1; in c7000_bld_read_chpgm()
2410 ccw1_t *ccwp; in c7000_retry_io() local
2422 ccwp = &cup->proc_head->ccws[0]; in c7000_retry_io()
2424 ccwp = &cup->ccws[0]; in c7000_retry_io()
2426 if ((rc = do_IO(cup->irq, ccwp, parm, 0xff, flags)) != 0) { in c7000_retry_io()