arm-trusted-firmware/drivers/marvell
Pali Rohár ccec1bd5ca drivers: marvell: comphy-a3700: Set mask parameter for every reg_set call
The third argument of the reg_set() function has name 'mask', which
indicates that it is a mask applied to the register value which is
going to be updated. But the implementation of this function uses
this argument to clear prior value of the register, i.e. instead of
  new_val = (old_val & ~mask) | (data & mask);
it does
  new_val = (new_val & ~mask) | data;

(The more proper name for this function should be reg_clrsetbits(),
 since internally it calls mmio_clrsetbits_32().)

To make code more readable set 'mask' argument to real mask, i.e. bits
of register values which are going to be updated.

This patch does not make any functional change, only cosmetic, due to
how 'mask' is interpreted.

Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: Ifa0339e79c07d1994c7971b65d966b92cb735f65
2021-04-06 21:14:07 +02:00
..
comphy drivers: marvell: comphy-a3700: Set mask parameter for every reg_set call 2021-04-06 21:14:07 +02:00
mc_trustzone Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
mg_conf_cm3 drivers: marvell: mg_conf_cm3: pass comphy lane number to AP FW 2020-07-10 10:55:09 +00:00
mochi drivers/marvell/mochi: add support for cn913x in PCIe EP mode 2021-02-11 09:43:18 +00:00
uart marvell: uart: a3720: Increase TX FIFO EMPTY timeout from 2ms to 3ms 2021-02-16 11:56:24 +01:00
amb_adec.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
ap807_clocks_init.c ble: ap807: improve PLL configuration sequence 2020-06-07 00:06:03 +02:00
cache_llc.c drivers: marvell: Fix the LLC SRAM driver 2020-07-10 10:55:33 +00:00
ccu.c plat: marvell: armada: add ccu window for workaround errata-id 3033912 2020-10-04 15:23:29 +02:00
comphy.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
gwin.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
io_win.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
iob.c marvell: drivers: move XOR0/1 DIOB from WIN 0 to 1 2021-02-11 09:43:18 +00:00
mci.c plat: marvell: mci: perform mci link tuning for all mci interfaces 2020-06-07 00:06:03 +02:00
thermal.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00