Searched refs:zatm_dev (Results 1 – 2 of 2) sorted by relevance
130 #define zin_n(r) inl(zatm_dev->base+r*4)131 #define zin(r) inl(zatm_dev->base+uPD98401_##r*4)132 #define zout(v,r) outl(v,zatm_dev->base+uPD98401_##r*4)145 static void zpokel(struct zatm_dev *zatm_dev,u32 value,u32 addr) in zpokel() argument154 static u32 zpeekl(struct zatm_dev *zatm_dev,u32 addr) in zpeekl() argument185 struct zatm_dev *zatm_dev; in refill_pool() local192 zatm_dev = ZATM_DEV(dev); in refill_pool()201 offset = zatm_dev->pool_info[pool].offset+ in refill_pool()207 free = zpeekl(zatm_dev,zatm_dev->pool_base+2*pool) & in refill_pool()210 if (free >= zatm_dev->pool_info[pool].low_water) return; in refill_pool()[all …]
83 struct zatm_dev { struct127 #define ZATM_DEV(d) ((struct zatm_dev *) (d)->dev_data) argument