Lines Matching refs:line
205 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_input() local
208 if (line.no_input) in ts5500_gpio_input()
211 if (line.no_output) in ts5500_gpio_input()
215 ts5500_clear_mask(line.control_mask, line.control_addr); in ts5500_gpio_input()
224 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_get() local
226 return !!(inb(line.value_addr) & line.value_mask); in ts5500_gpio_get()
232 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_output() local
235 if (line.no_output) in ts5500_gpio_output()
239 if (!line.no_input) in ts5500_gpio_output()
240 ts5500_set_mask(line.control_mask, line.control_addr); in ts5500_gpio_output()
243 ts5500_set_mask(line.value_mask, line.value_addr); in ts5500_gpio_output()
245 ts5500_clear_mask(line.value_mask, line.value_addr); in ts5500_gpio_output()
254 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_set() local
259 ts5500_set_mask(line.value_mask, line.value_addr); in ts5500_gpio_set()
261 ts5500_clear_mask(line.value_mask, line.value_addr); in ts5500_gpio_set()
269 const struct ts5500_dio line = block[offset]; in ts5500_gpio_to_irq() local
272 if (line.irq) in ts5500_gpio_to_irq()
273 return line.irq; in ts5500_gpio_to_irq()