Searched refs:lcnt (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-designware-core.c285 u32 hcnt, lcnt; i2c_dw_init() local
326 lcnt = dev->ss_lcnt; i2c_dw_init()
333 lcnt = i2c_dw_scl_lcnt(input_clock_khz, i2c_dw_init()
339 dw_writel(dev, lcnt, DW_IC_SS_SCL_LCNT); i2c_dw_init()
340 dev_dbg(dev->dev, "Standard-mode HCNT:LCNT = %d:%d\n", hcnt, lcnt); i2c_dw_init()
345 lcnt = dev->fs_lcnt; i2c_dw_init()
352 lcnt = i2c_dw_scl_lcnt(input_clock_khz, i2c_dw_init()
358 dw_writel(dev, lcnt, DW_IC_FS_SCL_LCNT); i2c_dw_init()
359 dev_dbg(dev->dev, "Fast-mode HCNT:LCNT = %d:%d\n", hcnt, lcnt); i2c_dw_init()
H A Di2c-designware-platdrv.c68 u16 *hcnt, u16 *lcnt, u32 *sda_hold) dw_i2c_acpi_params()
85 *lcnt = (u16)objs[1].integer.value; dw_i2c_acpi_params()
67 dw_i2c_acpi_params(struct platform_device *pdev, char method[], u16 *hcnt, u16 *lcnt, u32 *sda_hold) dw_i2c_acpi_params() argument
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_init.c1001 u32 pbnum, cnt, lcnt; qib_verify_pioperf() local
1028 for (lcnt = 0; lcnt < 10000U; lcnt++) { qib_verify_pioperf()
1049 for (emsecs = lcnt = 0; emsecs <= 5UL; lcnt++) { qib_verify_pioperf()
1055 if (lcnt < (emsecs * 1024U)) qib_verify_pioperf()
1058 lcnt / (u32) emsecs); qib_verify_pioperf()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_driver.c315 u32 pbnum, cnt, lcnt; ipath_verify_pioperf() local
343 for (lcnt = 0; lcnt < 10000U; lcnt++) { ipath_verify_pioperf()
368 for (emsecs = lcnt = 0; emsecs <= 5UL; lcnt++) { ipath_verify_pioperf()
374 if (lcnt < (emsecs * 1024U)) ipath_verify_pioperf()
378 lcnt / (u32) emsecs); ipath_verify_pioperf()
381 lcnt / (u32) emsecs); ipath_verify_pioperf()
/linux-4.4.14/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c4898 unsigned int lcnt, ucnt; pvr2_hdw_state_log_state() local
4908 lcnt = 0; pvr2_hdw_state_log_state()
4909 while ((lcnt + ucnt < ccnt) && (buf[lcnt + ucnt] != '\n')) { pvr2_hdw_state_log_state()
4910 lcnt++; pvr2_hdw_state_log_state()
4912 printk(KERN_INFO "%s %.*s\n", hdw->name, lcnt, buf + ucnt); pvr2_hdw_state_log_state()
4913 ucnt += lcnt + 1; pvr2_hdw_state_log_state()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dsdma.c311 int lcnt = 0; sdma_wait_for_packet_egress() local
325 lcnt = 0; sdma_wait_for_packet_egress()
326 if (lcnt++ > 500) { sdma_wait_for_packet_egress()

Completed in 285 milliseconds