apf: Removed unused union

Removed unused union xdma_args

Signed-off-by: S Mohan <s.mohan@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
apf: Cleanup of volatile usage

Remove volatile attributes and modify all accesses to the
affected variables to use DMA_IN or DMA_OUT macros,
which in turn use ioread32 or iowrite32

Signed-off-by: S Mohan <s.mohan@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
apf: Replace xlnk_handle_t type with u32

Replace the xlnk_handle_t type with u32

Signed-off-by: S Mohan <s.mohan@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
apf: Remove volatile and replace with ioread/iowrite

Remove volatile attribute in declaration and
modify usage of variable by calling ioread32 or iowrite32
instead of accessing the variable directly

Signed-off-by: S Mohan <s.mohan@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
apf: Remove typedef of xlnk_args

Remove typedef union {..} xlnk_args and
replace with named union called xlnk_args,
and fix sparse warnings related to these changes

Signed-off-by: S Mohan <s.mohan@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
apf: Remove compile warnings

Remove some compile/sparse warnings related to this series of
patches

Signed-off-by: S Mohan <s.mohan@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>