Lines Matching refs:offs
55 u32 offs, int count);
57 u32 offs, int count);
61 u32 offs) \
64 type val = read##S (io_handle->addr + (unsigned long) offs); \
75 u32 offs, type val) \
78 write##S (val, io_handle->addr + (unsigned long) offs); \
89 u16 offs) \
91 asd_write_reg_word(asd_ha, ALTCIOADR, MnDDB_SITE + offs); \
101 u16 offs) in asd_ddbsite_read_byte() argument
103 if (offs & 1) in asd_ddbsite_read_byte()
105 offs & ~1) >> 8; in asd_ddbsite_read_byte()
108 offs) & 0xFF; in asd_ddbsite_read_byte()
115 u16 offs, type val) \
117 asd_write_reg_word(asd_ha, ALTCIOADR, MnDDB_SITE + offs); \
127 u16 offs, u8 val) in asd_ddbsite_write_byte() argument
129 u16 base = offs & ~1; in asd_ddbsite_write_byte()
131 if (offs & 1) in asd_ddbsite_write_byte()
142 u16 offs) \
144 asd_write_reg_word(asd_ha, ALTCIOADR, MnSCB_SITE + offs); \
154 u16 offs) in asd_scbsite_read_byte() argument
156 if (offs & 1) in asd_scbsite_read_byte()
158 offs & ~1) >> 8; in asd_scbsite_read_byte()
161 offs) & 0xFF; in asd_scbsite_read_byte()
168 u16 offs, type val) \
170 asd_write_reg_word(asd_ha, ALTCIOADR, MnSCB_SITE + offs); \
180 u16 offs, u8 val) in asd_scbsite_write_byte() argument
182 u16 base = offs & ~1; in asd_scbsite_write_byte()
184 if (offs & 1) in asd_scbsite_write_byte()
207 u16 ddb_site_no, u16 offs, in asd_ddbsite_update_word() argument
211 u16 oval = asd_ddbsite_read_word(asd_ha, ddb_site_no, offs); in asd_ddbsite_update_word()
228 u16 ddb_site_no, u16 offs, in asd_ddbsite_update_byte() argument
231 u16 base = offs & ~1; in asd_ddbsite_update_byte()
234 if (offs & 1) { in asd_ddbsite_update_byte()