Lines Matching refs:dev
20 #define DEV2INST(dev) (getminor(dev))
136 dev_t dev;
140 dev = (dev_t)arg;
141 instance = DEV2INST(dev);
154 dev = (dev_t)arg;
155 instance = DEV2INST(dev);
245 amd64_gart_ioctl(dev_t dev, int cmd, intptr_t data, int mode,
257 instance = DEV2INST(dev);
324 amd64_gart_open(dev_t *dev, int flag, int otyp, cred_t *cred)
332 instance = DEV2INST(*dev);
343 amd64_gart_close(dev_t dev, int flag, int otyp, cred_t *cred)
348 instance = DEV2INST(dev);