Lines Matching refs:bytes

430 		size_t bytes;  in flush_iotlb_page()  local
436 bytes = iopgsz_to_bytes(cr.cam & 3); in flush_iotlb_page()
438 if ((start <= da) && (da < start + bytes)) { in flush_iotlb_page()
440 __func__, start, da, bytes); in flush_iotlb_page()
475 ssize_t bytes; \
478 bytes = snprintf(p, maxcol, str, __stringify(name), \
480 p += bytes; \
481 len -= bytes; \
511 ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t bytes) in omap_iommu_dump_ctx() argument
518 bytes = omap2_iommu_dump_ctx(obj, buf, bytes); in omap_iommu_dump_ctx()
522 return bytes; in omap_iommu_dump_ctx()
571 size_t omap_dump_tlb_entries(struct omap_iommu *obj, char *buf, ssize_t bytes) in omap_dump_tlb_entries() argument
577 num = bytes / sizeof(*cr); in omap_dump_tlb_entries()
812 size_t bytes; in iopgtable_clear_entry_core() local
823 bytes = IOPTE_SIZE; in iopgtable_clear_entry_core()
829 bytes *= nent; in iopgtable_clear_entry_core()
844 bytes = IOPGD_SIZE; in iopgtable_clear_entry_core()
850 bytes *= nent; in iopgtable_clear_entry_core()
855 return bytes; in iopgtable_clear_entry_core()
865 size_t bytes; in iopgtable_clear_entry() local
869 bytes = iopgtable_clear_entry_core(obj, da); in iopgtable_clear_entry()
874 return bytes; in iopgtable_clear_entry()
1124 phys_addr_t pa, size_t bytes, int prot) in omap_iommu_map() argument
1133 omap_pgsz = bytes_to_iopgsz(bytes); in omap_iommu_map()
1135 dev_err(dev, "invalid size to map: %d\n", bytes); in omap_iommu_map()
1139 dev_dbg(dev, "mapping da 0x%lx to pa %pa size 0x%x\n", da, &pa, bytes); in omap_iommu_map()