Lines Matching defs:divisor
1409 __u16 divisor;
1436 * this function calculates the proper baud rate divisor for the specified
1439 static int calc_baud_rate_divisor(struct usb_serial_port *port, int baudrate, int *divisor)
1451 *divisor = divisor_table[i].divisor;
1457 * Try calculating the divisor for this baud rate */
1459 /* get the divisor */
1467 *divisor = custom;
1487 int divisor;
1501 status = calc_baud_rate_divisor(port, baudrate, &divisor);
1507 /* Enable access to divisor latch */
1511 /* Write the divisor */
1512 write_mos_reg(serial, number, MOS7720_DLL, (__u8)(divisor & 0xff));
1514 (__u8)((divisor & 0xff00) >> 8));
1516 /* Disable access to divisor latch */
1649 /* Determine divisor based on baud rate */