Searched refs:timeset (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/sfc/ |
D | ptp.c | 344 timeset[MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_MAXNUM]; member 874 struct efx_ptp_timeset *timeset) in efx_ptp_read_timeset() argument 878 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART); in efx_ptp_read_timeset() 879 timeset->major = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MAJOR); in efx_ptp_read_timeset() 880 timeset->minor = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MINOR); in efx_ptp_read_timeset() 881 timeset->host_end = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTEND), in efx_ptp_read_timeset() 882 timeset->wait = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_WAITNS); in efx_ptp_read_timeset() 885 start_ns = timeset->host_start & MC_NANOSECOND_MASK; in efx_ptp_read_timeset() 886 end_ns = timeset->host_end & MC_NANOSECOND_MASK; in efx_ptp_read_timeset() 891 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset() [all …]
|
/Linux-v6.6/drivers/net/ethernet/sfc/siena/ |
D | ptp.c | 346 timeset[MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_MAXNUM]; member 893 struct efx_ptp_timeset *timeset) in efx_ptp_read_timeset() argument 897 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART); in efx_ptp_read_timeset() 898 timeset->major = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MAJOR); in efx_ptp_read_timeset() 899 timeset->minor = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MINOR); in efx_ptp_read_timeset() 900 timeset->host_end = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTEND), in efx_ptp_read_timeset() 901 timeset->wait = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_WAITNS); in efx_ptp_read_timeset() 904 start_ns = timeset->host_start & MC_NANOSECOND_MASK; in efx_ptp_read_timeset() 905 end_ns = timeset->host_end & MC_NANOSECOND_MASK; in efx_ptp_read_timeset() 910 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset() [all …]
|
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/ |
D | qed_int.c | 1496 u8 timeset) in qed_int_cau_conf_pi() argument 1504 SET_FIELD(prod, CAU_PI_ENTRY_PI_TIMESET, timeset); in qed_int_cau_conf_pi() 1557 u8 timeset, timer_res; in qed_int_cau_conf_sb() local 1567 timeset = (u8)(p_hwfn->cdev->rx_coalesce_usecs >> timer_res); in qed_int_cau_conf_sb() 1569 QED_COAL_RX_STATE_MACHINE, timeset); in qed_int_cau_conf_sb() 1577 timeset = (u8)(p_hwfn->cdev->tx_coalesce_usecs >> timer_res); in qed_int_cau_conf_sb() 1582 timeset); in qed_int_cau_conf_sb()
|
D | qed_dev.c | 4893 size_t eth_qzone_size, u8 timeset) in qed_set_coalesce() argument 4904 SET_FIELD(p_coal_timeset->value, COALESCING_TIMESET_TIMESET, timeset); in qed_set_coalesce() 4950 u8 timeset, timer_res; in qed_set_rxq_coalesce() local 4965 timeset = (u8)(coalesce >> timer_res); in qed_set_rxq_coalesce() 4976 sizeof(struct ustorm_eth_queue_zone), timeset); in qed_set_rxq_coalesce() 4989 u8 timeset, timer_res; in qed_set_txq_coalesce() local 5004 timeset = (u8)(coalesce >> timer_res); in qed_set_txq_coalesce() 5015 sizeof(struct xstorm_eth_queue_zone), timeset); in qed_set_txq_coalesce()
|