Home
last modified time | relevance | path

Searched refs:etsec (Results 1 – 19 of 19) sorted by relevance

/openbmc/qemu/hw/net/fsl_etsec/
H A Drings.c165 etsec->tx_buffer = g_realloc(etsec->tx_buffer, in tx_padding_and_crc()
168 memset(etsec->tx_buffer + etsec->tx_buffer_len, 0x0, add); in tx_padding_and_crc()
239 etsec->tx_buffer = g_realloc(etsec->tx_buffer, in process_tx_bd()
241 tmp_buff = etsec->tx_buffer + etsec->tx_buffer_len; in process_tx_bd()
415 etsec->regs[MRBLR].value - etsec->rx_fcb_size); in fill_rx_bd()
459 memset(etsec->rx_fcb, 0x0, sizeof(etsec->rx_fcb)); in rx_init_frame()
479 etsec->rx_padding += 60 - etsec->rx_buffer_len; in rx_init_frame()
483 etsec->rx_remaining_data = etsec->rx_buffer_len; in rx_init_frame()
485 etsec->rx_buffer_len, etsec->rx_padding); in rx_init_frame()
546 + (etsec->rx_buffer_len - etsec->rx_remaining_data); in etsec_walk_rx_ring()
[all …]
H A Detsec.c298 eTSEC *etsec = opaque; in etsec_timer_hit() local
300 ptimer_stop(etsec->ptimer); in etsec_timer_hit()
338 etsec->tx_buffer_len = 0; in etsec_reset()
340 etsec->rx_buffer_len = 0; in etsec_reset()
342 etsec->phy_status = in etsec_reset()
349 etsec_update_irq(etsec); in etsec_reset()
364 etsec->need_flush = false; in etsec_receive()
393 etsec->nic = qemu_new_nic(&net_etsec_info, &etsec->conf, in etsec_realize()
396 qemu_format_nic_info_str(qemu_get_queue(etsec->nic), etsec->conf.macaddr.a); in etsec_realize()
398 etsec->ptimer = ptimer_init(etsec_timer_hit, etsec, PTIMER_POLICY_LEGACY); in etsec_realize()
[all …]
H A Dmiim.c39 static void miim_read_cycle(eTSEC *etsec) in miim_read_cycle() argument
47 addr = etsec->regs[MIIMADD].value & 0x1F; in miim_read_cycle()
51 value = etsec->phy_control; in miim_read_cycle()
54 value = etsec->phy_status; in miim_read_cycle()
68 etsec->regs[MIIMSTAT].value = value; in miim_read_cycle()
71 static void miim_write_cycle(eTSEC *etsec) in miim_write_cycle() argument
79 addr = etsec->regs[MIIMADD].value & 0x1F; in miim_write_cycle()
95 void etsec_write_miim(eTSEC *etsec, in etsec_write_miim() argument
108 miim_read_cycle(etsec); in etsec_write_miim()
115 miim_write_cycle(etsec); in etsec_write_miim()
[all …]
H A Detsec.h141 void etsec_update_irq(eTSEC *etsec);
143 void etsec_walk_tx_ring(eTSEC *etsec, int ring_nbr);
144 void etsec_walk_rx_ring(eTSEC *etsec, int ring_nbr);
145 ssize_t etsec_rx_ring_write(eTSEC *etsec, const uint8_t *buf, size_t size);
147 void etsec_write_miim(eTSEC *etsec,
152 void etsec_miim_link_status(eTSEC *etsec, NetClientState *nc);
/openbmc/linux/Documentation/devicetree/bindings/ptp/
H A Dptp-qoriq.txt5 - compatible Should be "fsl,etsec-ptp" for eTSEC
76 compatible = "fsl,etsec-ptp";
/openbmc/linux/include/linux/fsl/
H A Dptp_qoriq.h152 bool etsec; member
/openbmc/linux/arch/powerpc/boot/dts/fsl/
H A Dpq3-etsec1-timer-0.dtsi36 compatible = "fsl,etsec-ptp";
H A Dbsc9131rdb.dtsi84 compatible = "fsl,etsec-ptp";
H A Dbsc9132qds.dtsi91 compatible = "fsl,etsec-ptp";
H A Dp1022ds.dtsi219 compatible = "fsl,etsec-ptp";
H A Dp1010rdb.dtsi190 compatible = "fsl,etsec-ptp";
H A Dp1021rdb-pc.dtsi228 compatible = "fsl,etsec-ptp";
H A Dp1020rdb-pd.dts229 compatible = "fsl,etsec-ptp";
H A Dp1025twr.dtsi142 compatible = "fsl,etsec-ptp";
/openbmc/linux/drivers/ptp/
H A Dptp_qoriq.c244 if (ptp_qoriq->etsec) { in ptp_qoriq_adjtime()
526 ptp_qoriq->etsec = true; in ptp_qoriq_init()
/openbmc/qemu/hw/net/
H A Dmeson.build58 'fsl_etsec/etsec.c',
/openbmc/linux/arch/powerpc/boot/dts/
H A Dmpc8313erdb.dts176 compatible = "fsl,etsec-ptp";
/openbmc/qemu/hw/ppc/
H A De500.c238 eTSEC *etsec = ETSEC_COMMON(sbdev); in create_devtree_etsec() local
258 qemu_fdt_setprop(fdt, node, "local-mac-address", etsec->conf.macaddr.a, 6); in create_devtree_etsec()
/openbmc/linux/arch/arm/boot/dts/nxp/ls/
H A Dls1021a.dtsi696 compatible = "fsl,etsec-ptp";