Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/i2c/busses/
Di2c-designware-core.c285 u32 hcnt, lcnt; in i2c_dw_init() local
326 lcnt = dev->ss_lcnt; in i2c_dw_init()
333 lcnt = i2c_dw_scl_lcnt(input_clock_khz, in i2c_dw_init()
339 dw_writel(dev, lcnt, DW_IC_SS_SCL_LCNT); in i2c_dw_init()
340 dev_dbg(dev->dev, "Standard-mode HCNT:LCNT = %d:%d\n", hcnt, lcnt); in i2c_dw_init()
345 lcnt = dev->fs_lcnt; in i2c_dw_init()
352 lcnt = i2c_dw_scl_lcnt(input_clock_khz, in i2c_dw_init()
358 dw_writel(dev, lcnt, DW_IC_FS_SCL_LCNT); in i2c_dw_init()
359 dev_dbg(dev->dev, "Fast-mode HCNT:LCNT = %d:%d\n", hcnt, lcnt); in i2c_dw_init()
Di2c-designware-platdrv.c72 u16 *hcnt, u16 *lcnt, u32 *sda_hold) in dw_i2c_acpi_params() argument
89 *lcnt = (u16)objs[1].integer.value; in dw_i2c_acpi_params()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_init.c1001 u32 pbnum, cnt, lcnt; in qib_verify_pioperf() local
1028 for (lcnt = 0; lcnt < 10000U; lcnt++) { in qib_verify_pioperf()
1049 for (emsecs = lcnt = 0; emsecs <= 5UL; lcnt++) { in qib_verify_pioperf()
1055 if (lcnt < (emsecs * 1024U)) in qib_verify_pioperf()
1058 lcnt / (u32) emsecs); in qib_verify_pioperf()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_driver.c311 u32 pbnum, cnt, lcnt; in ipath_verify_pioperf() local
339 for (lcnt = 0; lcnt < 10000U; lcnt++) { in ipath_verify_pioperf()
364 for (emsecs = lcnt = 0; emsecs <= 5UL; lcnt++) { in ipath_verify_pioperf()
370 if (lcnt < (emsecs * 1024U)) in ipath_verify_pioperf()
374 lcnt / (u32) emsecs); in ipath_verify_pioperf()
377 lcnt / (u32) emsecs); in ipath_verify_pioperf()
/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c4889 unsigned int lcnt, ucnt; in pvr2_hdw_state_log_state() local
4899 lcnt = 0; in pvr2_hdw_state_log_state()
4900 while ((lcnt + ucnt < ccnt) && (buf[lcnt + ucnt] != '\n')) { in pvr2_hdw_state_log_state()
4901 lcnt++; in pvr2_hdw_state_log_state()
4903 printk(KERN_INFO "%s %.*s\n", hdw->name, lcnt, buf + ucnt); in pvr2_hdw_state_log_state()
4904 ucnt += lcnt + 1; in pvr2_hdw_state_log_state()