Home
last modified time | relevance | path

Searched refs:pps_info (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c153 struct mlx5_pps *pps_info = container_of(work, struct mlx5_pps, in mlx5_pps_out() local
155 struct mlx5_clock *clock = container_of(pps_info, struct mlx5_clock, in mlx5_pps_out()
156 pps_info); in mlx5_pps_out()
167 tstart = clock->pps_info.start[i]; in mlx5_pps_out()
168 clock->pps_info.start[i] = 0; in mlx5_pps_out()
553 clock->pps_info.enabled = !!on; in mlx5_pps_configure()
589 return !(clock->pps_info.pin_caps[pin] & in mlx5_ptp_verify()
592 return !(clock->pps_info.pin_caps[pin] & in mlx5_ptp_verify()
690 clock->pps_info.pin_caps[0] = MLX5_GET(mtpps_reg, out, cap_pin_0_mode); in mlx5_get_pps_caps()
691 clock->pps_info.pin_caps[1] = MLX5_GET(mtpps_reg, out, cap_pin_1_mode); in mlx5_get_pps_caps()
[all …]
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c227 ptp->pps_info.pins[pin].usage = usage; in bnxt_ptp_cfg_pin()
228 ptp->pps_info.pins[pin].state = state; in bnxt_ptp_cfg_pin()
257 pps = &ptp->pps_info; in bnxt_ptp_reapply_pps()
349 ptp->pps_info.pins[pin_id].event = BNXT_PPS_EVENT_EXTERNAL; in bnxt_ptp_enable()
370 ptp->pps_info.pins[0].event = BNXT_PPS_EVENT_INTERNAL; in bnxt_ptp_enable()
647 if (ptp->pps_info.pins[pin].usage <= BNXT_PPS_PIN_PPS_OUT && in bnxt_ptp_verify()
660 struct bnxt_pps *pps_info; in bnxt_ptp_pps_init() local
677 pps_info = &ptp->pps_info; in bnxt_ptp_pps_init()
678 pps_info->num_pins = resp->num_pins; in bnxt_ptp_pps_init()
679 ptp_info->n_pins = pps_info->num_pins; in bnxt_ptp_pps_init()
[all …]
Dbnxt_ptp.h80 struct bnxt_pps pps_info; member
/Linux-v5.15/include/linux/mlx5/
Ddriver.h698 struct mlx5_pps pps_info; member