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);
77 void (*enable_io_queues)(struct octep_device *oct);
78 void (*disable_io_queues)(struct octep_device *oct);
79 void (*enable_iq)(struct octep_device *oct, int q);
80 void (*disable_iq)(struct octep_device *oct, int q);
81 void (*enable_oq)(struct octep_device *oct, int q);
82 void (*disable_oq)(struct octep_device *oct, int q);
83 void (*reset_io_queues)(struct octep_device *oct);
84 void (*dump_registers)(struct octep_device *oct);
276 static inline u16 OCTEP_MAJOR_REV(struct octep_device *oct) in OCTEP_MAJOR_REV() argument
278 u16 rev = (oct->rev_id & 0xC) >> 2; in OCTEP_MAJOR_REV()
283 static inline u16 OCTEP_MINOR_REV(struct octep_device *oct) in OCTEP_MINOR_REV() argument
285 return (oct->rev_id & 0x3); in OCTEP_MINOR_REV()
311 OCTEP_PCI_WIN_READ(struct octep_device *oct, u64 addr) in OCTEP_PCI_WIN_READ() argument
316 writeq(addr, oct->pci_win_regs.pci_win_rd_addr); in OCTEP_PCI_WIN_READ()
317 val64 = readq(oct->pci_win_regs.pci_win_rd_data); in OCTEP_PCI_WIN_READ()
319 dev_dbg(&oct->pdev->dev, in OCTEP_PCI_WIN_READ()
336 OCTEP_PCI_WIN_WRITE(struct octep_device *oct, u64 addr, u64 val) in OCTEP_PCI_WIN_WRITE() argument
338 writeq(addr, oct->pci_win_regs.pci_win_wr_addr); in OCTEP_PCI_WIN_WRITE()
339 writeq(val, oct->pci_win_regs.pci_win_wr_data); in OCTEP_PCI_WIN_WRITE()
341 dev_dbg(&oct->pdev->dev, in OCTEP_PCI_WIN_WRITE()
347 int octep_device_setup(struct octep_device *oct);
348 int octep_setup_iqs(struct octep_device *oct);
349 void octep_free_iqs(struct octep_device *oct);
350 void octep_clean_iqs(struct octep_device *oct);
351 int octep_setup_oqs(struct octep_device *oct);
352 void octep_free_oqs(struct octep_device *oct);
353 void octep_oq_dbell_init(struct octep_device *oct);
354 void octep_device_setup_cn93_pf(struct octep_device *oct);