Home
last modified time | relevance | path

Searched full:tc6 (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/
H A Doa_tc6.c121 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...]
H A DKconfig151 tristate "OPEN Alliance TC6 10BASE-T1x MAC-PHY support" if COMPILE_TEST
155 This library implements OPEN Alliance TC6 10BASE-T1x MAC-PHY
159 <file:Documentation/networking/oa-tc6-framework.rst>.
/linux/drivers/net/ethernet/microchip/lan865x/
H A Dlan865x.c43 struct oa_tc6 *tc6; member
46 static int lan865x_set_hw_macaddr_low_bytes(struct oa_tc6 *tc6, const u8 *mac) in lan865x_set_hw_macaddr_low_bytes() argument
52 return oa_tc6_write_register(tc6, LAN865X_REG_MAC_L_SADDR1, regval); in lan865x_set_hw_macaddr_low_bytes()
62 ret = lan865x_set_hw_macaddr_low_bytes(priv->tc6, mac); in lan865x_set_hw_macaddr()
68 ret = oa_tc6_write_register(priv->tc6, LAN865X_REG_MAC_H_SADDR1, in lan865x_set_hw_macaddr()
76 restore_ret = lan865x_set_hw_macaddr_low_bytes(priv->tc6, in lan865x_set_hw_macaddr()
149 ret = oa_tc6_write_register(priv->tc6, LAN865X_REG_MAC_H_HASH, hash_hi); in lan865x_set_specific_multicast_addr()
156 ret = oa_tc6_write_register(priv->tc6, LAN865X_REG_MAC_L_HASH, hash_lo); in lan865x_set_specific_multicast_addr()
169 ret = oa_tc6_write_register(priv->tc6, LAN865X_REG_MAC_H_HASH, in lan865x_set_all_multicast_addr()
177 ret = oa_tc6_write_register(priv->tc6, LAN865X_REG_MAC_L_HAS in lan865x_set_all_multicast_addr()
[all...]
/linux/include/linux/
H A Doa_tc6.h13 /* OPEN Alliance TC6 registers */
79 void oa_tc6_exit(struct oa_tc6 *tc6);
80 int oa_tc6_write_register(struct oa_tc6 *tc6, u32 address, u32 value);
81 int oa_tc6_write_register_mms(struct oa_tc6 *tc6, u8 mms, u16 address,
83 int oa_tc6_write_registers(struct oa_tc6 *tc6, u32 address, u32 value[],
85 int oa_tc6_read_register(struct oa_tc6 *tc6, u32 address, u32 *value);
86 int oa_tc6_read_register_mms(struct oa_tc6 *tc6, u8 mms, u16 address,
88 int oa_tc6_read_registers(struct oa_tc6 *tc6, u32 address, u32 value[],
90 netdev_tx_t oa_tc6_start_xmit(struct oa_tc6 *tc6, struct sk_buff *skb);
91 int oa_tc6_zero_align_receive_frame_enable(struct oa_tc6 *tc6);
/linux/drivers/net/ethernet/adi/
H A Dadin1140.c102 struct oa_tc6 *tc6; member
156 ret = oa_tc6_write_register_mms(priv->tc6, OA_TC6_MAC_MMS1, in adin1140_mac_filter_set()
165 ret = oa_tc6_write_register_mms(priv->tc6, OA_TC6_MAC_MMS1, in adin1140_mac_filter_set()
181 ret = oa_tc6_write_register_mms(priv->tc6, OA_TC6_MAC_MMS1, in adin1140_mac_filter_set()
189 return oa_tc6_write_register_mms(priv->tc6, OA_TC6_MAC_MMS1, in adin1140_mac_filter_set()
255 ret = oa_tc6_read_register(priv->tc6, OA_TC6_REG_CONFIG2, &val); in adin1140_promiscuous_mode()
264 return oa_tc6_write_register(priv->tc6, OA_TC6_REG_CONFIG2, val); in adin1140_promiscuous_mode()
352 ret = oa_tc6_read_register_mms(priv->tc6, OA_TC6_MAC_MMS1, in adin1140_stats_work()
371 ret = oa_tc6_zero_align_receive_frame_enable(priv->tc6); in adin1140_configure()
376 ret = oa_tc6_write_register_mms(priv->tc6, OA_TC6_MAC_MMS in adin1140_configure()
[all...]
/linux/Documentation/networking/
H A Doa-tc6-framework.rst4 OPEN Alliance 10BASE-T1x MAC-PHY Serial Interface (TC6) Framework Support
107 | MAC Driver |<--->| OPEN Alliance TC6 Framework |
132 - Initializes OA TC6 framework for the MAC-PHY.
136 - Sends the tx ethernet frames from n/w subsystem to OA TC6 framework.
138 OPEN Alliance TC6 Framework
460 Initialize OA TC6 lib.
462 .. c:function:: void oa_tc6_exit(struct oa_tc6 *tc6)
464 Free allocated OA TC6 lib.
466 .. c:function:: int oa_tc6_write_register(struct oa_tc6 *tc6, u32 address, \
471 .. c:function:: int oa_tc6_write_registers(struct oa_tc6 *tc6, u3
[all...]
H A Dindex.rst90 oa-tc6-framework
/linux/Documentation/devicetree/bindings/net/
H A Dadi,ad3306.yaml16 The device tries to implement the Open Alliance TC6 10BASE-T1x MAC-PHY
/linux/Documentation/translations/zh_CN/networking/
H A Dindex.rst113 * oa-tc6-framework
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c80 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in i40e_parse_ieee_etscfg_tlv()
89 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in i40e_parse_ieee_etscfg_tlv()
133 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in i40e_parse_ieee_etsrec_tlv()
142 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in i40e_parse_ieee_etsrec_tlv()
1000 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in i40e_add_ieee_ets_tlv()
1009 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in i40e_add_ieee_ets_tlv()
1064 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in i40e_add_ieee_etsrec_tlv()
1073 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in i40e_add_ieee_etsrec_tlv()
/linux/arch/mips/include/asm/dec/
H A Dinterrupts.h71 /* TC5 & TC6 are virtual slots for KN02's onboard devices */
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_links.c1595 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc6, target), in test_tc_chain_mixed()
1604 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc6)); in test_tc_chain_mixed()
1623 link = bpf_program__attach_tcx(skel->progs.tc6, loopback, &optl); in test_tc_chain_mixed()
1627 skel->links.tc6 = link; in test_tc_chain_mixed()
1638 err = bpf_link__update_program(skel->links.tc6, skel->progs.tc4); in test_tc_chain_mixed()
1651 err = bpf_link__detach(skel->links.tc6); in test_tc_chain_mixed()
H A Dtc_opts.c2290 fd3 = bpf_program__fd(skel->progs.tc6); in test_tc_chain_mixed()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb.c184 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in ice_parse_ieee_ets_common_tlv()
190 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in ice_parse_ieee_ets_common_tlv()
1092 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in ice_add_ieee_ets_common_tlv()
1098 * |tc0|tc1|tc2|tc3|tc4|tc5|tc6|tc7| in ice_add_ieee_ets_common_tlv()
/linux/
H A DMAINTAINERS20710 F: Documentation/networking/oa-tc6-framework.rst