Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/
Doa_tc6.c20 int oa_tc6_reg_read(struct oa_tc6 *tc6, const uint32_t reg, uint32_t *val) in oa_tc6_reg_read() argument
34 if (!tc6->protected) { in oa_tc6_reg_read()
49 ret = spi_transceive_dt(tc6->spi, &tx, &rx); in oa_tc6_reg_read()
64 if (tc6->protected) { in oa_tc6_reg_read()
77 int oa_tc6_reg_write(struct oa_tc6 *tc6, const uint32_t reg, uint32_t val) in oa_tc6_reg_write() argument
92 if (!tc6->protected) { in oa_tc6_reg_write()
108 if (tc6->protected) { in oa_tc6_reg_write()
112 ret = spi_transceive_dt(tc6->spi, &tx, &rx); in oa_tc6_reg_write()
135 if (tc6->protected) { in oa_tc6_reg_write()
146 int oa_tc6_reg_rmw(struct oa_tc6 *tc6, const uint32_t reg, in oa_tc6_reg_rmw() argument
[all …]
Deth_lan865x.c33 return oa_tc6_reg_write(ctx->tc6, LAN865x_MAC_NCR, ctl); in lan865x_mac_rxtx_control()
70 return oa_tc6_reg_write(ctx->tc6, LAN865x_MAC_NCFGR, in lan865x_set_config()
131 ctx->tc6->protected = false; in lan865x_gpio_reset()
149 ret = oa_tc6_reg_read(ctx->tc6, LAN865x_DEVID, &val); in lan865x_check_spi()
174 oa_tc6_reg_write(ctx->tc6, 0x000400D8, addr); in lan865x_read_indirect_reg()
175 oa_tc6_reg_write(ctx->tc6, 0x000400DA, 0x02); in lan865x_read_indirect_reg()
177 oa_tc6_reg_read(ctx->tc6, 0x000400D9, &val); in lan865x_read_indirect_reg()
236 oa_tc6_set_protected_ctrl(ctx->tc6, true); in lan865x_init_chip()
281 oa_tc6_reg_write(ctx->tc6, MMS_REG(lan865x_conf[i].mms, in lan865x_init_chip()
297 oa_tc6_reg_write(ctx->tc6, 0x00040087, 0x0083u); /* COL_DET_CTRL0 */ in lan865x_config_plca()
[all …]
Doa_tc6.h152 int oa_tc6_reg_read(struct oa_tc6 *tc6, const uint32_t reg, uint32_t *val);
165 int oa_tc6_reg_write(struct oa_tc6 *tc6, const uint32_t reg, uint32_t val);
176 int oa_tc6_set_protected_ctrl(struct oa_tc6 *tc6, bool prote);
187 int oa_tc6_send_chunks(struct oa_tc6 *tc6, struct net_pkt *pkt);
198 int oa_tc6_read_chunks(struct oa_tc6 *tc6, struct net_pkt *pkt);
215 int oa_tc6_chunk_spi_transfer(struct oa_tc6 *tc6, uint8_t *buf_rx, uint8_t *buf_tx,
227 int oa_tc6_read_status(struct oa_tc6 *tc6, uint32_t *ftr);
242 int oa_tc6_reg_rmw(struct oa_tc6 *tc6, const uint32_t reg,
252 int oa_tc6_check_status(struct oa_tc6 *tc6);
Deth_lan865x_priv.h72 struct oa_tc6 *tc6; member
/Zephyr-latest/dts/arm/atmel/
Dsamd20.dtsi13 tc-6 = &tc6;
35 tc6: tc@42003800 { label
Dsamd21.dtsi11 tc-6 = &tc6;
37 tc6: tc@42003800 { label
Dsamd5x.dtsi35 tc-6 = &tc6;
380 tc6: tc@43001400 { label