Lines Matching defs:index

431 				   unsigned int index)
435 struct lan743x_ptp_perout *perout = &ptp->perout[index];
469 unsigned int index = perout_request->index;
470 struct lan743x_ptp_perout *perout = &ptp->perout[index];
479 perout_request->index);
483 lan743x_ptp_perout_off(adapter, index);
490 lan743x_ptp_perout_off(adapter, index);
493 perout->event_ch = lan743x_ptp_reserve_event_ch(adapter, index);
498 index);
647 lan743x_ptp_perout_off(adapter, index);
652 u32 index)
660 event_ch = ptp->ptp_io_perout[index];
683 ptp->ptp_io_perout[index] = -1;
686 perout_pin = ptp_find_pin(ptp->ptp_clock, PTP_PF_PEROUT, index);
714 u32 index;
717 index = perout_request->index;
718 event_ch = ptp->ptp_io_perout[index];
721 perout_pin = ptp_find_pin(ptp->ptp_clock, PTP_PF_PEROUT, index);
725 lan743x_ptp_io_perout_off(adapter, index);
731 lan743x_ptp_io_perout_off(adapter, index);
734 event_ch = lan743x_ptp_reserve_event_ch(adapter, index);
738 index);
741 ptp->ptp_io_perout[index] = event_ch;
856 lan743x_ptp_io_perout_off(adapter, index);
861 u32 index)
867 extts = &ptp->extts[index];
870 val = PTP_INT_EN_FE_EN_CLR_(index);
872 val = PTP_INT_EN_RE_EN_CLR_(index);
878 val &= ~PTP_IO_CAP_CONFIG_LOCK_FE_(index);
879 val &= ~PTP_IO_CAP_CONFIG_FE_CAP_EN_(index);
881 val &= ~PTP_IO_CAP_CONFIG_LOCK_RE_(index);
882 val &= ~PTP_IO_CAP_CONFIG_RE_CAP_EN_(index);
945 u32 index = extts_request->index;
950 extts = &ptp->extts[index];
953 extts_pin = ptp_find_pin(ptp->ptp_clock, PTP_PF_EXTTS, index);
957 ret = lan743x_ptp_io_event_cap_en(adapter, flags, index);
961 lan743x_ptp_io_extts_off(adapter, index);
978 if (request->extts.index < ptpci->n_ext_ts)
983 if (request->perout.index < ptpci->n_per_out) {
1133 ptp_event.index = channel;
1166 ptp_event.index = channel;
1530 ptp_pin->index = i;
1574 int index;
1596 for (index = 0;
1597 index < LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS;
1598 index++) {
1599 struct sk_buff *skb = ptp->tx_ts_skb_queue[index];
1602 ptp->tx_ts_skb_queue[index] = NULL;
1603 ptp->tx_ts_seconds_queue[index] = 0;
1604 ptp->tx_ts_nseconds_queue[index] = 0;
1744 int index;
1757 for (index = 0; index < adapter->used_tx_channels;
1758 index++)
1759 lan743x_tx_set_timestamping_mode(&adapter->tx[index],
1764 for (index = 0; index < adapter->used_tx_channels;
1765 index++)
1766 lan743x_tx_set_timestamping_mode(&adapter->tx[index],
1771 for (index = 0; index < adapter->used_tx_channels;
1772 index++)
1773 lan743x_tx_set_timestamping_mode(&adapter->tx[index],