Home
last modified time | relevance | path

Searched refs:hcnt (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Ddesignware_i2c.c80 unsigned int hcnt, lcnt; in __dw_i2c_set_bus_speed() local
100 hcnt = scl_sda_cfg->fs_hcnt; in __dw_i2c_set_bus_speed()
103 hcnt = (IC_CLK * MIN_HS_SCL_HIGHTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed()
106 writel(hcnt, &i2c_base->ic_hs_scl_hcnt); in __dw_i2c_set_bus_speed()
114 hcnt = scl_sda_cfg->ss_hcnt; in __dw_i2c_set_bus_speed()
117 hcnt = (IC_CLK * MIN_SS_SCL_HIGHTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed()
120 writel(hcnt, &i2c_base->ic_ss_scl_hcnt); in __dw_i2c_set_bus_speed()
128 hcnt = scl_sda_cfg->fs_hcnt; in __dw_i2c_set_bus_speed()
131 hcnt = (IC_CLK * MIN_FS_SCL_HIGHTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed()
134 writel(hcnt, &i2c_base->ic_fs_scl_hcnt); in __dw_i2c_set_bus_speed()
/OK3568_Linux_fs/kernel/drivers/i3c/master/
H A Ddw-i3c-master.c522 u8 hcnt, lcnt; in dw_i3c_clk_cfg() local
530 hcnt = DIV_ROUND_UP(I3C_BUS_THIGH_MAX_NS, core_period) - 1; in dw_i3c_clk_cfg()
531 if (hcnt < SCL_I3C_TIMING_CNT_MIN) in dw_i3c_clk_cfg()
532 hcnt = SCL_I3C_TIMING_CNT_MIN; in dw_i3c_clk_cfg()
534 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_TYP_I3C_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
538 scl_timing = SCL_I3C_TIMING_HCNT(hcnt) | SCL_I3C_TIMING_LCNT(lcnt); in dw_i3c_clk_cfg()
545 scl_timing = SCL_I3C_TIMING_HCNT(hcnt) | SCL_I3C_TIMING_LCNT(lcnt); in dw_i3c_clk_cfg()
548 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR1_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
550 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR2_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
552 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR3_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_wlfc.c544 _dhd_wlfc_deque_afq(athost_wl_status_info_t* ctx, uint16 hslot, uint8 hcnt, uint8 prec, in _dhd_wlfc_deque_afq() argument
579 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) in _dhd_wlfc_deque_afq()
588 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in _dhd_wlfc_deque_afq()
605 DHD_INFO(("%s: out of order, seq(%d), head_seq(%d)\n", __FUNCTION__, hcnt, in _dhd_wlfc_deque_afq()
2337 dhd_wlfc_suppressed_acked_update(dhd_pub_t *dhd, uint16 hslot, uint8 prec, uint8 hcnt) in dhd_wlfc_suppressed_acked_update() argument
2373 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) { in dhd_wlfc_suppressed_acked_update()
2381 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in dhd_wlfc_suppressed_acked_update()
2433 uint8 fifo_id = 0, gen = 0, count = 0, hcnt; in _dhd_wlfc_compressed_txstatus_update() local
2443 hcnt = WL_TXSTATUS_GET_FREERUNCTR(status); in _dhd_wlfc_compressed_txstatus_update()
2489 dhd_wlfc_suppressed_acked_update(dhd, hslot, fifo_id, hcnt); in _dhd_wlfc_compressed_txstatus_update()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_wlfc.c544 _dhd_wlfc_deque_afq(athost_wl_status_info_t* ctx, uint16 hslot, uint8 hcnt, uint8 prec, in _dhd_wlfc_deque_afq() argument
579 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) in _dhd_wlfc_deque_afq()
588 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in _dhd_wlfc_deque_afq()
605 DHD_INFO(("%s: out of order, seq(%d), head_seq(%d)\n", __FUNCTION__, hcnt, in _dhd_wlfc_deque_afq()
2340 dhd_wlfc_suppressed_acked_update(dhd_pub_t *dhd, uint16 hslot, uint8 prec, uint8 hcnt) in dhd_wlfc_suppressed_acked_update() argument
2376 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) { in dhd_wlfc_suppressed_acked_update()
2384 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in dhd_wlfc_suppressed_acked_update()
2436 uint8 fifo_id = 0, gen = 0, count = 0, hcnt; in _dhd_wlfc_compressed_txstatus_update() local
2446 hcnt = WL_TXSTATUS_GET_FREERUNCTR(status); in _dhd_wlfc_compressed_txstatus_update()
2492 dhd_wlfc_suppressed_acked_update(dhd, hslot, fifo_id, hcnt); in _dhd_wlfc_compressed_txstatus_update()
[all …]
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-designware-common.c230 u16 *hcnt, u16 *lcnt, u32 *sda_hold) in i2c_dw_acpi_params() argument
246 *hcnt = (u16)objs[0].integer.value; in i2c_dw_acpi_params()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_wlfc.c424 _dhd_wlfc_deque_afq(athost_wl_status_info_t* ctx, uint16 hslot, uint8 hcnt, uint8 prec, in _dhd_wlfc_deque_afq() argument
459 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) in _dhd_wlfc_deque_afq()
468 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in _dhd_wlfc_deque_afq()
485 DHD_INFO(("%s: out of order, seq(%d), head_seq(%d)\n", __FUNCTION__, hcnt, in _dhd_wlfc_deque_afq()
2117 dhd_wlfc_suppressed_acked_update(dhd_pub_t *dhd, uint16 hslot, uint8 prec, uint8 hcnt) in dhd_wlfc_suppressed_acked_update() argument
2153 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) { in dhd_wlfc_suppressed_acked_update()
2161 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in dhd_wlfc_suppressed_acked_update()
2213 uint8 fifo_id = 0, gen = 0, count = 0, hcnt; in _dhd_wlfc_compressed_txstatus_update() local
2222 hcnt = WL_TXSTATUS_GET_FREERUNCTR(status); in _dhd_wlfc_compressed_txstatus_update()
2268 dhd_wlfc_suppressed_acked_update(dhd, hslot, fifo_id, hcnt); in _dhd_wlfc_compressed_txstatus_update()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_wlfc.c424 _dhd_wlfc_deque_afq(athost_wl_status_info_t* ctx, uint16 hslot, uint8 hcnt, uint8 prec, in _dhd_wlfc_deque_afq() argument
459 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) in _dhd_wlfc_deque_afq()
468 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in _dhd_wlfc_deque_afq()
485 DHD_INFO(("%s: out of order, seq(%d), head_seq(%d)\n", __FUNCTION__, hcnt, in _dhd_wlfc_deque_afq()
2117 dhd_wlfc_suppressed_acked_update(dhd_pub_t *dhd, uint16 hslot, uint8 prec, uint8 hcnt) in dhd_wlfc_suppressed_acked_update() argument
2153 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) { in dhd_wlfc_suppressed_acked_update()
2161 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in dhd_wlfc_suppressed_acked_update()
2213 uint8 fifo_id = 0, gen = 0, count = 0, hcnt; in _dhd_wlfc_compressed_txstatus_update() local
2222 hcnt = WL_TXSTATUS_GET_FREERUNCTR(status); in _dhd_wlfc_compressed_txstatus_update()
2268 dhd_wlfc_suppressed_acked_update(dhd, hslot, fifo_id, hcnt); in _dhd_wlfc_compressed_txstatus_update()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_wlfc.c424 _dhd_wlfc_deque_afq(athost_wl_status_info_t* ctx, uint16 hslot, uint8 hcnt, uint8 prec, in _dhd_wlfc_deque_afq() argument
459 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) in _dhd_wlfc_deque_afq()
468 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in _dhd_wlfc_deque_afq()
485 DHD_INFO(("%s: out of order, seq(%d), head_seq(%d)\n", __FUNCTION__, hcnt, in _dhd_wlfc_deque_afq()
2120 dhd_wlfc_suppressed_acked_update(dhd_pub_t *dhd, uint16 hslot, uint8 prec, uint8 hcnt) in dhd_wlfc_suppressed_acked_update() argument
2156 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) { in dhd_wlfc_suppressed_acked_update()
2164 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in dhd_wlfc_suppressed_acked_update()
2216 uint8 fifo_id = 0, gen = 0, count = 0, hcnt; in _dhd_wlfc_compressed_txstatus_update() local
2225 hcnt = WL_TXSTATUS_GET_FREERUNCTR(status); in _dhd_wlfc_compressed_txstatus_update()
2271 dhd_wlfc_suppressed_acked_update(dhd, hslot, fifo_id, hcnt); in _dhd_wlfc_compressed_txstatus_update()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_wlfc.c430 _dhd_wlfc_deque_afq(athost_wl_status_info_t* ctx, uint16 hslot, uint8 hcnt, uint8 prec, in _dhd_wlfc_deque_afq() argument
465 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) in _dhd_wlfc_deque_afq()
474 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in _dhd_wlfc_deque_afq()
491 DHD_INFO(("%s: out of order, seq(%d), head_seq(%d)\n", __FUNCTION__, hcnt, in _dhd_wlfc_deque_afq()
2123 dhd_wlfc_suppressed_acked_update(dhd_pub_t *dhd, uint16 hslot, uint8 prec, uint8 hcnt) in dhd_wlfc_suppressed_acked_update() argument
2159 while (p && (hcnt != WL_TXSTATUS_GET_FREERUNCTR(DHD_PKTTAG_H2DTAG(PKTTAG(p))))) { in dhd_wlfc_suppressed_acked_update()
2167 DHD_ERROR(("%s: can't find matching seq(%d)\n", __FUNCTION__, hcnt)); in dhd_wlfc_suppressed_acked_update()
2214 uint8 fifo_id = 0, gen = 0, count = 0, hcnt; in _dhd_wlfc_compressed_txstatus_update() local
2223 hcnt = WL_TXSTATUS_GET_FREERUNCTR(status); in _dhd_wlfc_compressed_txstatus_update()
2265 dhd_wlfc_suppressed_acked_update(dhd, hslot, fifo_id, hcnt); in _dhd_wlfc_compressed_txstatus_update()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/altera/
H A Dsocfpga_stratix10_socdk.dts131 i2c-sda-falling-time-ns = <890>; /* hcnt */
H A Dsocfpga_stratix10_socdk_nand.dts164 i2c-sda-falling-time-ns = <890>; /* hcnt */
/OK3568_Linux_fs/kernel/drivers/mailbox/
H A Dbcm-flexrm-mailbox.c368 u32 hcnt = nhcnt / HEADER_BDCOUNT_MAX; in flexrm_estimate_header_desc_count() local
371 hcnt += 1; in flexrm_estimate_header_desc_count()
373 return hcnt; in flexrm_estimate_header_desc_count()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A Dqib_iba7220.c3410 u32 dw, i, hcnt, dcnt, *data; in autoneg_7220_send() local
3424 hcnt = ARRAY_SIZE(hdr); in autoneg_7220_send()
3427 for (i = 0; i < hcnt; i++) { in autoneg_7220_send()
H A Dqib_iba7322.c5259 u32 dw, i, hcnt, dcnt, *data; in qib_autoneg_7322_send() local
5273 hcnt = ARRAY_SIZE(hdr); in qib_autoneg_7322_send()
5276 for (i = 0; i < hcnt; i++) { in qib_autoneg_7322_send()