Searched refs:MINOR_TO_INST (Results 1 – 7 of 7) sorted by relevance
64 #define MINOR_TO_INST(mn) (mn) macro208 instance = MINOR_TO_INST(getminor(dev)); in tcli_info()226 MINOR_TO_INST(minor))) == NULL) in tcli_open()244 dstatep = ddi_get_soft_state(dstates, MINOR_TO_INST(minor)); in tcli_close()262 instance = MINOR_TO_INST(getminor(dev)); in tcli_ioctl()
147 #define MINOR_TO_INST(mn) (mn >> 6) macro832 instance = MINOR_TO_INST(getminor(dev)); in gen_info()850 MINOR_TO_INST(minor))) == NULL) in gen_open()859 dstatep->nodename, MINOR_TO_INST(minor))); in gen_open()874 dstatep = ddi_get_soft_state(dstates, MINOR_TO_INST(minor)); in gen_close()885 dstatep->nodename, MINOR_TO_INST(minor))); in gen_close()905 instance = MINOR_TO_INST(getminor(dev)); in gen_ioctl()
156 instance = MINOR_TO_INST(getminor(*devp)); in pcf8591_open()202 instance = MINOR_TO_INST(getminor(dev)); in pcf8591_close()233 int instance = MINOR_TO_INST(getminor(dev)); in pcf8591_ioctl()420 instance = MINOR_TO_INST(getminor(dev)); in pcf8591_info()
384 int instance = MINOR_TO_INST(getminor((dev_t)arg)); in pca9556_info()545 instance = MINOR_TO_INST(getminor(*devp)); in pca9556_open()587 instance = MINOR_TO_INST(getminor(dev)); in pca9556_close()606 int instance = MINOR_TO_INST(getminor(dev)); in pca9556_ioctl()
186 instance = MINOR_TO_INST(getminor(*devp)); in ssc050_open()232 instance = MINOR_TO_INST(getminor(dev)); in ssc050_close()319 int instance = MINOR_TO_INST(getminor(dev)); in ssc050_ioctl()588 instance = MINOR_TO_INST(getminor(dev)); in ssc050_info()
81 #define MINOR_TO_INST(x) ((x & 0xFFFFFFF0) >> 4) macro
279 instance = MINOR_TO_INST(getminor(*devp)); in hpc3130_open()316 instance = MINOR_TO_INST(getminor(dev)); in hpc3130_close()424 int instance = MINOR_TO_INST(getminor(dev)); in hpc3130_ioctl()694 int instance = MINOR_TO_INST(getminor(dev)); in hpc3130_poll()723 instance = MINOR_TO_INST(getminor(dev)); in hpc3130_info()