Searched refs:zatm_dev (Results 1 – 2 of 2) sorted by relevance
127 #define zin_n(r) inl(zatm_dev->base+r*4)128 #define zin(r) inl(zatm_dev->base+uPD98401_##r*4)129 #define zout(v,r) outl(v,zatm_dev->base+uPD98401_##r*4)142 static void zpokel(struct zatm_dev *zatm_dev,u32 value,u32 addr) in zpokel() argument151 static u32 zpeekl(struct zatm_dev *zatm_dev,u32 addr) in zpeekl() argument182 struct zatm_dev *zatm_dev; in refill_pool() local189 zatm_dev = ZATM_DEV(dev); in refill_pool()198 offset = zatm_dev->pool_info[pool].offset+ in refill_pool()202 spin_lock_irqsave(&zatm_dev->lock, flags); in refill_pool()203 free = zpeekl(zatm_dev,zatm_dev->pool_base+2*pool) & in refill_pool()[all …]
58 struct zatm_dev { struct93 #define ZATM_DEV(d) ((struct zatm_dev *) (d)->dev_data) argument