Lines Matching refs:stop_bit
928 static inline unsigned int create_mask(const unsigned stop_bit) in create_mask() argument
931 if (stop_bit >= 32) { in create_mask()
934 return (1<<stop_bit)-1; in create_mask()
942 const unsigned stop_bit) in cris_io_interface_allocate_pins() argument
953 ioif, port, start_bit, stop_bit)); in cris_io_interface_allocate_pins()
955 if (!((start_bit <= stop_bit) && in cris_io_interface_allocate_pins()
956 ((((port == 'a') || (port == 'b')) && (stop_bit < 8)) || in cris_io_interface_allocate_pins()
957 ((port == 'g') && (stop_bit < 32))))) { in cris_io_interface_allocate_pins()
961 mask = create_mask(stop_bit + 1); in cris_io_interface_allocate_pins()
966 port, start_bit, stop_bit, mask)); in cris_io_interface_allocate_pins()
1002 for (i = start_bit; i <= stop_bit; i++) { in cris_io_interface_allocate_pins()
1016 const unsigned stop_bit) in cris_io_interface_free_pins() argument
1026 if (!((start_bit <= stop_bit) && in cris_io_interface_free_pins()
1027 ((((port == 'a') || (port == 'b')) && (stop_bit < 8)) || in cris_io_interface_free_pins()
1028 ((port == 'g') && (stop_bit < 32))))) { in cris_io_interface_free_pins()
1032 mask = create_mask(stop_bit + 1); in cris_io_interface_free_pins()
1037 port, start_bit, stop_bit, mask)); in cris_io_interface_free_pins()
1068 for (i = start_bit; i <= stop_bit; i++) { in cris_io_interface_free_pins()
1088 for (i = start_bit; i <= stop_bit; i++) { in cris_io_interface_free_pins()