Home
last modified time | relevance | path

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

/drivers/isdn/i4l/
Disdnhdlc.c80 hdlc->data_bits = 8; in isdnhdlc_out_init()
167 h->data_bits = h->ffbit_shift - 1; \ in isdnhdlc_decode()
230 hdlc->data_bits = 0; in isdnhdlc_decode()
260 hdlc->data_bits++; in isdnhdlc_decode()
272 hdlc->data_bits = 0; in isdnhdlc_decode()
282 hdlc->data_bits++; in isdnhdlc_decode()
294 if (hdlc->data_bits == 8) { in isdnhdlc_decode()
295 hdlc->data_bits = 0; in isdnhdlc_decode()
417 (8 - hdlc->data_bits); in isdnhdlc_encode()
427 hdlc->data_bits++; in isdnhdlc_encode()
[all …]
/drivers/gpu/drm/gma500/
Dintel_i2c.c77 u32 reserved = 0, data_bits; in set_data() local
85 data_bits = GPIO_DATA_DIR_IN | GPIO_DATA_DIR_MASK; in set_data()
87 data_bits = in set_data()
91 REG_WRITE(chan->reg, reserved | data_bits); in set_data()
Dintel_gmbus.c157 u32 data_bits; in set_data() local
160 data_bits = GPIO_DATA_DIR_IN | GPIO_DATA_DIR_MASK; in set_data()
162 data_bits = GPIO_DATA_DIR_OUT | GPIO_DATA_DIR_MASK | in set_data()
165 GMBUS_REG_WRITE(gpio->reg, reserved | data_bits); in set_data()
/drivers/usb/serial/
Dcypress_m8.c298 struct usb_serial_port *port, speed_t baud_rate, int data_bits, in cypress_serial_control() argument
336 feature_buffer[4] |= data_bits; /* assign data bits in 2 bit space ( max 3 ) */ in cypress_serial_control()
871 int data_bits, stop_bits, parity_type, parity_enable; in cypress_set_termios() local
932 data_bits = 0; in cypress_set_termios()
935 data_bits = 1; in cypress_set_termios()
938 data_bits = 2; in cypress_set_termios()
941 data_bits = 3; in cypress_set_termios()
945 data_bits = 3; in cypress_set_termios()
958 __func__, stop_bits, parity_enable, parity_type, data_bits); in cypress_set_termios()
961 data_bits, stop_bits, in cypress_set_termios()
Dmxuport.c852 u8 data_bits; in mxuport_set_termios() local
872 data_bits = MX_WORDLENGTH_5; in mxuport_set_termios()
875 data_bits = MX_WORDLENGTH_6; in mxuport_set_termios()
878 data_bits = MX_WORDLENGTH_7; in mxuport_set_termios()
882 data_bits = MX_WORDLENGTH_8; in mxuport_set_termios()
909 buf[0] = data_bits; in mxuport_set_termios()
937 dev_dbg(&port->dev, "data_bits : %d\n", data_bits); in mxuport_set_termios()
/drivers/staging/comedi/drivers/
Dcomedi_bond.c76 unsigned int write_mask, data_bits; in bonding_dio_insn_bits() local
80 data_bits = data[1]; in bonding_dio_insn_bits()
107 b_data_bits = (data_bits >> n_done) & b_mask; in bonding_dio_insn_bits()
Dcb_pcidas64.c3575 enum data_bits { in caldac_i2c_write() enum
/drivers/gpu/drm/i915/
Dintel_i2c.c194 u32 data_bits; in set_data() local
197 data_bits = GPIO_DATA_DIR_IN | GPIO_DATA_DIR_MASK; in set_data()
199 data_bits = GPIO_DATA_DIR_OUT | GPIO_DATA_DIR_MASK | in set_data()
202 I915_WRITE_NOTRACE(bus->gpio_reg, reserved | data_bits); in set_data()
/drivers/tty/serial/
Detraxfs-uart.c683 tx_ctrl.data_bits = regk_ser_bits8; in etraxfs_uart_set_termios()
684 rx_ctrl.data_bits = regk_ser_bits8; in etraxfs_uart_set_termios()
719 tx_ctrl.data_bits = regk_ser_bits7; in etraxfs_uart_set_termios()
720 rx_ctrl.data_bits = regk_ser_bits7; in etraxfs_uart_set_termios()
/drivers/tty/
Dsynclink_gt.c368 .data_bits = 8,
1150 tmp_params.data_bits = info->params.data_bits; in get_params32()
1180 info->params.data_bits = tmp_params.data_bits; in set_params32()
2548 case CS5: info->params.data_bits = 5; break; in change_params()
2549 case CS6: info->params.data_bits = 6; break; in change_params()
2550 case CS7: info->params.data_bits = 7; break; in change_params()
2551 case CS8: info->params.data_bits = 8; break; in change_params()
2552 default: info->params.data_bits = 7; break; in change_params()
2565 bits_per_char = info->params.data_bits + in change_params()
4156 switch (info->params.data_bits) in async_mode()
[all …]
Dsynclink.c1925 case CS5: info->params.data_bits = 5; break; in mgsl_change_params()
1926 case CS6: info->params.data_bits = 6; break; in mgsl_change_params()
1927 case CS7: info->params.data_bits = 7; break; in mgsl_change_params()
1928 case CS8: info->params.data_bits = 8; break; in mgsl_change_params()
1930 default: info->params.data_bits = 7; break; in mgsl_change_params()
1953 bits_per_char = info->params.data_bits + in mgsl_change_params()
5914 if ( info->params.data_bits != 8 ) in usc_set_async_mode()
5971 if ( info->params.data_bits != 8 ) in usc_set_async_mode()
Dsynclinkmp.c2776 case CS5: info->params.data_bits = 5; break; in change_params()
2777 case CS6: info->params.data_bits = 6; break; in change_params()
2778 case CS7: info->params.data_bits = 7; break; in change_params()
2779 case CS8: info->params.data_bits = 8; break; in change_params()
2781 default: info->params.data_bits = 7; break; in change_params()
2804 bits_per_char = info->params.data_bits + in change_params()
4409 switch (info->params.data_bits) { in async_mode()
/drivers/acpi/acpica/
Drsserial.c417 {ACPI_RSC_3BITFLAG, ACPI_RS_OFFSET(data.uart_serial_bus.data_bits),
Drsdumpinfo.c388 {ACPI_RSD_3BITFLAG, ACPI_RSD_OFFSET(uart_serial_bus.data_bits),
/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()
3513 if (info->params.data_bits != 8) in async_mode()
/drivers/atm/
Dhorizon.c1773 const unsigned int data_bits = 16; in read_bia() local
1807 for (i=0;i<data_bits;i++) { in read_bia()
1813 res |= (1 << (data_bits-1)); in read_bia()