Lines Matching defs:tc6
159 static int oa_tc6_spi_transfer(struct oa_tc6 *tc6, in oa_tc6_spi_transfer()
210 static void oa_tc6_update_ctrl_write_data(struct oa_tc6 *tc6, u32 value[], in oa_tc6_update_ctrl_write_data()
228 static void oa_tc6_prepare_ctrl_spi_buf(struct oa_tc6 *tc6, u32 address, in oa_tc6_prepare_ctrl_spi_buf()
240 static int oa_tc6_check_ctrl_write_reply(struct oa_tc6 *tc6, u8 size) in oa_tc6_check_ctrl_write_reply()
256 static int oa_tc6_check_ctrl_read_reply(struct oa_tc6 *tc6, u8 size) in oa_tc6_check_ctrl_read_reply()
270 static void oa_tc6_copy_ctrl_read_data(struct oa_tc6 *tc6, u32 value[], in oa_tc6_copy_ctrl_read_data()
280 static int oa_tc6_perform_ctrl(struct oa_tc6 *tc6, u32 address, u32 value[], in oa_tc6_perform_ctrl()
324 int oa_tc6_read_registers(struct oa_tc6 *tc6, u32 address, u32 value[], in oa_tc6_read_registers()
351 int oa_tc6_read_register(struct oa_tc6 *tc6, u32 address, u32 *value) in oa_tc6_read_register()
368 int oa_tc6_write_registers(struct oa_tc6 *tc6, u32 address, u32 value[], in oa_tc6_write_registers()
395 int oa_tc6_write_register(struct oa_tc6 *tc6, u32 address, u32 value) in oa_tc6_write_register()
401 static int oa_tc6_check_phy_reg_direct_access_capability(struct oa_tc6 *tc6) in oa_tc6_check_phy_reg_direct_access_capability()
423 struct oa_tc6 *tc6 = bus->priv; in oa_tc6_mdiobus_read() local
439 struct oa_tc6 *tc6 = bus->priv; in oa_tc6_mdiobus_write() local
467 struct oa_tc6 *tc6 = bus->priv; in oa_tc6_mdiobus_read_c45() local
485 struct oa_tc6 *tc6 = bus->priv; in oa_tc6_mdiobus_write_c45() local
495 static int oa_tc6_mdiobus_register(struct oa_tc6 *tc6) in oa_tc6_mdiobus_register()
536 static void oa_tc6_mdiobus_unregister(struct oa_tc6 *tc6) in oa_tc6_mdiobus_unregister()
542 static int oa_tc6_phy_init(struct oa_tc6 *tc6) in oa_tc6_phy_init()
580 static void oa_tc6_phy_exit(struct oa_tc6 *tc6) in oa_tc6_phy_exit()
586 static int oa_tc6_read_status0(struct oa_tc6 *tc6) in oa_tc6_read_status0()
601 static int oa_tc6_sw_reset_macphy(struct oa_tc6 *tc6) in oa_tc6_sw_reset_macphy()
622 static int oa_tc6_unmask_macphy_error_interrupts(struct oa_tc6 *tc6) in oa_tc6_unmask_macphy_error_interrupts()
639 static int oa_tc6_enable_data_transfer(struct oa_tc6 *tc6) in oa_tc6_enable_data_transfer()
654 static void oa_tc6_cleanup_ongoing_rx_skb(struct oa_tc6 *tc6) in oa_tc6_cleanup_ongoing_rx_skb()
663 static void oa_tc6_cleanup_ongoing_tx_skb(struct oa_tc6 *tc6) in oa_tc6_cleanup_ongoing_tx_skb()
672 static int oa_tc6_process_extended_status(struct oa_tc6 *tc6) in oa_tc6_process_extended_status()
718 static int oa_tc6_process_rx_chunk_footer(struct oa_tc6 *tc6, u32 footer) in oa_tc6_process_rx_chunk_footer()
753 static void oa_tc6_submit_rx_skb(struct oa_tc6 *tc6) in oa_tc6_submit_rx_skb()
764 static void oa_tc6_update_rx_skb(struct oa_tc6 *tc6, u8 *payload, u8 length) in oa_tc6_update_rx_skb()
769 static int oa_tc6_allocate_rx_skb(struct oa_tc6 *tc6) in oa_tc6_allocate_rx_skb()
781 static int oa_tc6_prcs_complete_rx_frame(struct oa_tc6 *tc6, u8 *payload, in oa_tc6_prcs_complete_rx_frame()
797 static int oa_tc6_prcs_rx_frame_start(struct oa_tc6 *tc6, u8 *payload, u16 size) in oa_tc6_prcs_rx_frame_start()
810 static void oa_tc6_prcs_rx_frame_end(struct oa_tc6 *tc6, u8 *payload, u16 size) in oa_tc6_prcs_rx_frame_end()
817 static void oa_tc6_prcs_ongoing_rx_frame(struct oa_tc6 *tc6, u8 *payload, in oa_tc6_prcs_ongoing_rx_frame()
823 static int oa_tc6_prcs_rx_chunk_payload(struct oa_tc6 *tc6, u8 *data, in oa_tc6_prcs_rx_chunk_payload()
888 static u32 oa_tc6_get_rx_chunk_footer(struct oa_tc6 *tc6, u16 footer_offset) in oa_tc6_get_rx_chunk_footer()
898 static int oa_tc6_process_spi_data_rx_buf(struct oa_tc6 *tc6, u16 length) in oa_tc6_process_spi_data_rx_buf()
949 static void oa_tc6_add_tx_skb_to_spi_buf(struct oa_tc6 *tc6) in oa_tc6_add_tx_skb_to_spi_buf()
998 static u16 oa_tc6_prepare_spi_tx_buf_for_tx_skbs(struct oa_tc6 *tc6) in oa_tc6_prepare_spi_tx_buf_for_tx_skbs()
1021 static void oa_tc6_add_empty_chunks_to_spi_buf(struct oa_tc6 *tc6, in oa_tc6_add_empty_chunks_to_spi_buf()
1039 static u16 oa_tc6_prepare_spi_tx_buf_for_rx_chunks(struct oa_tc6 *tc6, u16 len) in oa_tc6_prepare_spi_tx_buf_for_rx_chunks()
1058 static int oa_tc6_try_spi_transfer(struct oa_tc6 *tc6) in oa_tc6_try_spi_transfer()
1110 struct oa_tc6 *tc6 = data; in oa_tc6_spi_thread_handler() local
1133 static int oa_tc6_update_buffer_status_from_register(struct oa_tc6 *tc6) in oa_tc6_update_buffer_status_from_register()
1155 struct oa_tc6 *tc6 = data; in oa_tc6_macphy_isr() local
1178 int oa_tc6_zero_align_receive_frame_enable(struct oa_tc6 *tc6) in oa_tc6_zero_align_receive_frame_enable()
1203 netdev_tx_t oa_tc6_start_xmit(struct oa_tc6 *tc6, struct sk_buff *skb) in oa_tc6_start_xmit()
1237 struct oa_tc6 *tc6; in oa_tc6_init() local
1356 void oa_tc6_exit(struct oa_tc6 *tc6) in oa_tc6_exit()