Searched refs:zatm_dev (Results 1 – 2 of 2) sorted by relevance
125 #define zin_n(r) inl(zatm_dev->base+r*4)126 #define zin(r) inl(zatm_dev->base+uPD98401_##r*4)127 #define zout(v,r) outl(v,zatm_dev->base+uPD98401_##r*4)140 static void zpokel(struct zatm_dev *zatm_dev,u32 value,u32 addr) in zpokel() argument149 static u32 zpeekl(struct zatm_dev *zatm_dev,u32 addr) in zpeekl() argument180 struct zatm_dev *zatm_dev; in refill_pool() local187 zatm_dev = ZATM_DEV(dev); in refill_pool()196 offset = zatm_dev->pool_info[pool].offset+ in refill_pool()200 spin_lock_irqsave(&zatm_dev->lock, flags); in refill_pool()201 free = zpeekl(zatm_dev,zatm_dev->pool_base+2*pool) & in refill_pool()[all …]
57 struct zatm_dev { struct92 #define ZATM_DEV(d) ((struct zatm_dev *) (d)->dev_data) argument