Searched refs:strbuf (Results 1 – 6 of 6) sorted by relevance
269 struct strbuf *strbuf; in dma_4u_map_page() local277 strbuf = dev->archdata.stc; in dma_4u_map_page()300 if (strbuf->strbuf_enabled) in dma_4u_map_page()320 static void strbuf_flush(struct strbuf *strbuf, struct iommu *iommu, in strbuf_flush() argument368 STC_FLUSHFLAG_INIT(strbuf); in strbuf_flush()369 iommu_write(strbuf->strbuf_fsync, strbuf->strbuf_flushflag_pa); in strbuf_flush()391 struct strbuf *strbuf; in dma_4u_unmap_page() local442 struct strbuf *strbuf; in dma_4u_map_sg() local611 struct strbuf *strbuf; in dma_4u_unmap_sg() local662 struct strbuf *strbuf; in dma_4u_sync_single_for_cpu() local[all …]
546 struct strbuf *strbuf; in sbus_iommu_init() local560 strbuf = kzalloc(sizeof(*strbuf), GFP_ATOMIC); in sbus_iommu_init()561 if (!iommu || !strbuf) in sbus_iommu_init()565 op->dev.archdata.stc = strbuf; in sbus_iommu_init()580 strbuf->strbuf_enabled = 1; in sbus_iommu_init()586 strbuf->strbuf_flushflag_pa = (unsigned long) in sbus_iommu_init()587 __pa(strbuf->strbuf_flushflag); in sbus_iommu_init()630 upa_writeq(control, strbuf->strbuf_control); in sbus_iommu_init()636 ptag = strbuf->strbuf_control + in sbus_iommu_init()638 ltag = strbuf->strbuf_control + in sbus_iommu_init()[all …]
39 struct strbuf *strbuf = &pbm->stc; in psycho_check_stc_error() local43 if (!strbuf->strbuf_control) in psycho_check_stc_error()46 err_base = strbuf->strbuf_err_stat; in psycho_check_stc_error()47 tag_base = strbuf->strbuf_tag_diag; in psycho_check_stc_error()48 line_base = strbuf->strbuf_line_diag; in psycho_check_stc_error()60 control = upa_readq(strbuf->strbuf_control); in psycho_check_stc_error()61 upa_writeq(control | PSYCHO_STRBUF_CTRL_DENAB, strbuf->strbuf_control); in psycho_check_stc_error()77 upa_writeq(control, strbuf->strbuf_control); in psycho_check_stc_error()
147 struct strbuf stc;
134 struct strbuf *strbuf = &pbm->stc; in __schizo_check_stc_error_pbm() local155 control = upa_readq(strbuf->strbuf_control); in __schizo_check_stc_error_pbm()157 strbuf->strbuf_control); in __schizo_check_stc_error_pbm()173 upa_writeq(control, strbuf->strbuf_control); in __schizo_check_stc_error_pbm()
74 struct strbuf { struct
Completed in 806 milliseconds