Lines Matching full:minor
52 * Minor device number
152 unsigned int minor; in tanbac_tb0219_read() local
155 minor = iminor(file_inode(file)); in tanbac_tb0219_read()
156 switch (minor) { in tanbac_tb0219_read()
161 value = get_gpio_input_pin(minor - 16); in tanbac_tb0219_read()
164 value = get_gpio_output_pin(minor - 32); in tanbac_tb0219_read()
167 value = get_dip_switch(minor - 48); in tanbac_tb0219_read()
185 unsigned int minor; in tanbac_tb0219_write() local
191 minor = iminor(file_inode(file)); in tanbac_tb0219_write()
192 switch (minor) { in tanbac_tb0219_write()
212 retval = set_gpio_output_pin(minor - 32, c); in tanbac_tb0219_write()
225 unsigned int minor; in tanbac_tb0219_open() local
227 minor = iminor(inode); in tanbac_tb0219_open()
228 switch (minor) { in tanbac_tb0219_open()