Lines Matching full:fman
69 /* FMan driver defines */
77 struct fman; /* FMan data */
210 FMAN_MOD_FMAN_CTRL, /* FMAN Controller */
242 FMAN_EV_FMAN_CTRL_0, /* Fman controller event 0 */
243 FMAN_EV_FMAN_CTRL_1, /* Fman controller event 1 */
244 FMAN_EV_FMAN_CTRL_2, /* Fman controller event 2 */
245 FMAN_EV_FMAN_CTRL_3, /* Fman controller event 3 */
255 * fman - Pointer to FMan
263 typedef irqreturn_t (fman_exceptions_cb)(struct fman *fman,
266 * fman - Pointer to FMan
277 typedef irqreturn_t (fman_bus_error_cb)(struct fman *fman, u8 port_id,
282 void __iomem *base_addr; /* FMan virtual address */
283 struct resource *res; /* FMan memory resource */
284 u8 id; /* FMan ID */
286 int err_irq; /* FMan Error IRQ */
288 u16 clk_freq; /* FMan clock freq (In Mhz) */
296 struct fman { struct
309 /* Spinlock for FMan use */
347 void fman_get_revision(struct fman *fman, struct fman_rev_info *rev_info); argument
349 void fman_register_intr(struct fman *fman, enum fman_event_modules mod,
353 void fman_unregister_intr(struct fman *fman, enum fman_event_modules mod,
356 int fman_set_port_params(struct fman *fman,
359 int fman_reset_mac(struct fman *fman, u8 mac_id);
361 u16 fman_get_clock_freq(struct fman *fman);
363 u32 fman_get_bmi_max_fifo_size(struct fman *fman);
365 int fman_set_mac_max_frame(struct fman *fman, u8 mac_id, u16 mfl);
367 u32 fman_get_qman_channel_id(struct fman *fman, u32 port_id);
369 struct resource *fman_get_mem_region(struct fman *fman);
379 struct fman *fman_bind(struct device *dev);