dma: Provide generic look-up functions for 'width' and 'burst' register entries
dma: Provide generic look-up functions for 'width' and 'burst' register entries

Most controllers (including the QMSI driver currently supported in
Zephyr) use generic register values when configuration 'width' and
'burst'.  Thus, let's provide a generic look-up to save every
controller requiring their own one.  This should reduce the chance
of needless code duplication.

Change-Id: I49d749775bbf23f4bdcce4fa39685681fdcf6e1e
Signed-off-by: Lee Jones <630e34333487a351a857f6b705e04d30b37c1629@linaro.org>

erwango/zephyr,zephyriot/zephyr,galak/zephyr,erwango/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,Vudentz/zephyr,sharronliu/zephyr,zephyriot/zephyr,punitvara/zephyr,mbolivar/zephyr,aceofall/zephyr-iotos,punitvara/zephyr,fbsder/zephyr,fbsder/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,Vudentz/zephyr,erwango/zephyr,aceofall/zephyr-iotos,ldts/zephyr,runchip/zephyr-cc3220,runchip/zephyr-cc3200,holtmann/zephyr,runchip/zephyr-cc3200,finikorg/zephyr,fractalclone/zephyr-riscv,sharronliu/zephyr,rsalveti/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,rsalveti/zephyr,fractalclone/zephyr-riscv,bigdinotech/zephyr,nashif/zephyr,pklazy/zephyr,GiulianoFranchetto/zephyr,sharronliu/zephyr,fractalclone/zephyr-riscv,ldts/zephyr,mbolivar/zephyr,rsalveti/zephyr,mbolivar/zephyr,pklazy/zephyr,galak/zephyr,sharronliu/zephyr,erwango/zephyr,bigdinotech/zephyr,aceofall/zephyr-iotos,galak/zephyr,fbsder/zephyr,bboozzoo/zephyr,aceofall/zephyr-iotos,punitvara/zephyr,zephyriot/zephyr,holtmann/zephyr,runchip/zephyr-cc3200,bboozzoo/zephyr,kraj/zephyr,erwango/zephyr,runchip/zephyr-cc3200,GiulianoFranchetto/zephyr,bigdinotech/zephyr,finikorg/zephyr,bboozzoo/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,holtmann/zephyr,pklazy/zephyr,holtmann/zephyr,zephyrproject-rtos/zephyr,aceofall/zephyr-iotos,sharronliu/zephyr,Vudentz/zephyr,pklazy/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,galak/zephyr,nashif/zephyr,kraj/zephyr,Vudentz/zephyr,bboozzoo/zephyr,runchip/zephyr-cc3220,finikorg/zephyr,nashif/zephyr,finikorg/zephyr,Vudentz/zephyr,runchip/zephyr-cc3220,holtmann/zephyr,bigdinotech/zephyr,rsalveti/zephyr,runchip/zephyr-cc3220,rsalveti/zephyr,finikorg/zephyr,ldts/zephyr,mbolivar/zephyr,kraj/zephyr,fbsder/zephyr,explora26/zephyr,runchip/zephyr-cc3200,explora26/zephyr,mbolivar/zephyr,fractalclone/zephyr-riscv,explora26/zephyr,zephyriot/zephyr,bigdinotech/zephyr,nashif/zephyr,fbsder/zephyr,ldts/zephyr,runchip/zephyr-cc3220,bboozzoo/zephyr,explora26/zephyr,zephyrproject-rtos/zephyr,kraj/zephyr,fractalclone/zephyr-riscv,pklazy/zephyr,zephyriot/zephyr,GiulianoFranchetto/zephyr,kraj/zephyr