Lines Matching refs:oct

64 	void (*setup_iq_regs)(struct octep_device *oct, int q);
65 void (*setup_oq_regs)(struct octep_device *oct, int q);
66 void (*setup_mbox_regs)(struct octep_device *oct, int mbox);
70 int (*soft_reset)(struct octep_device *oct);
71 void (*reinit_regs)(struct octep_device *oct);
74 void (*enable_interrupts)(struct octep_device *oct);
75 void (*disable_interrupts)(struct octep_device *oct);
76 bool (*poll_non_ioq_interrupts)(struct octep_device *oct);
78 void (*enable_io_queues)(struct octep_device *oct);
79 void (*disable_io_queues)(struct octep_device *oct);
80 void (*enable_iq)(struct octep_device *oct, int q);
81 void (*disable_iq)(struct octep_device *oct, int q);
82 void (*enable_oq)(struct octep_device *oct, int q);
83 void (*disable_oq)(struct octep_device *oct, int q);
84 void (*reset_io_queues)(struct octep_device *oct);
85 void (*dump_registers)(struct octep_device *oct);
292 static inline u16 OCTEP_MAJOR_REV(struct octep_device *oct) in OCTEP_MAJOR_REV() argument
294 u16 rev = (oct->rev_id & 0xC) >> 2; in OCTEP_MAJOR_REV()
299 static inline u16 OCTEP_MINOR_REV(struct octep_device *oct) in OCTEP_MINOR_REV() argument
301 return (oct->rev_id & 0x3); in OCTEP_MINOR_REV()
327 OCTEP_PCI_WIN_READ(struct octep_device *oct, u64 addr) in OCTEP_PCI_WIN_READ() argument
332 writeq(addr, oct->pci_win_regs.pci_win_rd_addr); in OCTEP_PCI_WIN_READ()
333 val64 = readq(oct->pci_win_regs.pci_win_rd_data); in OCTEP_PCI_WIN_READ()
335 dev_dbg(&oct->pdev->dev, in OCTEP_PCI_WIN_READ()
352 OCTEP_PCI_WIN_WRITE(struct octep_device *oct, u64 addr, u64 val) in OCTEP_PCI_WIN_WRITE() argument
354 writeq(addr, oct->pci_win_regs.pci_win_wr_addr); in OCTEP_PCI_WIN_WRITE()
355 writeq(val, oct->pci_win_regs.pci_win_wr_data); in OCTEP_PCI_WIN_WRITE()
357 dev_dbg(&oct->pdev->dev, in OCTEP_PCI_WIN_WRITE()
363 int octep_device_setup(struct octep_device *oct);
364 int octep_setup_iqs(struct octep_device *oct);
365 void octep_free_iqs(struct octep_device *oct);
366 void octep_clean_iqs(struct octep_device *oct);
367 int octep_setup_oqs(struct octep_device *oct);
368 void octep_free_oqs(struct octep_device *oct);
369 void octep_oq_dbell_init(struct octep_device *oct);
370 void octep_device_setup_cn93_pf(struct octep_device *oct);