Home
last modified time | relevance | path

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

/linux/drivers/isdn/hardware/mISDN/
H A 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 …]
H A Disdnhdlc.h22 int data_bits; member
/linux/drivers/gpu/drm/gma500/
H A 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()
H A 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()
/linux/drivers/comedi/drivers/
H A 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()
/linux/net/bluetooth/rfcomm/
H A Dtty.c862 u8 baud, data_bits, stop_bits, parity, x_on, x_off; in rfcomm_tty_set_termios() local
934 data_bits = RFCOMM_RPN_DATA_5; in rfcomm_tty_set_termios()
937 data_bits = RFCOMM_RPN_DATA_6; in rfcomm_tty_set_termios()
940 data_bits = RFCOMM_RPN_DATA_7; in rfcomm_tty_set_termios()
943 data_bits = RFCOMM_RPN_DATA_8; in rfcomm_tty_set_termios()
946 data_bits = RFCOMM_RPN_DATA_8; in rfcomm_tty_set_termios()
991 data_bits, stop_bits, parity, in rfcomm_tty_set_termios()
H A Dcore.c997 u8 bit_rate, u8 data_bits, u8 stop_bits, in rfcomm_send_rpn() argument
1008 s, cr, dlci, bit_rate, data_bits, stop_bits, parity, in rfcomm_send_rpn()
1023 rpn->line_settings = __rpn_line_settings(data_bits, stop_bits, parity); in rfcomm_send_rpn()
1490 u8 data_bits = 0; in rfcomm_recv_rpn() local
1508 data_bits = RFCOMM_RPN_DATA_8; in rfcomm_recv_rpn()
1530 data_bits = __get_rpn_data_bits(rpn->line_settings); in rfcomm_recv_rpn()
1531 if (data_bits != RFCOMM_RPN_DATA_8) { in rfcomm_recv_rpn()
1532 BT_DBG("RPN data bits mismatch 0x%x", data_bits); in rfcomm_recv_rpn()
1533 data_bits = RFCOMM_RPN_DATA_8; in rfcomm_recv_rpn()
1584 rfcomm_send_rpn(s, 0, dlci, bit_rate, data_bits, stop_bits, in rfcomm_recv_rpn()
/linux/drivers/usb/serial/
H A Dmxuport.c841 u8 data_bits; in mxuport_set_termios() local
861 data_bits = MX_WORDLENGTH_5; in mxuport_set_termios()
864 data_bits = MX_WORDLENGTH_6; in mxuport_set_termios()
867 data_bits = MX_WORDLENGTH_7; in mxuport_set_termios()
871 data_bits = MX_WORDLENGTH_8; in mxuport_set_termios()
898 buf[0] = data_bits; in mxuport_set_termios()
926 dev_dbg(&port->dev, "data_bits : %d\n", data_bits); in mxuport_set_termios()
H A 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 - 5; /* assign data bits in 2 bit space ( max 3 ) */ in cypress_serial_control()
865 int data_bits, stop_bits, parity_type, parity_enable; in cypress_set_termios() local
889 data_bits = tty_get_char_size(cflag); in cypress_set_termios()
902 __func__, stop_bits, parity_enable, parity_type, data_bits); in cypress_set_termios()
905 data_bits, stop_bits, in cypress_set_termios()
/linux/include/linux/
H A Dsynclink.h30 unsigned char data_bits; member
/linux/drivers/gpu/drm/i915/display/
H A Dintel_gmbus.c300 u32 data_bits; in set_data() local
303 data_bits = GPIO_DATA_DIR_IN | GPIO_DATA_DIR_MASK; in set_data()
305 data_bits = GPIO_DATA_DIR_OUT | GPIO_DATA_DIR_MASK | in set_data()
308 intel_de_write_notrace(display, bus->gpio_reg, reserved | data_bits); in set_data()
/linux/drivers/gpu/drm/
H A Ddrm_panic_qr.rs363 let data_bits = data.len() * 8; in character_count() localVariable
364 let last_chars = match data_bits % 13 { in character_count()
369 4 * (data_bits / 13) + last_chars in character_count()
/linux/include/uapi/linux/
H A Dsynclink.h166 unsigned char data_bits; /* 7 or 8 data bits */ member
/linux/include/net/bluetooth/
H A Drfcomm.h229 u8 bit_rate, u8 data_bits, u8 stop_bits,
/linux/drivers/tty/
H A Dsynclink_gt.c337 .data_bits = 8,
1079 tmp_params.data_bits = info->params.data_bits; in get_params32()
1110 info->params.data_bits = tmp_params.data_bits; in set_params32()
2461 info->params.data_bits = tty_get_char_size(cflag); in change_params()
2472 bits_per_char = info->params.data_bits + in change_params()
4037 switch (info->params.data_bits) in async_mode()
4077 switch (info->params.data_bits) in async_mode()
/linux/include/acpi/
H A Dacrestyp.h465 u8 data_bits; member
/linux/drivers/acpi/acpica/
H A Drsdumpinfo.c510 {ACPI_RSD_3BITFLAG, ACPI_RSD_OFFSET(uart_serial_bus.data_bits),
H A Drsserial.c596 {ACPI_RSC_3BITFLAG, ACPI_RS_OFFSET(data.uart_serial_bus.data_bits),
/linux/include/linux/greybus/
H A Dgreybus_protocols.h1333 __u8 data_bits; member