Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c275 u8 *pin_state, *pin_usg; in bnxt_ptp_cfg_pin() local
293 pin_usg = &req->pin0_usage; in bnxt_ptp_cfg_pin()
296 *(pin_usg + (pin * 2)) = usage; in bnxt_ptp_cfg_pin()
794 u8 *pin_usg; in bnxt_ptp_pps_init() local
822 pin_usg = &resp->pin0_usage; in bnxt_ptp_pps_init()
823 for (i = 0; i < pps_info->num_pins; i++, pin_usg++) { in bnxt_ptp_pps_init()
828 if (*pin_usg == BNXT_PPS_PIN_PPS_IN) in bnxt_ptp_pps_init()
830 else if (*pin_usg == BNXT_PPS_PIN_PPS_OUT) in bnxt_ptp_pps_init()
835 pps_info->pins[i].usage = *pin_usg; in bnxt_ptp_pps_init()