Lines Matching refs:base
98 ENET_Type *base; member
225 ret = ENET_SendFrame(data->base, &data->enet_handle, data->tx_frame_buf, in eth_nxp_enet_tx()
230 ENET_ReclaimTxDescriptor(data->base, &data->enet_handle, RING_ID); in eth_nxp_enet_tx()
291 ENET_SetMacAddr(data->base, data->mac_addr); in eth_nxp_enet_set_config()
304 ENET_AddMulticastGroup(data->base, in eth_nxp_enet_set_config()
307 ENET_LeaveMulticastGroup(data->base, in eth_nxp_enet_set_config()
377 status = ENET_ReadFrame(data->base, &data->enet_handle, in eth_nxp_enet_rx()
431 status = ENET_ReadFrame(data->base, &data->enet_handle, NULL, in eth_nxp_enet_rx()
457 ENET_EnableInterrupts(data->base, kENET_RxFrameInterrupt); in eth_nxp_enet_rx_thread()
503 ENET_SetMII(data->base, speed, duplex);
584 static void eth_callback(ENET_Type *base, enet_handle_t *handle, argument
603 data->base->ATPER = NSEC_PER_SEC;
611 #define ENET_IRQ_HANDLER_ARGS(base, handle) base, handle, 0 argument
613 #define ENET_IRQ_HANDLER_ARGS(base, handle) base, handle argument
622 uint32_t eir = ENET_GetInterruptStatus(data->base);
625 ENET_ReceiveIRQHandler(ENET_IRQ_HANDLER_ARGS(data->base, &data->enet_handle));
626 ENET_DisableInterrupts(data->base, kENET_RxFrameInterrupt);
631 ENET_TransmitIRQHandler(ENET_IRQ_HANDLER_ARGS(data->base, &data->enet_handle));
707 data->base = (ENET_Type *)DEVICE_MMIO_GET(config->module_dev);
782 ENET_Up(data->base,
797 ENET_ActiveRead(data->base);
832 ENET_Reset(data->base);
833 ENET_Down(data->base);