Lines Matching defs:atp_writeb_io
58 static inline void atp_writeb_io(struct atp_unit *atp, u8 channel, u8 reg, u8 val)
149 atp_writeb_io(dev, c, 0x16,
221 atp_writeb_io(dev, c, 0x1b, 0x01);
223 atp_writeb_io(dev, c, 0x1b, 0x01);
269 atp_writeb_io(dev, c, 0x10, 0x41);
270 atp_writeb_io(dev, c, 0x18, 0x08);
309 atp_writeb_io(dev, c, 0x18, 0x08);
316 atp_writeb_io(dev, c, 0x10, 0x46);
318 atp_writeb_io(dev, c, 0x12, 0x00);
319 atp_writeb_io(dev, c, 0x13, 0x00);
320 atp_writeb_io(dev, c, 0x14, 0x00);
321 atp_writeb_io(dev, c, 0x18, 0x08);
333 atp_writeb_io(dev, c, 0x10, 0x45);
345 atp_writeb_io(dev, c, 0x10, 0x45);
354 atp_writeb_io(dev, c, 0x0f, lun);
355 atp_writeb_io(dev, c, 0x11, dev->id[c][target_id].devsp);
359 atp_writeb_io(dev, c, 0x12, ((unsigned char *) &k)[2]);
360 atp_writeb_io(dev, c, 0x13, ((unsigned char *) &k)[1]);
361 atp_writeb_io(dev, c, 0x14, ((unsigned char *) &k)[0]);
375 atp_writeb_io(dev, c, 0x15, j);
376 atp_writeb_io(dev, c, 0x16, 0x80);
419 atp_writeb_io(dev, c, 0x1b, j);
421 atp_writeb_io(dev, c, 0x1b, j);
423 atp_writeb_io(dev, c, 0x18, 0x08);
469 atp_writeb_io(dev, c, 0x18, 0x08);
477 atp_writeb_io(dev, c, 0x18, 0x08);
529 atp_writeb_io(dev, c, 0x1b, 0x01);
531 atp_writeb_io(dev, c, 0x1b, 0x01);
560 atp_writeb_io(dev, c, 0x10, 0x41);
563 atp_writeb_io(dev, c, 0x12,
565 atp_writeb_io(dev, c, 0x13,
567 atp_writeb_io(dev, c, 0x14,
573 atp_writeb_io(dev, c, 0x18, 0x08);
582 atp_writeb_io(dev, c, 0x10, 0x41);
585 atp_writeb_io(dev, c, 0x12,
587 atp_writeb_io(dev, c, 0x13,
589 atp_writeb_io(dev, c, 0x14,
592 atp_writeb_io(dev, c, 0x15,
595 atp_writeb_io(dev, c, 0x18, 0x08);
601 atp_writeb_io(dev, c, 0x10, 0x30);
603 atp_writeb_io(dev, c, 0x10, 0x46);
605 atp_writeb_io(dev, c, 0x12, 0x00);
606 atp_writeb_io(dev, c, 0x13, 0x00);
607 atp_writeb_io(dev, c, 0x14, 0x00);
608 atp_writeb_io(dev, c, 0x18, 0x08);
805 atp_writeb_io(dev, c, 0x1b, j);
816 atp_writeb_io(dev, c, 0x00, workreq->cmd_len);
817 atp_writeb_io(dev, c, 0x01, 0x2c);
819 atp_writeb_io(dev, c, 0x02, 0x7f);
821 atp_writeb_io(dev, c, 0x02, 0xcf);
823 atp_writeb_io(dev, c, 0x03 + i, workreq->cmnd[i]);
824 atp_writeb_io(dev, c, 0x0f, workreq->device->lun);
828 atp_writeb_io(dev, c, 0x11, dev->id[c][target_id].devsp);
838 atp_writeb_io(dev, c, 0x12, ((unsigned char *) (&l))[2]);
839 atp_writeb_io(dev, c, 0x13, ((unsigned char *) (&l))[1]);
840 atp_writeb_io(dev, c, 0x14, ((unsigned char *) (&l))[0]);
857 atp_writeb_io(dev, c, 0x15, j | 0x20);
859 atp_writeb_io(dev, c, 0x15, j);
860 atp_writeb_io(dev, c, 0x16, atp_readb_io(dev, c, 0x16) | 0x80);
861 atp_writeb_io(dev, c, 0x16, 0x80);
868 atp_writeb_io(dev, c, 0x18, 0x08);
956 atp_writeb_io(dev, c, 0x18, 0x08);
968 atp_writeb_io(dev, c, 0x18, 0x08);
1033 atp_writeb_io(dev, 0, 1, 0x08);
1034 atp_writeb_io(dev, 0, 2, 0x7f);
1035 atp_writeb_io(dev, 0, 0x11, 0x20);
1048 atp_writeb_io(dev, 0, 0x02, 0x02); /* 2*2=4ms,3EH 2/32*3E=3.9ms */
1049 atp_writeb_io(dev, 0, 0x03, 0);
1050 atp_writeb_io(dev, 0, 0x04, 0);
1051 atp_writeb_io(dev, 0, 0x05, 0);
1052 atp_writeb_io(dev, 0, 0x06, 0);
1053 atp_writeb_io(dev, 0, 0x07, 0);
1054 atp_writeb_io(dev, 0, 0x08, 0);
1062 atp_writeb_io(dev, 0, 0x0f, 0);
1063 atp_writeb_io(dev, 0, 0x12, 0);
1064 atp_writeb_io(dev, 0, 0x13, 0);
1065 atp_writeb_io(dev, 0, 0x14, 0);
1071 atp_writeb_io(dev, 0, 0x15, k);
1073 atp_writeb_io(dev, 0, 0x1b, 0x01);
1075 atp_writeb_io(dev, 0, 0x1b, 0x00);
1077 atp_writeb_io(dev, 0, 0x18, 0x09);
1085 atp_writeb_io(dev, 0, 0x10, 0x41);
1092 atp_writeb_io(dev, 0, 0x02, 0x7f);
1093 atp_writeb_io(dev, 0, 0x1b, 0x02);
1141 atp_writeb_io(dev, 0, 0x1b, 0);
1142 atp_writeb_io(dev, 0, 0x15, 0);
1143 atp_writeb_io(dev, 0, 0x18, 0x09);
1295 atp_writeb_io(atp, c, 0, host_id | 0x08);
1296 atp_writeb_io(atp, c, 0x18, 0);
1300 atp_writeb_io(atp, c, 1, 8);
1301 atp_writeb_io(atp, c, 2, 0x7f);
1302 atp_writeb_io(atp, c, 0x11, 0x20);
1537 atp_writeb_io(atpdev, 0, 0x16, 0x80);
1540 atp_writeb_io(atpdev, 1, 0x16, 0x80);
1797 atp_writeb_io(dev, c, 0x1b, wide_chip ? 0x01 : 0x00);
1798 atp_writeb_io(dev, c, 1, 0x08);
1799 atp_writeb_io(dev, c, 2, 0x7f);
1800 atp_writeb_io(dev, c, 3, satn[0]);
1801 atp_writeb_io(dev, c, 4, satn[1]);
1802 atp_writeb_io(dev, c, 5, satn[2]);
1803 atp_writeb_io(dev, c, 6, satn[3]);
1804 atp_writeb_io(dev, c, 7, satn[4]);
1805 atp_writeb_io(dev, c, 8, satn[5]);
1806 atp_writeb_io(dev, c, 0x0f, 0);
1807 atp_writeb_io(dev, c, 0x11, dev->id[c][i].devsp);
1808 atp_writeb_io(dev, c, 0x12, 0);
1809 atp_writeb_io(dev, c, 0x13, satn[6]);
1810 atp_writeb_io(dev, c, 0x14, satn[7]);
1815 atp_writeb_io(dev, c, 0x15, j);
1816 atp_writeb_io(dev, c, 0x18, satn[8]);
1829 atp_writeb_io(dev, c, 0x10, 0x30);
1831 atp_writeb_io(dev, c, 0x14, 0x00);
1833 atp_writeb_io(dev, c, 0x04, 0x00);
1836 atp_writeb_io(dev, c, 0x18, 0x08);
1843 atp_writeb_io(dev, c, 0x10, 0x41);
1847 atp_writeb_io(dev, c, 3, inqd[0]);
1848 atp_writeb_io(dev, c, 4, inqd[1]);
1849 atp_writeb_io(dev, c, 5, inqd[2]);
1850 atp_writeb_io(dev, c, 6, inqd[3]);
1851 atp_writeb_io(dev, c, 7, inqd[4]);
1852 atp_writeb_io(dev, c, 8, inqd[5]);
1853 atp_writeb_io(dev, c, 0x0f, 0);
1854 atp_writeb_io(dev, c, 0x11, dev->id[c][i].devsp);
1855 atp_writeb_io(dev, c, 0x12, 0);
1856 atp_writeb_io(dev, c, 0x13, inqd[6]);
1857 atp_writeb_io(dev, c, 0x14, inqd[7]);
1858 atp_writeb_io(dev, c, 0x18, inqd[8]);
1870 atp_writeb_io(dev, c, 0x1b, 0x00);
1872 atp_writeb_io(dev, c, 0x18, 0x08);
1887 atp_writeb_io(dev, c, 0x10, 0x46);
1888 atp_writeb_io(dev, c, 0x12, 0);
1889 atp_writeb_io(dev, c, 0x13, 0);
1890 atp_writeb_io(dev, c, 0x14, 0);
1891 atp_writeb_io(dev, c, 0x18, 0x08);
1925 atp_writeb_io(dev, c, 0x1b, 0x01);
1926 atp_writeb_io(dev, c, 3, satn[0]);
1927 atp_writeb_io(dev, c, 4, satn[1]);
1928 atp_writeb_io(dev, c, 5, satn[2]);
1929 atp_writeb_io(dev, c, 6, satn[3]);
1930 atp_writeb_io(dev, c, 7, satn[4]);
1931 atp_writeb_io(dev, c, 8, satn[5]);
1932 atp_writeb_io(dev, c, 0x0f, 0);
1933 atp_writeb_io(dev, c, 0x11, dev->id[c][i].devsp);
1934 atp_writeb_io(dev, c, 0x12, 0);
1935 atp_writeb_io(dev, c, 0x13, satn[6]);
1936 atp_writeb_io(dev, c, 0x14, satn[7]);
1937 atp_writeb_io(dev, c, 0x18, satn[8]);
1950 atp_writeb_io(dev, c, 0x14, 0x09);
1951 atp_writeb_io(dev, c, 0x18, 0x20);
1955 atp_writeb_io(dev, c, 0x19, u3[j++]);
1974 atp_writeb_io(dev, c, 0x18, 0x20);
1977 atp_writeb_io(dev, c, 0x19, 0);
1992 atp_writeb_io(dev, c, 0x14, 0x09);
1993 atp_writeb_io(dev, c, 0x18, 0x20);
2016 atp_writeb_io(dev, c, 0x10, 0x30);
2017 atp_writeb_io(dev, c, 0x14, 0x00);
2018 atp_writeb_io(dev, c, 0x18, 0x08);
2050 atp_writeb_io(dev, c, 0x1b, 0x01);
2051 atp_writeb_io(dev, c, 3, satn[0]);
2052 atp_writeb_io(dev, c, 4, satn[1]);
2053 atp_writeb_io(dev, c, 5, satn[2]);
2054 atp_writeb_io(dev, c, 6, satn[3]);
2055 atp_writeb_io(dev, c, 7, satn[4]);
2056 atp_writeb_io(dev, c, 8, satn[5]);
2057 atp_writeb_io(dev, c, 0x0f, 0);
2058 atp_writeb_io(dev, c, 0x11, dev->id[c][i].devsp);
2059 atp_writeb_io(dev, c, 0x12, 0);
2060 atp_writeb_io(dev, c, 0x13, satn[6]);
2061 atp_writeb_io(dev, c, 0x14, satn[7]);
2062 atp_writeb_io(dev, c, 0x18, satn[8]);
2076 atp_writeb_io(dev, c, 0x14, 0x05);
2077 atp_writeb_io(dev, c, 0x18, 0x20);
2081 atp_writeb_io(dev, c, 0x19, wide[j++]);
2100 atp_writeb_io(dev, c, 0x18, 0x20);
2103 atp_writeb_io(dev, c, 0x19, 0);
2118 atp_writeb_io(dev, c, 0x14, 0xff);
2119 atp_writeb_io(dev, c, 0x18, 0x20);
2142 atp_writeb_io(dev, c, 0x10, 0x30);
2143 atp_writeb_io(dev, c, 0x14, 0x00);
2144 atp_writeb_io(dev, c, 0x18, 0x08);
2196 atp_writeb_io(dev, c, 0x1b, j);
2197 atp_writeb_io(dev, c, 3, satn[0]);
2198 atp_writeb_io(dev, c, 4, satn[1]);
2199 atp_writeb_io(dev, c, 5, satn[2]);
2200 atp_writeb_io(dev, c, 6, satn[3]);
2201 atp_writeb_io(dev, c, 7, satn[4]);
2202 atp_writeb_io(dev, c, 8, satn[5]);
2203 atp_writeb_io(dev, c, 0x0f, 0);
2204 atp_writeb_io(dev, c, 0x11, dev->id[c][i].devsp);
2205 atp_writeb_io(dev, c, 0x12, 0);
2206 atp_writeb_io(dev, c, 0x13, satn[6]);
2207 atp_writeb_io(dev, c, 0x14, satn[7]);
2208 atp_writeb_io(dev, c, 0x18, satn[8]);
2222 atp_writeb_io(dev, c, 0x14, 0x06);
2223 atp_writeb_io(dev, c, 0x18, 0x20);
2230 atp_writeb_io(dev, c, 0x19, synuw[j++]);
2232 atp_writeb_io(dev, c, 0x19, synw[j++]);
2235 atp_writeb_io(dev, c, 0x19, synw_870[j++]);
2238 atp_writeb_io(dev, c, 0x19, synu[j++]);
2240 atp_writeb_io(dev, c, 0x19, synn[j++]);
2261 atp_writeb_io(dev, c, 0x18, 0x20);
2264 atp_writeb_io(dev, c, 0x19, 0x00);
2284 atp_writeb_io(dev, c, 0x14, 0x06);
2286 atp_writeb_io(dev, c, 0x14, 0xff);
2287 atp_writeb_io(dev, c, 0x18, 0x20);
2317 atp_writeb_io(dev, c, 0x10, 0x30);
2319 atp_writeb_io(dev, c, 0x14, 0x00);
2320 atp_writeb_io(dev, c, 0x18, 0x08);