Searched refs:lcnt (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-designware-core.c | 285 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()
|
D | i2c-designware-platdrv.c | 68 u16 *hcnt, u16 *lcnt, u32 *sda_hold) in dw_i2c_acpi_params() argument 85 *lcnt = (u16)objs[1].integer.value; in dw_i2c_acpi_params()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_init.c | 1001 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.4.14/drivers/staging/rdma/ipath/ |
D | ipath_driver.c | 315 u32 pbnum, cnt, lcnt; in ipath_verify_pioperf() local 343 for (lcnt = 0; lcnt < 10000U; lcnt++) { in ipath_verify_pioperf() 368 for (emsecs = lcnt = 0; emsecs <= 5UL; lcnt++) { in ipath_verify_pioperf() 374 if (lcnt < (emsecs * 1024U)) in ipath_verify_pioperf() 378 lcnt / (u32) emsecs); in ipath_verify_pioperf() 381 lcnt / (u32) emsecs); in ipath_verify_pioperf()
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw.c | 4898 unsigned int lcnt, ucnt; in pvr2_hdw_state_log_state() local 4908 lcnt = 0; in pvr2_hdw_state_log_state() 4909 while ((lcnt + ucnt < ccnt) && (buf[lcnt + ucnt] != '\n')) { in pvr2_hdw_state_log_state() 4910 lcnt++; in pvr2_hdw_state_log_state() 4912 printk(KERN_INFO "%s %.*s\n", hdw->name, lcnt, buf + ucnt); in pvr2_hdw_state_log_state() 4913 ucnt += lcnt + 1; in pvr2_hdw_state_log_state()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | sdma.c | 311 int lcnt = 0; in sdma_wait_for_packet_egress() local 325 lcnt = 0; in sdma_wait_for_packet_egress() 326 if (lcnt++ > 500) { in sdma_wait_for_packet_egress()
|