Lines Matching defs:divisor
1239 __u16 divisor;
1266 * this function calculates the proper baud rate divisor for the specified
1269 static int calc_baud_rate_divisor(struct usb_serial_port *port, int baudrate, int *divisor)
1281 *divisor = divisor_table[i].divisor;
1287 * Try calculating the divisor for this baud rate */
1289 /* get the divisor */
1297 *divisor = custom;
1317 int divisor;
1331 status = calc_baud_rate_divisor(port, baudrate, &divisor);
1337 /* Enable access to divisor latch */
1341 /* Write the divisor */
1342 write_mos_reg(serial, number, MOS7720_DLL, (__u8)(divisor & 0xff));
1344 (__u8)((divisor & 0xff00) >> 8));
1346 /* Disable access to divisor latch */
1461 /* Determine divisor based on baud rate */