Home
last modified time | relevance | path

Searched refs:CanSJA1000State (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/net/can/
H A Dcan_sja1000.h40 typedef struct CanSJA1000State { struct
71 } CanSJA1000State; argument
127 void can_sja_hardware_reset(CanSJA1000State *s);
129 void can_sja_mem_write(CanSJA1000State *s, hwaddr addr, uint64_t val,
132 uint64_t can_sja_mem_read(CanSJA1000State *s, hwaddr addr, unsigned size);
134 int can_sja_connect_to_bus(CanSJA1000State *s, CanBusState *bus);
136 void can_sja_disconnect(CanSJA1000State *s);
138 int can_sja_init(CanSJA1000State *s, qemu_irq irq);
H A Dcan_sja1000.c64 void can_sja_hardware_reset(CanSJA1000State *s) in can_sja_hardware_reset()
148 int can_sja_accept_filter(CanSJA1000State *s, in can_sja_accept_filter()
761 CanSJA1000State *s = container_of(client, CanSJA1000State, bus_client); in can_sja_can_receive()
779 CanSJA1000State *s = container_of(client, CanSJA1000State, bus_client); in can_sja_receive()
912 void can_sja_disconnect(CanSJA1000State *s) in can_sja_disconnect()
941 CanSJA1000State *s = opaque; in can_sja_post_load()
957 VMSTATE_UINT8(mode, CanSJA1000State),
964 VMSTATE_UINT8(clock, CanSJA1000State),
971 VMSTATE_UINT32(rx_ptr, CanSJA1000State),
978 VMSTATE_UINT8(code, CanSJA1000State),
[all …]
H A Dcan_mioe3680_pci.c70 CanSJA1000State sja_state[MIOe3680_PCI_SJA_COUNT];
91 CanSJA1000State *s = &d->sja_state[0]; in mioe3680_pci_sja1_io_read()
104 CanSJA1000State *s = &d->sja_state[0]; in mioe3680_pci_sja1_io_write()
117 CanSJA1000State *s = &d->sja_state[1]; in mioe3680_pci_sja2_io_read()
130 CanSJA1000State *s = &d->sja_state[1]; in mioe3680_pci_sja2_io_write()
209 CanSJA1000State),
211 CanSJA1000State),
H A Dcan_pcm3680_pci.c70 CanSJA1000State sja_state[PCM3680i_PCI_SJA_COUNT];
91 CanSJA1000State *s = &d->sja_state[0]; in pcm3680i_pci_sja1_io_read()
104 CanSJA1000State *s = &d->sja_state[0]; in pcm3680i_pci_sja1_io_write()
117 CanSJA1000State *s = &d->sja_state[1]; in pcm3680i_pci_sja2_io_read()
130 CanSJA1000State *s = &d->sja_state[1]; in pcm3680i_pci_sja2_io_write()
210 vmstate_can_sja, CanSJA1000State),
212 vmstate_can_sja, CanSJA1000State),
H A Dcan_kvaser_pci.c91 CanSJA1000State sja_state;
113 CanSJA1000State *s = &d->sja_state; in kvaser_pci_reset()
155 CanSJA1000State *s = &d->sja_state; in kvaser_pci_sja_io_read()
168 CanSJA1000State *s = &d->sja_state; in kvaser_pci_sja_io_write()
225 CanSJA1000State *s = &d->sja_state; in kvaser_pci_realize()
258 CanSJA1000State *s = &d->sja_state; in kvaser_pci_exit()
274 CanSJA1000State),