Home
last modified time | relevance | path

Searched refs:cks (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_qsfp.c256 u16 cks; in qsfp_cks() local
259 cks = 0; in qsfp_cks()
264 cks += bval; in qsfp_cks()
267 ret = cks & 0xFF; in qsfp_cks()
277 u16 cks; in qib_refresh_qsfp_cache() local
317 cks = cp->id; in qib_refresh_qsfp_cache()
322 cks += cp->pwr; in qib_refresh_qsfp_cache()
327 cks += ret; in qib_refresh_qsfp_cache()
332 cks += cp->len; in qib_refresh_qsfp_cache()
337 cks += cp->tech; in qib_refresh_qsfp_cache()
[all …]
/linux-4.1.27/drivers/watchdog/
Dshwdt.c69 #define next_ping_period(cks) (jiffies + msecs_to_jiffies(cks - 4)) argument
/linux-4.1.27/drivers/tty/serial/
Dsh-sci.c1834 unsigned int *cks, int frame_len) in sci_baud_calc_hscif() argument
1876 *cks = c; in sci_baud_calc_hscif()
1885 *cks = 0; in sci_baud_calc_hscif()
1910 unsigned int baud, smr_val = 0, max_baud, cks = 0; in sci_set_termios() local
1938 &cks, frame_len); in sci_set_termios()
1941 for (cks = 0; t >= 256 && cks <= 3; cks++) in sci_set_termios()
1955 __func__, smr_val, cks, t, s->cfg->scscr); in sci_set_termios()
1958 serial_port_out(port, SCSMR, (smr_val & ~SCSMR_CKS) | cks); in sci_set_termios()