| H A D | oa_tc6.c | 121 static int oa_tc6_spi_transfer(struct oa_tc6 *tc6, in oa_tc6_spi_transfer() 128 xfer.tx_buf = tc6->spi_data_tx_buf; in oa_tc6_spi_transfer() 129 xfer.rx_buf = tc6->spi_data_rx_buf; in oa_tc6_spi_transfer() 131 xfer.tx_buf = tc6->spi_ctrl_tx_buf; in oa_tc6_spi_transfer() 132 xfer.rx_buf = tc6->spi_ctrl_rx_buf; in oa_tc6_spi_transfer() 139 return spi_sync(tc6->spi, &msg); in oa_tc6_get_parity() 172 static void oa_tc6_update_ctrl_write_data(struct oa_tc6 *tc6, u32 value[], in oa_tc6_update_ctrl_write_data() 175 __be32 *tx_buf = tc6->spi_ctrl_tx_buf + OA_TC6_CTRL_HEADER_SIZE; in oa_tc6_update_ctrl_write_data() 179 if (tc6->prot_ctrl) in oa_tc6_update_ctrl_write_data() 199 static void oa_tc6_prepare_ctrl_spi_buf(struct oa_tc6 *tc6, u3 in oa_tc6_prepare_ctrl_spi_buf() 118 oa_tc6_spi_transfer(struct oa_tc6 * tc6,enum oa_tc6_header_type header_type,u16 length) oa_tc6_spi_transfer() argument 169 oa_tc6_update_ctrl_write_data(struct oa_tc6 * tc6,u32 value[],u8 length) oa_tc6_update_ctrl_write_data() argument 196 oa_tc6_prepare_ctrl_spi_buf(struct oa_tc6 * tc6,u32 address,u32 value[],u8 length,enum oa_tc6_register_op reg_op,u16 buf_size) oa_tc6_prepare_ctrl_spi_buf() argument 210 oa_tc6_check_ctrl_write_reply(struct oa_tc6 * tc6,u8 size) oa_tc6_check_ctrl_write_reply() argument 226 oa_tc6_check_ctrl_read_reply(struct oa_tc6 * tc6,u8 length) oa_tc6_check_ctrl_read_reply() argument 256 oa_tc6_copy_ctrl_read_data(struct oa_tc6 * tc6,u32 value[],u8 length) oa_tc6_copy_ctrl_read_data() argument 271 oa_tc6_perform_ctrl(struct oa_tc6 * tc6,u32 address,u32 value[],u8 length,enum oa_tc6_register_op reg_op) oa_tc6_perform_ctrl() argument 315 oa_tc6_read_registers(struct oa_tc6 * tc6,u32 address,u32 value[],u8 length) oa_tc6_read_registers() argument 342 oa_tc6_read_register(struct oa_tc6 * tc6,u32 address,u32 * value) oa_tc6_read_register() argument 358 oa_tc6_read_register_mms(struct oa_tc6 * tc6,u8 mms,u16 address,u32 * value) oa_tc6_read_register_mms() argument 380 oa_tc6_write_registers(struct oa_tc6 * tc6,u32 address,u32 value[],u8 length) oa_tc6_write_registers() argument 407 oa_tc6_write_register(struct oa_tc6 * tc6,u32 address,u32 value) oa_tc6_write_register() argument 423 oa_tc6_write_register_mms(struct oa_tc6 * tc6,u8 mms,u16 address,u32 value) oa_tc6_write_register_mms() argument 434 oa_tc6_check_phy_reg_direct_access_capability(struct oa_tc6 * tc6) oa_tc6_check_phy_reg_direct_access_capability() argument 456 struct oa_tc6 *tc6 = bus->priv; oa_tc6_mdiobus_read() local 472 struct oa_tc6 *tc6 = bus->priv; oa_tc6_mdiobus_write() local 500 struct oa_tc6 *tc6 = bus->priv; oa_tc6_mdiobus_read_c45() local 520 struct oa_tc6 *tc6 = bus->priv; oa_tc6_mdiobus_write_c45() local 531 oa_tc6_mdiobus_register(struct oa_tc6 * tc6) oa_tc6_mdiobus_register() argument 572 oa_tc6_mdiobus_unregister(struct oa_tc6 * tc6) oa_tc6_mdiobus_unregister() argument 578 oa_tc6_phy_init(struct oa_tc6 * tc6) oa_tc6_phy_init() argument 619 oa_tc6_phy_exit(struct oa_tc6 * tc6) oa_tc6_phy_exit() argument 628 oa_tc6_read_status0(struct oa_tc6 * tc6) oa_tc6_read_status0() argument 643 oa_tc6_sw_reset_macphy(struct oa_tc6 * tc6) oa_tc6_sw_reset_macphy() argument 664 oa_tc6_unmask_macphy_error_interrupts(struct oa_tc6 * tc6) oa_tc6_unmask_macphy_error_interrupts() argument 681 oa_tc6_enable_data_transfer(struct oa_tc6 * tc6) oa_tc6_enable_data_transfer() argument 697 oa_tc6_drop_tx_skb(struct oa_tc6 * tc6,struct sk_buff * skb) oa_tc6_drop_tx_skb() argument 705 oa_tc6_detach_waiting_tx_skb(struct oa_tc6 * tc6) oa_tc6_detach_waiting_tx_skb() argument 716 oa_tc6_cleanup_ongoing_rx_skb(struct oa_tc6 * tc6) oa_tc6_cleanup_ongoing_rx_skb() argument 725 oa_tc6_cleanup_ongoing_tx_skb(struct oa_tc6 * tc6) oa_tc6_cleanup_ongoing_tx_skb() argument 731 oa_tc6_cleanup_waiting_tx_skb(struct oa_tc6 * tc6) oa_tc6_cleanup_waiting_tx_skb() argument 742 oa_tc6_free_ongoing_skbs(struct oa_tc6 * tc6) oa_tc6_free_ongoing_skbs() argument 748 oa_tc6_free_pending_skbs(struct oa_tc6 * tc6) oa_tc6_free_pending_skbs() argument 754 oa_tc6_look_for_new_frame(struct oa_tc6 * tc6) oa_tc6_look_for_new_frame() argument 764 oa_tc6_disable_traffic(struct oa_tc6 * tc6) oa_tc6_disable_traffic() argument 786 oa_tc6_process_extended_status(struct oa_tc6 * tc6) oa_tc6_process_extended_status() argument 838 oa_tc6_process_rx_chunk_footer(struct oa_tc6 * tc6,u32 footer) oa_tc6_process_rx_chunk_footer() argument 877 oa_tc6_submit_rx_skb(struct oa_tc6 * tc6) oa_tc6_submit_rx_skb() argument 907 oa_tc6_update_rx_skb(struct oa_tc6 * tc6,u8 * payload,u8 length) oa_tc6_update_rx_skb() argument 925 oa_tc6_allocate_rx_skb(struct oa_tc6 * tc6) oa_tc6_allocate_rx_skb() argument 938 oa_tc6_prcs_complete_rx_frame(struct oa_tc6 * tc6,u8 * payload,u16 size) oa_tc6_prcs_complete_rx_frame() argument 956 oa_tc6_prcs_rx_frame_start(struct oa_tc6 * tc6,u8 * payload,u16 size) oa_tc6_prcs_rx_frame_start() argument 967 oa_tc6_prcs_rx_frame_end(struct oa_tc6 * tc6,u8 * payload,u16 size) oa_tc6_prcs_rx_frame_end() argument 977 oa_tc6_prcs_ongoing_rx_frame(struct oa_tc6 * tc6,u8 * payload,u32 footer) oa_tc6_prcs_ongoing_rx_frame() argument 984 oa_tc6_prcs_rx_chunk_payload(struct oa_tc6 * tc6,u8 * data,u32 footer) oa_tc6_prcs_rx_chunk_payload() argument 1055 oa_tc6_get_rx_chunk_footer(struct oa_tc6 * tc6,u16 footer_offset) oa_tc6_get_rx_chunk_footer() argument 1065 oa_tc6_process_spi_data_rx_buf(struct oa_tc6 * tc6,u16 length) oa_tc6_process_spi_data_rx_buf() argument 1143 oa_tc6_add_tx_skb_to_spi_buf(struct oa_tc6 * tc6) oa_tc6_add_tx_skb_to_spi_buf() argument 1192 oa_tc6_prepare_spi_tx_buf_for_tx_skbs(struct oa_tc6 * tc6) oa_tc6_prepare_spi_tx_buf_for_tx_skbs() argument 1215 oa_tc6_add_empty_chunks_to_spi_buf(struct oa_tc6 * tc6,u16 needed_empty_chunks) oa_tc6_add_empty_chunks_to_spi_buf() argument 1233 oa_tc6_prepare_spi_tx_buf_for_rx_chunks(struct oa_tc6 * tc6,u16 len) oa_tc6_prepare_spi_tx_buf_for_rx_chunks() argument 1252 oa_tc6_try_spi_transfer(struct oa_tc6 * tc6) oa_tc6_try_spi_transfer() argument 1301 struct oa_tc6 *tc6 = data; oa_tc6_macphy_threaded_irq() local 1329 oa_tc6_update_buffer_status_from_register(struct oa_tc6 * tc6) oa_tc6_update_buffer_status_from_register() argument 1352 struct oa_tc6 *tc6 = data; oa_tc6_macphy_isr() local 1379 oa_tc6_zero_align_receive_frame_enable(struct oa_tc6 * tc6) oa_tc6_zero_align_receive_frame_enable() argument 1407 oa_tc6_start_xmit(struct oa_tc6 * tc6,struct sk_buff * skb) oa_tc6_start_xmit() argument 1435 oa_tc6_check_ctrl_protection(struct oa_tc6 * tc6) oa_tc6_check_ctrl_protection() argument 1461 struct oa_tc6 *tc6; oa_tc6_init() local 1581 oa_tc6_exit(struct oa_tc6 * tc6) oa_tc6_exit() argument [all...] |