Lines Matching refs:port_mask
302 unsigned int port_mask, port_rising, port_falling; in ni_65xx_update_edge_detection() local
308 port_mask = ~0U >> bitshift; in ni_65xx_update_edge_detection()
312 port_mask = ~0U << -bitshift; in ni_65xx_update_edge_detection()
316 if (port_mask & 0xff) { in ni_65xx_update_edge_detection()
317 if (~port_mask & 0xff) { in ni_65xx_update_edge_detection()
321 ~port_mask; in ni_65xx_update_edge_detection()
325 ~port_mask; in ni_65xx_update_edge_detection()
428 unsigned int port_mask, port_data, bits; in ni_65xx_dio_insn_bits() local
433 port_mask = data[0]; in ni_65xx_dio_insn_bits()
436 port_mask >>= bitshift; in ni_65xx_dio_insn_bits()
439 port_mask <<= -bitshift; in ni_65xx_dio_insn_bits()
442 port_mask &= 0xff; in ni_65xx_dio_insn_bits()
446 if (port_mask) { in ni_65xx_dio_insn_bits()
449 bits &= ~port_mask; in ni_65xx_dio_insn_bits()
450 bits |= (port_data & port_mask); in ni_65xx_dio_insn_bits()