Lines Matching defs:osh
79 #define DMA_LOCK(osh) osl_dma_lock(osh) argument
80 #define DMA_UNLOCK(osh) osl_dma_unlock(osh) argument
81 #define DMA_LOCK_INIT(osh) osl_dma_lock_init(osh); argument
83 #define DMA_LOCK(osh) do { /* noop */ } while(0) argument
84 #define DMA_UNLOCK(osh) do { /* noop */ } while(0) argument
85 #define DMA_LOCK_INIT(osh) do { /* noop */ } while(0) argument
193 osl_dma_map_dump(osl_t *osh) in osl_dma_map_dump()
236 osl_dma_map_log_deinit(osl_t *osh) in osl_dma_map_log_deinit()
250 osl_dma_map_logging(osl_t *osh, void *handle, dmaaddr_t pa, uint32 len) in osl_dma_map_logging()
291 osl_t *osh; in osl_attach() local
380 void osl_set_bus_handle(osl_t *osh, void *bus_handle) in osl_set_bus_handle()
385 void* osl_get_bus_handle(osl_t *osh) in osl_get_bus_handle()
391 void osl_set_bpt_cb(osl_t *osh, void *bpt_cb, void *bpt_ctx) in osl_set_bpt_cb()
401 osl_detach(osl_t *osh) in osl_detach()
440 osl_flag_clr(osl_t *osh, uint32 mask) in osl_flag_clr()
446 osl_is_flag_set(osl_t *osh, uint32 mask) in osl_is_flag_set()
476 osl_pci_read_config(osl_t *osh, uint offset, uint size) in osl_pci_read_config()
502 osl_pci_write_config(osl_t *osh, uint offset, uint size, uint val) in osl_pci_write_config()
532 osl_pci_bus(osl_t *osh) in osl_pci_bus()
545 osl_pci_slot(osl_t *osh) in osl_pci_slot()
558 osl_pcie_domain(osl_t *osh) in osl_pcie_domain()
567 osl_pcie_bus(osl_t *osh) in osl_pcie_bus()
576 osl_pci_device(osl_t *osh) in osl_pci_device()
594 osl_malloc(osl_t *osh, uint size) in osl_malloc()
651 osl_mallocz(osl_t *osh, uint size) in osl_mallocz()
675 osl_mfree(osl_t *osh, void *addr, uint size) in osl_mfree()
725 osl_vmalloc(osl_t *osh, uint size) in osl_vmalloc()
745 osl_vmallocz(osl_t *osh, uint size) in osl_vmallocz()
769 osl_vmfree(osl_t *osh, void *addr, uint size) in osl_vmfree()
782 osl_check_memleak(osl_t *osh) in osl_check_memleak()
792 osl_malloced(osl_t *osh) in osl_malloced()
799 osl_malloc_failed(osl_t *osh) in osl_malloc_failed()
807 osl_debug_malloc(osl_t *osh, uint size, int line, const char* file) in osl_debug_malloc()
853 osl_debug_mallocz(osl_t *osh, uint size, int line, const char* file) in osl_debug_mallocz()
867 osl_debug_mfree(osl_t *osh, void *addr, uint size, int line, const char* file) in osl_debug_mfree()
926 osl_debug_vmalloc(osl_t *osh, uint size, int line, const char* file) in osl_debug_vmalloc()
972 osl_debug_vmallocz(osl_t *osh, uint size, int line, const char* file) in osl_debug_vmallocz()
986 osl_debug_vmfree(osl_t *osh, void *addr, uint size, int line, const char* file) in osl_debug_vmfree()
1037 osl_debug_memdump(osl_t *osh, struct bcmstrbuf *b) in osl_debug_memdump()
1115 osl_dma_alloc_consistent(osl_t *osh, uint size, uint16 align_bits, uint *alloced, dmaaddr_t *pap) in osl_dma_alloc_consistent()
1156 osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa) in osl_dma_free_consistent()
1260 extern void osl_preempt_disable(osl_t *osh) in osl_preempt_disable()
1265 extern void osl_preempt_enable(osl_t *osh) in osl_preempt_enable()
1437 osl_readb(osl_t *osh, volatile uint8 *r) in osl_readb()
1446 osl_readw(osl_t *osh, volatile uint16 *r) in osl_readw()
1455 osl_readl(osl_t *osh, volatile uint32 *r) in osl_readl()
1464 osl_writeb(osl_t *osh, volatile uint8 *r, uint8 v) in osl_writeb()
1473 osl_writew(osl_t *osh, volatile uint16 *r, uint16 v) in osl_writew()
1482 osl_writel(osl_t *osh, volatile uint32 *r, uint32 v) in osl_writel()
1724 inline void osl_bpt_rreg(osl_t *osh, ulong addr, volatile void *v, uint size) in osl_bpt_rreg()
1773 osl_timer_init(osl_t *osh, const char *name, void (*fn)(void *arg), void *arg) in osl_timer_init()
1802 osl_timer_add(osl_t *osh, osl_timer_t *t, uint32 ms, bool periodic) in osl_timer_add()
1826 osl_timer_update(osl_t *osh, osl_timer_t *t, uint32 ms, bool periodic) in osl_timer_update()
1851 osl_timer_del(osl_t *osh, osl_timer_t *t) in osl_timer_del()
1887 osl_spin_lock_init(osl_t *osh) in osl_spin_lock_init()
1898 osl_spin_lock_deinit(osl_t *osh, void *lock) in osl_spin_lock_deinit()
1979 osl_mutex_lock_init(osl_t *osh) in osl_mutex_lock_init()
1991 osl_mutex_lock_deinit(osl_t *osh, void *mutex) in osl_mutex_lock_deinit()
2024 osl_dma_lock(osl_t *osh) in osl_dma_lock()
2043 osl_dma_unlock(osl_t *osh) in osl_dma_unlock()
2054 osl_dma_lock_init(osl_t *osh) in osl_dma_lock_init()