igb 742 drivers/net/ethernet/intel/igb/igb_main.c struct igb_adapter *igb = container_of(hw, struct igb_adapter, hw); igb 753 drivers/net/ethernet/intel/igb/igb_main.c struct net_device *netdev = igb->netdev; igb 756 drivers/net/ethernet/intel/igb/igb_main.c WARN(pci_device_is_present(igb->pdev), igb 76 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(cc, struct igb_adapter, cc); igb 77 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 93 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(cc, struct igb_adapter, cc); igb 94 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 196 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(ptp, struct igb_adapter, igb 198 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 225 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(ptp, struct igb_adapter, igb 227 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 251 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(ptp, struct igb_adapter, igb 255 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 256 drivers/net/ethernet/intel/igb/igb_ptp.c timecounter_adjtime(&igb->tc, delta); igb 257 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 264 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(ptp, struct igb_adapter, igb 269 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 271 drivers/net/ethernet/intel/igb/igb_ptp.c igb_ptp_read_i210(igb, &now); igb 273 drivers/net/ethernet/intel/igb/igb_ptp.c igb_ptp_write_i210(igb, (const struct timespec64 *)&now); igb 275 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 284 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(ptp, struct igb_adapter, igb 286 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 291 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 298 drivers/net/ethernet/intel/igb/igb_ptp.c ns = timecounter_cyc2time(&igb->tc, ((u64)hi << 32) | lo); igb 300 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 311 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(ptp, struct igb_adapter, igb 313 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 318 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 326 drivers/net/ethernet/intel/igb/igb_ptp.c ns = timecounter_cyc2time(&igb->tc, ((u64)hi << 32) | lo); igb 328 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 339 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(ptp, struct igb_adapter, igb 341 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 344 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 352 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 360 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(ptp, struct igb_adapter, igb 367 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 369 drivers/net/ethernet/intel/igb/igb_ptp.c timecounter_init(&igb->tc, &igb->cc, ns); igb 371 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 379 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = container_of(ptp, struct igb_adapter, igb 383 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 385 drivers/net/ethernet/intel/igb/igb_ptp.c igb_ptp_write_i210(igb, ts); igb 387 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 408 drivers/net/ethernet/intel/igb/igb_ptp.c static void igb_pin_extts(struct igb_adapter *igb, int chan, int pin) igb 419 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 444 drivers/net/ethernet/intel/igb/igb_ptp.c static void igb_pin_perout(struct igb_adapter *igb, int chan, int pin, int freq) igb 475 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 513 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = igb 515 drivers/net/ethernet/intel/igb/igb_ptp.c struct e1000_hw *hw = &igb->hw; igb 538 drivers/net/ethernet/intel/igb/igb_ptp.c pin = ptp_find_pin(igb->ptp_clock, PTP_PF_EXTTS, igb 550 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 554 drivers/net/ethernet/intel/igb/igb_ptp.c igb_pin_extts(igb, rq->extts.index, pin); igb 563 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 572 drivers/net/ethernet/intel/igb/igb_ptp.c pin = ptp_find_pin(igb->ptp_clock, PTP_PF_PEROUT, igb 611 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 623 drivers/net/ethernet/intel/igb/igb_ptp.c igb_pin_perout(igb, i, pin, use_freq); igb 624 drivers/net/ethernet/intel/igb/igb_ptp.c igb->perout[i].start.tv_sec = rq->perout.start.sec; igb 625 drivers/net/ethernet/intel/igb/igb_ptp.c igb->perout[i].start.tv_nsec = rq->perout.start.nsec; igb 626 drivers/net/ethernet/intel/igb/igb_ptp.c igb->perout[i].period.tv_sec = ts.tv_sec; igb 627 drivers/net/ethernet/intel/igb/igb_ptp.c igb->perout[i].period.tv_nsec = ts.tv_nsec; igb 637 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 641 drivers/net/ethernet/intel/igb/igb_ptp.c spin_lock_irqsave(&igb->tmreg_lock, flags); igb 647 drivers/net/ethernet/intel/igb/igb_ptp.c igb->pps_sys_wrap_on = !!on; igb 649 drivers/net/ethernet/intel/igb/igb_ptp.c spin_unlock_irqrestore(&igb->tmreg_lock, flags); igb 717 drivers/net/ethernet/intel/igb/igb_ptp.c struct igb_adapter *igb = igb 723 drivers/net/ethernet/intel/igb/igb_ptp.c ns = timecounter_read(&igb->tc); igb 729 drivers/net/ethernet/intel/igb/igb_ptp.c schedule_delayed_work(&igb->ptp_overflow_work,