Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/watchdog/
Drenesas_wdt.c38 DIV_ROUND_UP((d) * (p)->clk_rate, clk_divs[(p)->cks])
41 #define DIV_BY_CLKS_PER_SEC(p, d) ((d) * clk_divs[(p)->cks] / (p)->clk_rate)
55 u8 cks; member
84 rwdt_write(priv, priv->cks, RWTCSRA); in rwdt_start()
90 rwdt_write(priv, priv->cks | RWTCSRA_TME, RWTCSRA); in rwdt_start()
99 rwdt_write(priv, priv->cks, RWTCSRA); in rwdt_stop()
215 priv->cks = i; in rwdt_probe()
Dshwdt.c69 #define next_ping_period(cks) (jiffies + msecs_to_jiffies(cks - 4)) argument
/Linux-v4.19/drivers/i2c/busses/
Di2c-riic.c286 int total_ticks, cks, brl, brh; in riic_init_hw() local
319 for (cks = 0; cks < 7; cks++) { in riic_init_hw()
342 if (cks == 0) { in riic_init_hw()
366 t->scl_rise_ns / (1000000000 / rate), cks, brl, brh); in riic_init_hw()
372 writeb(ICMR1_CKS(cks), riic->base + RIIC_ICMR1); in riic_init_hw()
/Linux-v4.19/drivers/tty/serial/
Dsh-sci.c2226 unsigned int *cks) in sci_scbrr_calc() argument
2278 *cks = c; in sci_scbrr_calc()
2287 min_err, *brr, *srr + 1, *cks); in sci_scbrr_calc()
2330 unsigned int brr = 255, cks = 0, srr = 15, dl = 0, sccks = 0; in sci_set_termios() local
2428 cks = cks1; in sci_set_termios()
2486 smr_val |= cks; in sci_set_termios()