Home
last modified time | relevance | path

Searched refs:tc6 (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/
H A Doa_tc6.c159 static int oa_tc6_spi_transfer(struct oa_tc6 *tc6, in oa_tc6_spi_transfer() argument
166 xfer.tx_buf = tc6->spi_data_tx_buf; in oa_tc6_spi_transfer()
167 xfer.rx_buf = tc6->spi_data_rx_buf; in oa_tc6_spi_transfer()
169 xfer.tx_buf = tc6->spi_ctrl_tx_buf; in oa_tc6_spi_transfer()
170 xfer.rx_buf = tc6->spi_ctrl_rx_buf; in oa_tc6_spi_transfer()
177 return spi_sync(tc6->spi, &msg); 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() argument
213 __be32 *tx_buf = tc6->spi_ctrl_tx_buf + OA_TC6_CTRL_HEADER_SIZE; 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() argument
232 __be32 *tx_buf = tc6->spi_ctrl_tx_buf; in oa_tc6_prepare_ctrl_spi_buf()
[all …]
/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_HASH, in lan865x_set_all_multicast_addr()
[all …]
/linux/include/linux/
H A Doa_tc6.h16 void oa_tc6_exit(struct oa_tc6 *tc6);
17 int oa_tc6_write_register(struct oa_tc6 *tc6, u32 address, u32 value);
18 int oa_tc6_write_registers(struct oa_tc6 *tc6, u32 address, u32 value[],
20 int oa_tc6_read_register(struct oa_tc6 *tc6, u32 address, u32 *value);
21 int oa_tc6_read_registers(struct oa_tc6 *tc6, u32 address, u32 value[],
23 netdev_tx_t oa_tc6_start_xmit(struct oa_tc6 *tc6, struct sk_buff *skb);
24 int oa_tc6_zero_align_receive_frame_enable(struct oa_tc6 *tc6);
/linux/Documentation/networking/
H A Doa-tc6-framework.rst461 .. c:function:: void oa_tc6_exit(struct oa_tc6 *tc6)
465 .. c:function:: int oa_tc6_write_register(struct oa_tc6 *tc6, u32 address, \
470 .. c:function:: int oa_tc6_write_registers(struct oa_tc6 *tc6, u32 address, \
476 .. c:function:: int oa_tc6_read_register(struct oa_tc6 *tc6, u32 address, \
481 .. c:function:: int oa_tc6_read_registers(struct oa_tc6 *tc6, u32 address, \
487 .. c:function:: netdev_tx_t oa_tc6_start_xmit(struct oa_tc6 *tc6, \
493 .. c:function:: int oa_tc6_zero_align_receive_frame_enable(struct oa_tc6 *tc6);
/linux/Documentation/translations/zh_CN/networking/
H A Dindex.rst111 * oa-tc6-framework
/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.c2292 fd3 = bpf_program__fd(skel->progs.tc6); in test_tc_chain_mixed()