Home
last modified time | relevance | path

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

/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 …]
/drivers/watchdog/
Drza_wdt.c47 u8 cks; member
55 if (priv->cks == CKS_4BIT) { in rza_wdt_calc_timeout()
90 WTSCR_CKS(priv->cks), priv->base + WTCSR); in rza_wdt_start()
196 priv->cks = (u8)(uintptr_t) of_device_get_match_data(dev); in rza_wdt_probe()
197 if (priv->cks == CKS_4BIT) { in rza_wdt_probe()
201 } else if (priv->cks == CKS_3BIT) { in rza_wdt_probe()
Drenesas_wdt.c37 DIV_ROUND_UP((d) * (p)->clk_rate, clk_divs[(p)->cks])
40 #define DIV_BY_CLKS_PER_SEC(p, d) ((d) * clk_divs[(p)->cks] / (p)->clk_rate)
53 u8 cks; member
99 rwdt_write(priv, priv->cks, RWTCSRA); in rwdt_start()
105 rwdt_write(priv, priv->cks | RWTCSRA_TME, RWTCSRA); in rwdt_start()
114 rwdt_write(priv, priv->cks, RWTCSRA); in rwdt_stop()
250 priv->cks = i; in rwdt_probe()
Dshwdt.c65 #define next_ping_period(cks) (jiffies + msecs_to_jiffies(cks - 4)) argument
/drivers/i2c/busses/
Di2c-riic.c293 int total_ticks, cks, brl, brh; in riic_init_hw() local
324 for (cks = 0; cks < 7; cks++) { in riic_init_hw()
347 if (cks == 0) { in riic_init_hw()
371 t->scl_rise_ns / (1000000000 / rate), cks, brl, brh); in riic_init_hw()
377 writeb(ICMR1_CKS(cks), riic->base + RIIC_ICMR1); in riic_init_hw()
/drivers/tty/serial/
Dsh-sci.c2281 unsigned int *cks) in sci_scbrr_calc() argument
2333 *cks = c; in sci_scbrr_calc()
2342 min_err, *brr, *srr + 1, *cks); in sci_scbrr_calc()
2385 unsigned int brr = 255, cks = 0, srr = 15, dl = 0, sccks = 0; in sci_set_termios() local
2487 cks = cks1; in sci_set_termios()
2530 smr_val |= cks; in sci_set_termios()