Home
last modified time | relevance | path

Searched refs:hw_port_id (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c226 u8 hw_port_id; member
507 ar_reg = build_ar_bind_scheme(scheme->hw_port_id, false); in keygen_bind_port_to_schemes()
516 ar_reg = build_ar_bind_scheme(scheme->hw_port_id, true); in keygen_bind_port_to_schemes()
709 * hw_port_id: HW Port ID
715 int keygen_port_hashing_init(struct fman_keygen *keygen, u8 hw_port_id, in keygen_port_hashing_init() argument
757 scheme->hw_port_id = hw_port_id; in keygen_port_hashing_init()
H A Dfman_keygen.h43 int keygen_port_hashing_init(struct fman_keygen *keygen, u8 hw_port_id,
H A Dfman.c605 static inline u8 hw_port_id_to_sw_port_id(u8 major, u8 hw_port_id) in hw_port_id_to_sw_port_id() argument
609 if (hw_port_id >= BASE_TX_PORTID) in hw_port_id_to_sw_port_id()
610 sw_port_id = hw_port_id - BASE_TX_PORTID; in hw_port_id_to_sw_port_id()
611 else if (hw_port_id >= BASE_RX_PORTID) in hw_port_id_to_sw_port_id()
612 sw_port_id = hw_port_id - BASE_RX_PORTID; in hw_port_id_to_sw_port_id()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c199 u8 hw_port_id; member
480 ar_reg = build_ar_bind_scheme(scheme->hw_port_id, false); in keygen_bind_port_to_schemes()
489 ar_reg = build_ar_bind_scheme(scheme->hw_port_id, true); in keygen_bind_port_to_schemes()
682 * hw_port_id: HW Port ID
688 int keygen_port_hashing_init(struct fman_keygen *keygen, u8 hw_port_id, in keygen_port_hashing_init() argument
730 scheme->hw_port_id = hw_port_id; in keygen_port_hashing_init()
H A Dfman_keygen.h16 int keygen_port_hashing_init(struct fman_keygen *keygen, u8 hw_port_id,
H A Dfman.c579 static inline u8 hw_port_id_to_sw_port_id(u8 major, u8 hw_port_id) in hw_port_id_to_sw_port_id() argument
583 if (hw_port_id >= BASE_TX_PORTID) in hw_port_id_to_sw_port_id()
584 sw_port_id = hw_port_id - BASE_TX_PORTID; in hw_port_id_to_sw_port_id()
585 else if (hw_port_id >= BASE_RX_PORTID) in hw_port_id_to_sw_port_id()
586 sw_port_id = hw_port_id - BASE_RX_PORTID; in hw_port_id_to_sw_port_id()

Completed in 11 milliseconds