Lines Matching refs:oct
62 void (*setup_iq_regs)(struct octep_device *oct, int q);
63 void (*setup_oq_regs)(struct octep_device *oct, int q);
64 void (*setup_mbox_regs)(struct octep_device *oct, int mbox);
68 int (*soft_reset)(struct octep_device *oct);
69 void (*reinit_regs)(struct octep_device *oct);
72 void (*enable_interrupts)(struct octep_device *oct);
73 void (*disable_interrupts)(struct octep_device *oct);
75 void (*enable_io_queues)(struct octep_device *oct);
76 void (*disable_io_queues)(struct octep_device *oct);
77 void (*enable_iq)(struct octep_device *oct, int q);
78 void (*disable_iq)(struct octep_device *oct, int q);
79 void (*enable_oq)(struct octep_device *oct, int q);
80 void (*disable_oq)(struct octep_device *oct, int q);
81 void (*reset_io_queues)(struct octep_device *oct);
82 void (*dump_registers)(struct octep_device *oct);
274 static inline u16 OCTEP_MAJOR_REV(struct octep_device *oct) in OCTEP_MAJOR_REV() argument
276 u16 rev = (oct->rev_id & 0xC) >> 2; in OCTEP_MAJOR_REV()
281 static inline u16 OCTEP_MINOR_REV(struct octep_device *oct) in OCTEP_MINOR_REV() argument
283 return (oct->rev_id & 0x3); in OCTEP_MINOR_REV()
309 OCTEP_PCI_WIN_READ(struct octep_device *oct, u64 addr) in OCTEP_PCI_WIN_READ() argument
314 writeq(addr, oct->pci_win_regs.pci_win_rd_addr); in OCTEP_PCI_WIN_READ()
315 val64 = readq(oct->pci_win_regs.pci_win_rd_data); in OCTEP_PCI_WIN_READ()
317 dev_dbg(&oct->pdev->dev, in OCTEP_PCI_WIN_READ()
334 OCTEP_PCI_WIN_WRITE(struct octep_device *oct, u64 addr, u64 val) in OCTEP_PCI_WIN_WRITE() argument
336 writeq(addr, oct->pci_win_regs.pci_win_wr_addr); in OCTEP_PCI_WIN_WRITE()
337 writeq(val, oct->pci_win_regs.pci_win_wr_data); in OCTEP_PCI_WIN_WRITE()
339 dev_dbg(&oct->pdev->dev, in OCTEP_PCI_WIN_WRITE()
345 int octep_device_setup(struct octep_device *oct);
346 int octep_setup_iqs(struct octep_device *oct);
347 void octep_free_iqs(struct octep_device *oct);
348 void octep_clean_iqs(struct octep_device *oct);
349 int octep_setup_oqs(struct octep_device *oct);
350 void octep_free_oqs(struct octep_device *oct);
351 void octep_oq_dbell_init(struct octep_device *oct);
352 void octep_device_setup_cn93_pf(struct octep_device *oct);