Lines Matching refs:XlnxZynqMPCANState
253 static void can_update_irq(XlnxZynqMPCANState *s) in can_update_irq()
296 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_ier_post_write()
303 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_icr_pre_write()
311 static void can_config_reset(XlnxZynqMPCANState *s) in can_config_reset()
326 static void can_config_mode(XlnxZynqMPCANState *s) in can_config_mode()
345 static void update_status_register_mode_bits(XlnxZynqMPCANState *s) in update_status_register_mode_bits()
382 static void can_exit_sleep_mode(XlnxZynqMPCANState *s) in can_exit_sleep_mode()
404 static bool tx_ready_check(XlnxZynqMPCANState *s) in tx_ready_check()
437 static void read_tx_frame(XlnxZynqMPCANState *s, Fifo32 *fifo, uint32_t *data) in read_tx_frame()
483 static void transfer_fifo(XlnxZynqMPCANState *s, Fifo32 *fifo) in transfer_fifo()
544 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_srr_pre_write()
582 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_msr_pre_write()
632 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_brpr_pre_write()
644 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_btr_pre_write()
656 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_tcr_pre_write()
667 static void update_rx_fifo(XlnxZynqMPCANState *s, const qemu_can_frame *frame) in update_rx_fifo()
783 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_rxfifo_post_read_id()
801 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_filter_enable_post_write()
815 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_filter_mask_pre_write()
837 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_filter_id_pre_write()
858 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(reg->opaque); in can_tx_post_write()
997 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(obj); in xlnx_zynqmp_can_reset_init()
1011 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(obj); in xlnx_zynqmp_can_reset_hold()
1031 XlnxZynqMPCANState *s = container_of(client, XlnxZynqMPCANState, in xlnx_zynqmp_can_can_receive()
1055 XlnxZynqMPCANState *s = container_of(client, XlnxZynqMPCANState, in xlnx_zynqmp_can_receive()
1095 static int xlnx_zynqmp_can_connect_to_bus(XlnxZynqMPCANState *s, in xlnx_zynqmp_can_connect_to_bus()
1108 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(dev); in xlnx_zynqmp_can_realize()
1139 XlnxZynqMPCANState *s = XLNX_ZYNQMP_CAN(obj); in xlnx_zynqmp_can_init()
1163 VMSTATE_FIFO32(rx_fifo, XlnxZynqMPCANState),
1164 VMSTATE_FIFO32(tx_fifo, XlnxZynqMPCANState),
1165 VMSTATE_FIFO32(txhpb_fifo, XlnxZynqMPCANState),
1166 VMSTATE_UINT32_ARRAY(regs, XlnxZynqMPCANState, XLNX_ZYNQMP_CAN_R_MAX),
1167 VMSTATE_PTIMER(can_timer, XlnxZynqMPCANState),
1173 DEFINE_PROP_UINT32("ext_clk_freq", XlnxZynqMPCANState, cfg.ext_clk_freq,
1175 DEFINE_PROP_LINK("canbus", XlnxZynqMPCANState, canbus, TYPE_CAN_BUS,
1194 .instance_size = sizeof(XlnxZynqMPCANState),