Home
last modified time | relevance | path

Searched refs:zatm_dev (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/atm/
Dzatm.c125 #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() argument
149 static u32 zpeekl(struct zatm_dev *zatm_dev,u32 addr) in zpeekl() argument
180 struct zatm_dev *zatm_dev; in refill_pool() local
187 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 …]
Dzatm.h57 struct zatm_dev { struct
92 #define ZATM_DEV(d) ((struct zatm_dev *) (d)->dev_data) argument