Home
last modified time | relevance | path

Searched refs:timeset (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/sfc/
Dptp.c344 timeset[MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_MAXNUM]; member
864 struct efx_ptp_timeset *timeset) in efx_ptp_read_timeset() argument
868 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART); in efx_ptp_read_timeset()
869 timeset->major = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MAJOR); in efx_ptp_read_timeset()
870 timeset->minor = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MINOR); in efx_ptp_read_timeset()
871 timeset->host_end = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTEND), in efx_ptp_read_timeset()
872 timeset->wait = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_WAITNS); in efx_ptp_read_timeset()
875 start_ns = timeset->host_start & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()
876 end_ns = timeset->host_end & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()
881 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_int.c1308 u8 timeset) in qed_int_cau_conf_pi() argument
1319 SET_FIELD(pi_entry.prod, CAU_PI_ENTRY_PI_TIMESET, timeset); in qed_int_cau_conf_pi()
1373 u8 timeset, timer_res; in qed_int_cau_conf_sb() local
1383 timeset = (u8)(p_hwfn->cdev->rx_coalesce_usecs >> timer_res); in qed_int_cau_conf_sb()
1385 QED_COAL_RX_STATE_MACHINE, timeset); in qed_int_cau_conf_sb()
1393 timeset = (u8)(p_hwfn->cdev->tx_coalesce_usecs >> timer_res); in qed_int_cau_conf_sb()
1398 timeset); in qed_int_cau_conf_sb()
Dqed_dev.c3845 size_t eth_qzone_size, u8 timeset) in qed_set_coalesce() argument
3856 SET_FIELD(p_coal_timeset->value, COALESCING_TIMESET_TIMESET, timeset); in qed_set_coalesce()
3902 u8 timeset, timer_res; in qed_set_rxq_coalesce() local
3917 timeset = (u8)(coalesce >> timer_res); in qed_set_rxq_coalesce()
3928 sizeof(struct ustorm_eth_queue_zone), timeset); in qed_set_rxq_coalesce()
3941 u8 timeset, timer_res; in qed_set_txq_coalesce() local
3956 timeset = (u8)(coalesce >> timer_res); in qed_set_txq_coalesce()
3967 sizeof(struct xstorm_eth_queue_zone), timeset); in qed_set_txq_coalesce()