Searched refs:HPT_UPTR (Results 1 - 15 of 15) sorted by relevance

/freebsd-11.0-release/sys/dev/hptrr/
H A Dhptrr_os_bsd.c38 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); }
39 HPT_U16 os_inw (void *port) { return inw((unsigned)(HPT_UPTR)port); }
40 HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
42 void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); }
43 void os_outw (void *port, HPT_U16 value) { outw((unsigned)(HPT_UPTR)port, (value)); }
44 void os_outl (void *port, HPT_U32 value) { outl((unsigned)(HPT_UPTR)port, (value)); }
47 { insw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
50 { outsw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
H A Dlist.h118 ((type *)((char *)(ptr)-(HPT_UPTR)(&((type *)0)->member)))
128 ((type *)((char *)((attached)->next)-(HPT_UPTR)(&((type *)0)->member)))
H A Dosm.h50 typedef unsigned long HPT_UPTR; typedef
H A Dhim.h379 HPT_UPTR priv2;
H A Dhptrr_osm_bsd.c204 HPT_ASSERT(((HPT_UPTR)p & (DMAPOOL_PAGE_SIZE-1))==0);
248 if (((HPT_UPTR)p & (PAGE_SIZE-1))==0)
/freebsd-11.0-release/sys/dev/hpt27xx/
H A Dhpt27xx_os_bsd.c38 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); }
39 HPT_U16 os_inw (void *port) { return inw((unsigned)(HPT_UPTR)port); }
40 HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
42 void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); }
43 void os_outw (void *port, HPT_U16 value) { outw((unsigned)(HPT_UPTR)port, (value)); }
44 void os_outl (void *port, HPT_U32 value) { outl((unsigned)(HPT_UPTR)port, (value)); }
47 { insw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
50 { outsw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
H A Dlist.h116 ((type *)((char *)(ptr)-(HPT_UPTR)(&((type *)0)->member)))
126 ((type *)((char *)((attached)->next)-(HPT_UPTR)(&((type *)0)->member)))
H A Dosm.h51 typedef unsigned long HPT_UPTR; typedef
H A Dhim.h436 HPT_UPTR priv2;
H A Dhpt27xx_osm_bsd.c201 HPT_ASSERT(((HPT_UPTR)p & (DMAPOOL_PAGE_SIZE-1))==0);
245 if (((HPT_UPTR)p & (PAGE_SIZE-1))==0)
511 os_set_sgptr(&pSg[idx], (HPT_U8 *)(HPT_UPTR)sgList[idx].ds_addr);
/freebsd-11.0-release/sys/dev/hptnr/
H A Dhptnr_os_bsd.c37 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); }
38 HPT_U16 os_inw (void *port) { return inw((unsigned)(HPT_UPTR)port); }
39 HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
41 void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); }
42 void os_outw (void *port, HPT_U16 value) { outw((unsigned)(HPT_UPTR)port, (value)); }
43 void os_outl (void *port, HPT_U32 value) { outl((unsigned)(HPT_UPTR)port, (value)); }
46 { insw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
49 { outsw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
H A Dlist.h115 ((type *)((char *)(ptr)-(HPT_UPTR)(&((type *)0)->member)))
125 ((type *)((char *)((attached)->next)-(HPT_UPTR)(&((type *)0)->member)))
H A Dosm.h50 typedef unsigned long HPT_UPTR; typedef
H A Dhim.h424 HPT_UPTR priv2;
H A Dhptnr_osm_bsd.c198 HPT_ASSERT(((HPT_UPTR)p & (DMAPOOL_PAGE_SIZE-1))==0);
242 if (((HPT_UPTR)p & (PAGE_SIZE-1))==0)

Completed in 167 milliseconds