Home
last modified time | relevance | path

Searched refs:pin_caps (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c594 return !(clock->pps_info.pin_caps[pin] & in mlx5_ptp_verify()
597 return !(clock->pps_info.pin_caps[pin] & in mlx5_ptp_verify()
695 clock->pps_info.pin_caps[0] = MLX5_GET(mtpps_reg, out, cap_pin_0_mode); in mlx5_get_pps_caps()
696 clock->pps_info.pin_caps[1] = MLX5_GET(mtpps_reg, out, cap_pin_1_mode); in mlx5_get_pps_caps()
697 clock->pps_info.pin_caps[2] = MLX5_GET(mtpps_reg, out, cap_pin_2_mode); in mlx5_get_pps_caps()
698 clock->pps_info.pin_caps[3] = MLX5_GET(mtpps_reg, out, cap_pin_3_mode); in mlx5_get_pps_caps()
699 clock->pps_info.pin_caps[4] = MLX5_GET(mtpps_reg, out, cap_pin_4_mode); in mlx5_get_pps_caps()
700 clock->pps_info.pin_caps[5] = MLX5_GET(mtpps_reg, out, cap_pin_5_mode); in mlx5_get_pps_caps()
701 clock->pps_info.pin_caps[6] = MLX5_GET(mtpps_reg, out, cap_pin_6_mode); in mlx5_get_pps_caps()
702 clock->pps_info.pin_caps[7] = MLX5_GET(mtpps_reg, out, cap_pin_7_mode); in mlx5_get_pps_caps()
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c1092 enum i40e_can_set_pins_t pin_caps = i40e_can_set_pins(pf); in i40e_ptp_set_pins() local
1095 if (pin_caps == CANT_DO_PINS) in i40e_ptp_set_pins()
1097 else if (pin_caps == CAN_DO_PINS) in i40e_ptp_set_pins()