• Home
  • Raw
  • Download

Lines Matching refs:_n

202 #define PRINT_REG_8bit(_ha, _n, _r) asd_printk(STR_8BIT, #_n, _n,      \  argument
204 #define PRINT_REG_16bit(_ha, _n, _r) asd_printk(STR_16BIT, #_n, _n, \ argument
206 #define PRINT_REG_32bit(_ha, _n, _r) asd_printk(STR_32BIT, #_n, _n, \ argument
209 #define PRINT_CREG_8bit(_ha, _n) asd_printk(STR_8BIT, #_n, _n, \ argument
210 asd_read_reg_byte(_ha, C##_n))
211 #define PRINT_CREG_16bit(_ha, _n) asd_printk(STR_16BIT, #_n, _n, \ argument
212 asd_read_reg_word(_ha, C##_n))
213 #define PRINT_CREG_32bit(_ha, _n) asd_printk(STR_32BIT, #_n, _n, \ argument
214 asd_read_reg_dword(_ha, C##_n))
220 #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \ argument
222 #define PRINT_MREG_16bit(_ha, _m, _n, _r) asd_printk(MSTR_16BIT, _m, #_n, _n, \ argument
224 #define PRINT_MREG_32bit(_ha, _m, _n, _r) asd_printk(MSTR_32BIT, _m, #_n, _n, \ argument
228 #define PRINT_MIS_byte(_ha, _n) asd_printk(STR_8BIT, #_n,CSEQ_##_n-CMAPPEDSCR,\ argument
229 asd_read_reg_byte(_ha, CSEQ_##_n))
230 #define PRINT_MIS_word(_ha, _n) asd_printk(STR_16BIT,#_n,CSEQ_##_n-CMAPPEDSCR,\ argument
231 asd_read_reg_word(_ha, CSEQ_##_n))
232 #define PRINT_MIS_dword(_ha, _n) \ argument
233 asd_printk(STR_32BIT,#_n,CSEQ_##_n-CMAPPEDSCR,\
234 asd_read_reg_dword(_ha, CSEQ_##_n))
235 #define PRINT_MIS_qword(_ha, _n) \ argument
236 asd_printk(STR_64BIT, #_n,CSEQ_##_n-CMAPPEDSCR, \
237 (unsigned long long)(((u64)asd_read_reg_dword(_ha, CSEQ_##_n)) \
238 | (((u64)asd_read_reg_dword(_ha, (CSEQ_##_n)+4))<<32)))
240 #define CMDP_REG(_n, _m) (_m*(CSEQ_PAGE_SIZE*2)+CSEQ_##_n) argument
241 #define PRINT_CMDP_word(_ha, _n) \ argument
243 #_n, \
244 asd_read_reg_word(_ha, CMDP_REG(_n, 0)), \
245 asd_read_reg_word(_ha, CMDP_REG(_n, 1)), \
246 asd_read_reg_word(_ha, CMDP_REG(_n, 2)), \
247 asd_read_reg_word(_ha, CMDP_REG(_n, 3)), \
248 asd_read_reg_word(_ha, CMDP_REG(_n, 4)), \
249 asd_read_reg_word(_ha, CMDP_REG(_n, 5)), \
250 asd_read_reg_word(_ha, CMDP_REG(_n, 6)), \
251 asd_read_reg_word(_ha, CMDP_REG(_n, 7)))
253 #define PRINT_CMDP_byte(_ha, _n) \ argument
255 #_n, \
256 asd_read_reg_byte(_ha, CMDP_REG(_n, 0)), \
257 asd_read_reg_byte(_ha, CMDP_REG(_n, 1)), \
258 asd_read_reg_byte(_ha, CMDP_REG(_n, 2)), \
259 asd_read_reg_byte(_ha, CMDP_REG(_n, 3)), \
260 asd_read_reg_byte(_ha, CMDP_REG(_n, 4)), \
261 asd_read_reg_byte(_ha, CMDP_REG(_n, 5)), \
262 asd_read_reg_byte(_ha, CMDP_REG(_n, 6)), \
263 asd_read_reg_byte(_ha, CMDP_REG(_n, 7)))
423 #define PRINT_LREG_8bit(_h, _lseq, _n) \ argument
424 asd_printk(STR_8BIT, #_n, _n, asd_read_reg_byte(_h, Lm##_n(_lseq)))
425 #define PRINT_LREG_16bit(_h, _lseq, _n) \ argument
426 asd_printk(STR_16BIT, #_n, _n, asd_read_reg_word(_h, Lm##_n(_lseq)))
427 #define PRINT_LREG_32bit(_h, _lseq, _n) \ argument
428 asd_printk(STR_32BIT, #_n, _n, asd_read_reg_dword(_h, Lm##_n(_lseq)))
430 #define PRINT_LMIP_byte(_h, _lseq, _n) \ argument
431 asd_printk(STR_8BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \
432 asd_read_reg_byte(_h, LmSEQ_##_n(_lseq)))
433 #define PRINT_LMIP_word(_h, _lseq, _n) \ argument
434 asd_printk(STR_16BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \
435 asd_read_reg_word(_h, LmSEQ_##_n(_lseq)))
436 #define PRINT_LMIP_dword(_h, _lseq, _n) \ argument
437 asd_printk(STR_32BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \
438 asd_read_reg_dword(_h, LmSEQ_##_n(_lseq)))
439 #define PRINT_LMIP_qword(_h, _lseq, _n) \ argument
440 asd_printk(STR_64BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \
442 asd_read_reg_dword(_h, LmSEQ_##_n(_lseq))) \
444 asd_read_reg_dword(_h, LmSEQ_##_n(_lseq)+4))<<32)))