Lines Matching refs:dev
26 * $FreeBSD: releng/11.0/sys/dev/ppbus/ppbio.h 55939 2000-01-14 00:18:06Z nsouch $
37 #define ppb_outsb_epp(dev,buf,cnt) \
38 (PPBUS_IO(device_get_parent(dev), PPB_OUTSB_EPP, buf, cnt, 0))
39 #define ppb_outsw_epp(dev,buf,cnt) \
40 (PPBUS_IO(device_get_parent(dev), PPB_OUTSW_EPP, buf, cnt, 0))
41 #define ppb_outsl_epp(dev,buf,cnt) \
42 (PPBUS_IO(device_get_parent(dev), PPB_OUTSL_EPP, buf, cnt, 0))
44 #define ppb_insb_epp(dev,buf,cnt) \
45 (PPBUS_IO(device_get_parent(dev), PPB_INSB_EPP, buf, cnt, 0))
46 #define ppb_insw_epp(dev,buf,cnt) \
47 (PPBUS_IO(device_get_parent(dev), PPB_INSW_EPP, buf, cnt, 0))
48 #define ppb_insl_epp(dev,buf,cnt) \
49 (PPBUS_IO(device_get_parent(dev), PPB_INSL_EPP, buf, cnt, 0))
51 #define ppb_repp_A(dev) \
52 (PPBUS_IO(device_get_parent(dev), PPB_REPP_A, 0, 0, 0))
53 #define ppb_repp_D(dev) \
54 (PPBUS_IO(device_get_parent(dev), PPB_REPP_D, 0, 0, 0))
55 #define ppb_recr(dev) \
56 (PPBUS_IO(device_get_parent(dev), PPB_RECR, 0, 0, 0))
57 #define ppb_rfifo(dev) \
58 (PPBUS_IO(device_get_parent(dev), PPB_RFIFO, 0, 0, 0))
60 #define ppb_wepp_A(dev,byte) \
61 (PPBUS_IO(device_get_parent(dev), PPB_WEPP_A, 0, 0, byte))
62 #define ppb_wepp_D(dev,byte) \
63 (PPBUS_IO(device_get_parent(dev), PPB_WEPP_D, 0, 0, byte))
64 #define ppb_wecr(dev,byte) \
65 (PPBUS_IO(device_get_parent(dev), PPB_WECR, 0, 0, byte))
66 #define ppb_wfifo(dev,byte) \
67 (PPBUS_IO(device_get_parent(dev), PPB_WFIFO, 0, 0, byte))
69 #define ppb_rdtr(dev) \
70 (PPBUS_IO(device_get_parent(dev), PPB_RDTR, 0, 0, 0))
71 #define ppb_rstr(dev) \
72 (PPBUS_IO(device_get_parent(dev), PPB_RSTR, 0, 0, 0))
73 #define ppb_rctr(dev) \
74 (PPBUS_IO(device_get_parent(dev), PPB_RCTR, 0, 0, 0))
76 #define ppb_wdtr(dev,byte) \
77 (PPBUS_IO(device_get_parent(dev), PPB_WDTR, 0, 0, byte))
78 #define ppb_wstr(dev,byte) \
79 (PPBUS_IO(device_get_parent(dev), PPB_WSTR, 0, 0, byte))
80 #define ppb_wctr(dev,byte) \
81 (PPBUS_IO(device_get_parent(dev), PPB_WCTR, 0, 0, byte))