Home
last modified time | relevance | path

Searched refs:data_bits (Results 1 – 17 of 17) sorted by relevance

/drivers/isdn/hardware/mISDN/
Disdnhdlc.c67 hdlc->data_bits = 8; in isdnhdlc_out_init()
154 h->data_bits = h->ffbit_shift - 1; \ in isdnhdlc_decode()
217 hdlc->data_bits = 0; in isdnhdlc_decode()
247 hdlc->data_bits++; in isdnhdlc_decode()
259 hdlc->data_bits = 0; in isdnhdlc_decode()
269 hdlc->data_bits++; in isdnhdlc_decode()
281 if (hdlc->data_bits == 8) { in isdnhdlc_decode()
282 hdlc->data_bits = 0; in isdnhdlc_decode()
404 (8 - hdlc->data_bits); in isdnhdlc_encode()
414 hdlc->data_bits++; in isdnhdlc_encode()
[all …]
Disdnhdlc.h22 int data_bits; member
/drivers/gpu/drm/gma500/
Dintel_i2c.c67 u32 reserved = 0, data_bits; in set_data() local
75 data_bits = GPIO_DATA_DIR_IN | GPIO_DATA_DIR_MASK; in set_data()
77 data_bits = in set_data()
81 REG_WRITE(chan->reg, reserved | data_bits); in set_data()
Dintel_gmbus.c158 u32 data_bits; in set_data() local
161 data_bits = GPIO_DATA_DIR_IN | GPIO_DATA_DIR_MASK; in set_data()
163 data_bits = GPIO_DATA_DIR_OUT | GPIO_DATA_DIR_MASK | in set_data()
166 GMBUS_REG_WRITE(gpio->reg, reserved | data_bits); in set_data()
/drivers/usb/serial/
Dcypress_m8.c289 struct usb_serial_port *port, speed_t baud_rate, int data_bits, in cypress_serial_control() argument
327 feature_buffer[4] |= data_bits; /* assign data bits in 2 bit space ( max 3 ) */ in cypress_serial_control()
866 int data_bits, stop_bits, parity_type, parity_enable; in cypress_set_termios() local
892 data_bits = 0; in cypress_set_termios()
895 data_bits = 1; in cypress_set_termios()
898 data_bits = 2; in cypress_set_termios()
901 data_bits = 3; in cypress_set_termios()
905 data_bits = 3; in cypress_set_termios()
918 __func__, stop_bits, parity_enable, parity_type, data_bits); in cypress_set_termios()
921 data_bits, stop_bits, in cypress_set_termios()
Dmxuport.c848 u8 data_bits; in mxuport_set_termios() local
868 data_bits = MX_WORDLENGTH_5; in mxuport_set_termios()
871 data_bits = MX_WORDLENGTH_6; in mxuport_set_termios()
874 data_bits = MX_WORDLENGTH_7; in mxuport_set_termios()
878 data_bits = MX_WORDLENGTH_8; in mxuport_set_termios()
905 buf[0] = data_bits; in mxuport_set_termios()
933 dev_dbg(&port->dev, "data_bits : %d\n", data_bits); in mxuport_set_termios()
/drivers/staging/comedi/drivers/
Dcomedi_bond.c67 unsigned int write_mask, data_bits; in bonding_dio_insn_bits() local
71 data_bits = data[1]; in bonding_dio_insn_bits()
98 b_data_bits = (data_bits >> n_done) & b_mask; in bonding_dio_insn_bits()
Dcb_pcidas64.c3563 enum data_bits { in caldac_i2c_write() enum
/drivers/staging/greybus/
Duart.c47 __u8 data_bits; member
510 newline.data_bits = 5; in gb_tty_set_termios()
513 newline.data_bits = 6; in gb_tty_set_termios()
516 newline.data_bits = 7; in gb_tty_set_termios()
520 newline.data_bits = 8; in gb_tty_set_termios()
901 gb_tty->line_coding.data_bits = 8; in gb_uart_probe()
/drivers/gpu/drm/i915/display/
Dintel_gmbus.c259 u32 data_bits; in set_data() local
262 data_bits = GPIO_DATA_DIR_IN | GPIO_DATA_DIR_MASK; in set_data()
264 data_bits = GPIO_DATA_DIR_OUT | GPIO_DATA_DIR_MASK | in set_data()
267 intel_uncore_write_notrace(uncore, bus->gpio_reg, reserved | data_bits); in set_data()
/drivers/tty/
Dsynclink_gt.c367 .data_bits = 8,
1143 tmp_params.data_bits = info->params.data_bits; in get_params32()
1173 info->params.data_bits = tmp_params.data_bits; in set_params32()
2527 case CS5: info->params.data_bits = 5; break; in change_params()
2528 case CS6: info->params.data_bits = 6; break; in change_params()
2529 case CS7: info->params.data_bits = 7; break; in change_params()
2530 case CS8: info->params.data_bits = 8; break; in change_params()
2531 default: info->params.data_bits = 7; break; in change_params()
2544 bits_per_char = info->params.data_bits + in change_params()
4128 switch (info->params.data_bits) in async_mode()
[all …]
Dsynclink.c1921 case CS5: info->params.data_bits = 5; break; in mgsl_change_params()
1922 case CS6: info->params.data_bits = 6; break; in mgsl_change_params()
1923 case CS7: info->params.data_bits = 7; break; in mgsl_change_params()
1924 case CS8: info->params.data_bits = 8; break; in mgsl_change_params()
1926 default: info->params.data_bits = 7; break; in mgsl_change_params()
1949 bits_per_char = info->params.data_bits + in mgsl_change_params()
5841 if ( info->params.data_bits != 8 ) in usc_set_async_mode()
5898 if ( info->params.data_bits != 8 ) in usc_set_async_mode()
Dsynclinkmp.c2756 case CS5: info->params.data_bits = 5; break; in change_params()
2757 case CS6: info->params.data_bits = 6; break; in change_params()
2758 case CS7: info->params.data_bits = 7; break; in change_params()
2759 case CS8: info->params.data_bits = 8; break; in change_params()
2761 default: info->params.data_bits = 7; break; in change_params()
2784 bits_per_char = info->params.data_bits + in change_params()
4394 switch (info->params.data_bits) { in async_mode()
/drivers/char/pcmcia/
Dsynclink_cs.c1425 case CS5: info->params.data_bits = 5; break; in mgslpc_change_params()
1426 case CS6: info->params.data_bits = 6; break; in mgslpc_change_params()
1427 case CS7: info->params.data_bits = 7; break; in mgslpc_change_params()
1428 case CS8: info->params.data_bits = 8; break; in mgslpc_change_params()
1429 default: info->params.data_bits = 7; break; in mgslpc_change_params()
1452 bits_per_char = info->params.data_bits + in mgslpc_change_params()
3487 if (info->params.data_bits != 8) in async_mode()
/drivers/atm/
Dhorizon.c1759 const unsigned int data_bits = 16; in read_bia() local
1793 for (i=0;i<data_bits;i++) { in read_bia()
1799 res |= (1 << (data_bits-1)); in read_bia()
/drivers/acpi/acpica/
Drsdumpinfo.c467 {ACPI_RSD_3BITFLAG, ACPI_RSD_OFFSET(uart_serial_bus.data_bits),
Drsserial.c472 {ACPI_RSC_3BITFLAG, ACPI_RS_OFFSET(data.uart_serial_bus.data_bits),