qemu-patch-raspberry4/hw/char
David Gibson ce2918cbc3 spapr: Use CamelCase properly
The qemu coding standard is to use CamelCase for type and structure names,
and the pseries code follows that... sort of.  There are quite a lot of
places where we bend the rules in order to preserve the capitalization of
internal acronyms like "PHB", "TCE", "DIMM" and most commonly "sPAPR".

That was a bad idea - it frequently leads to names ending up with hard to
read clusters of capital letters, and means they don't catch the eye as
type identifiers, which is kind of the point of the CamelCase convention in
the first place.

In short, keeping type identifiers look like CamelCase is more important
than preserving standard capitalization of internal "words".  So, this
patch renames a heap of spapr internal type names to a more standard
CamelCase.

In addition to case changes, we also make some other identifier renames:
  VIOsPAPR* -> SpaprVio*
    The reverse word ordering was only ever used to mitigate the capital
    cluster, so revert to the natural ordering.
  VIOsPAPRVTYDevice -> SpaprVioVty
  VIOsPAPRVLANDevice -> SpaprVioVlan
    Brevity, since the "Device" didn't add useful information
  sPAPRDRConnector -> SpaprDrc
  sPAPRDRConnectorClass -> SpaprDrcClass
    Brevity, and makes it clearer this is the same thing as a "DRC"
    mentioned in many other places in the code

This is 100% a mechanical search-and-replace patch.  It will, however,
conflict with essentially any and all outstanding patches touching the
spapr code.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-03-12 14:33:05 +11:00
..
bcm2835_aux.c
cadence_uart.c
cmsdk-apb-uart.c
debugcon.c
digic-uart.c
escc.c
etraxfs_ser.c
exynos4210_uart.c
grlib_apbuart.c char/grlib_apbuart: Convert sysbus init function to realize function 2018-12-13 13:47:57 +00:00
imx_serial.c
ipoctal232.c
Kconfig virtio: express virtio dependencies with Kconfig 2019-03-07 21:45:53 +01:00
lm32_juart.c
lm32_uart.c
Makefile.objs
mcf_uart.c
milkymist-uart.c
nrf51_uart.c
omap_uart.c char: allow specifying a GMainContext at opening time 2019-02-13 14:23:39 +01:00
parallel-isa.c
parallel.c
pl011.c hw/char/pl011: Use '0x' prefix when logging hex numbers 2019-02-21 18:17:46 +00:00
sclpconsole-lm.c
sclpconsole.c
serial-isa.c
serial-pci.c
serial.c qmp hmp: Make system_wakeup check wake-up support and run state 2018-12-18 07:55:47 +01:00
sh_serial.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
spapr_vty.c spapr: Use CamelCase properly 2019-03-12 14:33:05 +11:00
stm32f2xx_usart.c hw/char/stm32f2xx_usart: Do not update data register when device is disabled 2019-01-21 10:23:10 +00:00
terminal3270.c terminal3270: do not use backend timer sources 2019-02-13 16:46:39 +01:00
trace-events
virtio-console.c
virtio-serial-bus.c qdev: pass an Object * to qbus_set_hotplug_handler() 2019-02-17 21:54:02 +11:00
xen_console.c char: allow specifying a GMainContext at opening time 2019-02-13 14:23:39 +01:00
xilinx_uartlite.c