/openbmc/qemu/hw/net/fsl_etsec/ |
H A D | rings.c | 165 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 D | etsec.c | 298 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 D | miim.c | 39 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 D | etsec.h | 141 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 D | ptp-qoriq.txt | 5 - compatible Should be "fsl,etsec-ptp" for eTSEC 76 compatible = "fsl,etsec-ptp";
|
/openbmc/linux/include/linux/fsl/ |
H A D | ptp_qoriq.h | 152 bool etsec; member
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | pq3-etsec1-timer-0.dtsi | 36 compatible = "fsl,etsec-ptp";
|
H A D | bsc9131rdb.dtsi | 84 compatible = "fsl,etsec-ptp";
|
H A D | bsc9132qds.dtsi | 91 compatible = "fsl,etsec-ptp";
|
H A D | p1022ds.dtsi | 219 compatible = "fsl,etsec-ptp";
|
H A D | p1010rdb.dtsi | 190 compatible = "fsl,etsec-ptp";
|
H A D | p1021rdb-pc.dtsi | 228 compatible = "fsl,etsec-ptp";
|
H A D | p1020rdb-pd.dts | 229 compatible = "fsl,etsec-ptp";
|
H A D | p1025twr.dtsi | 142 compatible = "fsl,etsec-ptp";
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_qoriq.c | 244 if (ptp_qoriq->etsec) { in ptp_qoriq_adjtime() 526 ptp_qoriq->etsec = true; in ptp_qoriq_init()
|
/openbmc/qemu/hw/net/ |
H A D | meson.build | 58 'fsl_etsec/etsec.c',
|
/openbmc/linux/arch/powerpc/boot/dts/ |
H A D | mpc8313erdb.dts | 176 compatible = "fsl,etsec-ptp";
|
/openbmc/qemu/hw/ppc/ |
H A D | e500.c | 238 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 D | ls1021a.dtsi | 696 compatible = "fsl,etsec-ptp";
|