/usr/src/linux-headers-5.15.0-190/include/linux/mfd
NameSizeModeActions
abx500/-0755rm
arizona/-0755rm
atc260x/-0755rm
da9052/-0755rm
da9055/-0755rm
da9062/-0755rm
da9063/-0755rm
da9150/-0755rm
madera/-0755rm
mt6323/-0755rm
mt6358/-0755rm
mt6359/-0755rm
mt6359p/-0755rm
mt6397/-0755rm
pcf50633/-0755rm
samsung/-0755rm
syscon/-0755rm
wcd934x/-0755rm
wm831x/-0755rm
wm8350/-0755rm
wm8994/-0755rm
88pm80x.h100800644editdlrm
88pm860x.h135080644editdlrm
aat2870.h40140644editdlrm
abx500.h24010644editdlrm
ac100.h61210644editdlrm
adp5520.h85060644editdlrm
altera-a10sr.h29550644editdlrm
altera-sysmgr.h7250644editdlrm
as3711.h28080644editdlrm
as3722.h148790644editdlrm
asic3.h123680644editdlrm
atmel-hlcdc.h20940644editdlrm
axp20x.h171050644editdlrm
bcm590xx.h6180644editdlrm
bcm2835-pm.h2350644editdlrm
bd9571mwv.h35370644editdlrm
core.h47600644editdlrm
da8xx-cfgchip.h70460644editdlrm
da903x.h72180644editdlrm
davinci_voicecodec.h26580644editdlrm
db8500-prcmu.h218420644editdlrm
dbx500-prcmu.h142680644editdlrm
dln2.h36170644editdlrm
dm355evm_msp.h28790644editdlrm
ds1wm.h8170644editdlrm
ezx-pcap.h79320644editdlrm
gsc.h18180644editdlrm
hi655x-pmic.h19340644editdlrm
hi6421-pmic.h11840644editdlrm
hi6421-spmi-pmic.h5190644editdlrm
htc-pasic3.h12250644editdlrm
idt8a340_reg.h300240644editdlrm
idt82p33_reg.h29380644editdlrm
imx25-tsadc.h49720644editdlrm
ingenic-tcu.h17530644editdlrm
intel-m10-bmc.h49070644editdlrm
intel_pmc_bxt.h15420644editdlrm
intel_soc_pmic.h16930644editdlrm
intel_soc_pmic_bxtwc.h16410644editdlrm
intel_soc_pmic_mrfld.h22880644editdlrm
ipaq-micro.h37500644editdlrm
iqs62x.h27970644editdlrm
janz.h8460644editdlrm
kempld.h41220644editdlrm
khadas-mcu.h35450644editdlrm
ljca.h10430644editdlrm
lm3533.h24400644editdlrm
lochnagar.h16240644editdlrm
lochnagar1_regs.h78960644editdlrm
lochnagar2_regs.h155500644editdlrm
lp873x.h88960644editdlrm
lp3943.h25980644editdlrm
lp8788-isink.h10690644editdlrm
lp8788.h84240644editdlrm
lp87565.h75880644editdlrm
lpc_ich.h6550644editdlrm
max8907.h75550644editdlrm
max8925.h72040644editdlrm
max8997-private.h120570644editdlrm
max8997.h55130644editdlrm
max8998-private.h44500644editdlrm
max8998.h29830644editdlrm
max14577-private.h157760644editdlrm
max14577.h22810644editdlrm
max77620.h109670644editdlrm
max77650.h18870644editdlrm
max77686-private.h128500644editdlrm
max77686.h20330644editdlrm
max77693-common.h10880644editdlrm
max77693-private.h177050644editdlrm
max77693.h16190644editdlrm
max77843-private.h155890644editdlrm
mc13xxx.h77690644editdlrm
mc13783.h27560644editdlrm
mc13892.h7920644editdlrm
mcp.h16470644editdlrm
menelaus.h12840644editdlrm
motorola-cpcap.h126510644editdlrm
mp2629.h4220644editdlrm
mxs-lradc.h57360644editdlrm
ntxec.h9070644editdlrm
palmas.h1523820644editdlrm
qcom_rpm.h2930644editdlrm
rave-sp.h14480644editdlrm
rc5t583.h95010644editdlrm
rdc321x.h5910644editdlrm
retu.h7230644editdlrm
rk808.h198850644editdlrm
rn5t618.h78400644editdlrm
rohm-bd718x7.h90380644editdlrm
rohm-bd957x.h43620644editdlrm
rohm-bd70528.h110820644editdlrm
rohm-bd71815.h156080644editdlrm
rohm-bd71828.h130840644editdlrm
rohm-generic.h28250644editdlrm
rohm-shared.h6310644editdlrm
rsmu.h8970644editdlrm
rt5033-private.h79270644editdlrm
rt5033.h10980644editdlrm
sc27xx-pmic.h2280644editdlrm
si476x-core.h151920644editdlrm
si476x-platform.h61890644editdlrm
si476x-reports.h45960644editdlrm
sky81452.h3540644editdlrm
sta2x11-mfd.h185650644editdlrm
stm32-lptimer.h21020644editdlrm
stm32-timers.h59480644editdlrm
stmfx.h40510644editdlrm
stmpe.h40830644editdlrm
stpmic1.h57500644editdlrm
stw481x.h14220644editdlrm
sun4i-gpadc.h35640644editdlrm
syscon.h18710644editdlrm
t7l66xb.h6220644editdlrm
tc3589x.h41230644editdlrm
tc6387xb.h5160644editdlrm
tc6393xb.h14020644editdlrm
ti-lmu-register.h56660644editdlrm
ti-lmu.h18570644editdlrm
ti_am335x_tscadc.h60280644editdlrm
tmio.h38940644editdlrm
tps6105x.h30790644editdlrm
tps6507x.h50550644editdlrm
tps6586x.h28020644editdlrm
tps65010.h66850644editdlrm
tps65086.h35810644editdlrm
tps65090.h38140644editdlrm
tps65217.h84360644editdlrm
tps65218.h82180644editdlrm
tps65910.h300930644editdlrm
tps65912.h101450644editdlrm
tps68470.h30020644editdlrm
tps80031.h200590644editdlrm
twl.h254940644editdlrm
twl4030-audio.h81290644editdlrm
twl6040.h67160644editdlrm
ucb1x00.h65590644editdlrm
viperboard.h28020644editdlrm
wl1273-core.h78870644editdlrm
wm97xx.h3690644editdlrm
wm8400-audio.h708190644editdlrm
wm8400-private.h584920644editdlrm
wm8400.h5610644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/include/linux/mfd/ac100.h (6121B)
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Functions and registers to access AC100 codec / RTC combo IC. * * Copyright (C) 2016 Chen-Yu Tsai * * Chen-Yu Tsai */ #ifndef __LINUX_MFD_AC100_H #define __LINUX_MFD_AC100_H #include struct ac100_dev { struct device *dev; struct regmap *regmap; }; /* Audio codec related registers */ #define AC100_CHIP_AUDIO_RST 0x00 #define AC100_PLL_CTRL1 0x01 #define AC100_PLL_CTRL2 0x02 #define AC100_SYSCLK_CTRL 0x03 #define AC100_MOD_CLK_ENA 0x04 #define AC100_MOD_RST_CTRL 0x05 #define AC100_I2S_SR_CTRL 0x06 /* I2S1 interface */ #define AC100_I2S1_CLK_CTRL 0x10 #define AC100_I2S1_SND_OUT_CTRL 0x11 #define AC100_I2S1_SND_IN_CTRL 0x12 #define AC100_I2S1_MXR_SRC 0x13 #define AC100_I2S1_VOL_CTRL1 0x14 #define AC100_I2S1_VOL_CTRL2 0x15 #define AC100_I2S1_VOL_CTRL3 0x16 #define AC100_I2S1_VOL_CTRL4 0x17 #define AC100_I2S1_MXR_GAIN 0x18 /* I2S2 interface */ #define AC100_I2S2_CLK_CTRL 0x20 #define AC100_I2S2_SND_OUT_CTRL 0x21 #define AC100_I2S2_SND_IN_CTRL 0x22 #define AC100_I2S2_MXR_SRC 0x23 #define AC100_I2S2_VOL_CTRL1 0x24 #define AC100_I2S2_VOL_CTRL2 0x25 #define AC100_I2S2_VOL_CTRL3 0x26 #define AC100_I2S2_VOL_CTRL4 0x27 #define AC100_I2S2_MXR_GAIN 0x28 /* I2S3 interface */ #define AC100_I2S3_CLK_CTRL 0x30 #define AC100_I2S3_SND_OUT_CTRL 0x31 #define AC100_I2S3_SND_IN_CTRL 0x32 #define AC100_I2S3_SIG_PATH_CTRL 0x33 /* ADC digital controls */ #define AC100_ADC_DIG_CTRL 0x40 #define AC100_ADC_VOL_CTRL 0x41 /* HMIC plug sensing / key detection */ #define AC100_HMIC_CTRL1 0x44 #define AC100_HMIC_CTRL2 0x45 #define AC100_HMIC_STATUS 0x46 /* DAC digital controls */ #define AC100_DAC_DIG_CTRL 0x48 #define AC100_DAC_VOL_CTRL 0x49 #define AC100_DAC_MXR_SRC 0x4c #define AC100_DAC_MXR_GAIN 0x4d /* Analog controls */ #define AC100_ADC_APC_CTRL 0x50 #define AC100_ADC_SRC 0x51 #define AC100_ADC_SRC_BST_CTRL 0x52 #define AC100_OUT_MXR_DAC_A_CTRL 0x53 #define AC100_OUT_MXR_SRC 0x54 #define AC100_OUT_MXR_SRC_BST 0x55 #define AC100_HPOUT_CTRL 0x56 #define AC100_ERPOUT_CTRL 0x57 #define AC100_SPKOUT_CTRL 0x58 #define AC100_LINEOUT_CTRL 0x59 /* ADC digital audio processing (high pass filter & auto gain control */ #define AC100_ADC_DAP_L_STA 0x80 #define AC100_ADC_DAP_R_STA 0x81 #define AC100_ADC_DAP_L_CTRL 0x82 #define AC100_ADC_DAP_R_CTRL 0x83 #define AC100_ADC_DAP_L_T_L 0x84 /* Left Target Level */ #define AC100_ADC_DAP_R_T_L 0x85 /* Right Target Level */ #define AC100_ADC_DAP_L_H_A_C 0x86 /* Left High Avg. Coef */ #define AC100_ADC_DAP_L_L_A_C 0x87 /* Left Low Avg. Coef */ #define AC100_ADC_DAP_R_H_A_C 0x88 /* Right High Avg. Coef */ #define AC100_ADC_DAP_R_L_A_C 0x89 /* Right Low Avg. Coef */ #define AC100_ADC_DAP_L_D_T 0x8a /* Left Decay Time */ #define AC100_ADC_DAP_L_A_T 0x8b /* Left Attack Time */ #define AC100_ADC_DAP_R_D_T 0x8c /* Right Decay Time */ #define AC100_ADC_DAP_R_A_T 0x8d /* Right Attack Time */ #define AC100_ADC_DAP_N_TH 0x8e /* Noise Threshold */ #define AC100_ADC_DAP_L_H_N_A_C 0x8f /* Left High Noise Avg. Coef */ #define AC100_ADC_DAP_L_L_N_A_C 0x90 /* Left Low Noise Avg. Coef */ #define AC100_ADC_DAP_R_H_N_A_C 0x91 /* Right High Noise Avg. Coef */ #define AC100_ADC_DAP_R_L_N_A_C 0x92 /* Right Low Noise Avg. Coef */ #define AC100_ADC_DAP_H_HPF_C 0x93 /* High High-Pass-Filter Coef */ #define AC100_ADC_DAP_L_HPF_C 0x94 /* Low High-Pass-Filter Coef */ #define AC100_ADC_DAP_OPT 0x95 /* AGC Optimum */ /* DAC digital audio processing (high pass filter & dynamic range control) */ #define AC100_DAC_DAP_CTRL 0xa0 #define AC100_DAC_DAP_H_HPF_C 0xa1 /* High High-Pass-Filter Coef */ #define AC100_DAC_DAP_L_HPF_C 0xa2 /* Low High-Pass-Filter Coef */ #define AC100_DAC_DAP_L_H_E_A_C 0xa3 /* Left High Energy Avg Coef */ #define AC100_DAC_DAP_L_L_E_A_C 0xa4 /* Left Low Energy Avg Coef */ #define AC100_DAC_DAP_R_H_E_A_C 0xa5 /* Right High Energy Avg Coef */ #define AC100_DAC_DAP_R_L_E_A_C 0xa6 /* Right Low Energy Avg Coef */ #define AC100_DAC_DAP_H_G_D_T_C 0xa7 /* High Gain Delay Time Coef */ #define AC100_DAC_DAP_L_G_D_T_C 0xa8 /* Low Gain Delay Time Coef */ #define AC100_DAC_DAP_H_G_A_T_C 0xa9 /* High Gain Attack Time Coef */ #define AC100_DAC_DAP_L_G_A_T_C 0xaa /* Low Gain Attack Time Coef */ #define AC100_DAC_DAP_H_E_TH 0xab /* High Energy Threshold */ #define AC100_DAC_DAP_L_E_TH 0xac /* Low Energy Threshold */ #define AC100_DAC_DAP_H_G_K 0xad /* High Gain K parameter */ #define AC100_DAC_DAP_L_G_K 0xae /* Low Gain K parameter */ #define AC100_DAC_DAP_H_G_OFF 0xaf /* High Gain offset */ #define AC100_DAC_DAP_L_G_OFF 0xb0 /* Low Gain offset */ #define AC100_DAC_DAP_OPT 0xb1 /* DRC optimum */ /* Digital audio processing enable */ #define AC100_ADC_DAP_ENA 0xb4 #define AC100_DAC_DAP_ENA 0xb5 /* SRC control */ #define AC100_SRC1_CTRL1 0xb8 #define AC100_SRC1_CTRL2 0xb9 #define AC100_SRC1_CTRL3 0xba #define AC100_SRC1_CTRL4 0xbb #define AC100_SRC2_CTRL1 0xbc #define AC100_SRC2_CTRL2 0xbd #define AC100_SRC2_CTRL3 0xbe #define AC100_SRC2_CTRL4 0xbf /* RTC clk control */ #define AC100_CLK32K_ANALOG_CTRL 0xc0 #define AC100_CLKOUT_CTRL1 0xc1 #define AC100_CLKOUT_CTRL2 0xc2 #define AC100_CLKOUT_CTRL3 0xc3 /* RTC module */ #define AC100_RTC_RST 0xc6 #define AC100_RTC_CTRL 0xc7 #define AC100_RTC_SEC 0xc8 /* second */ #define AC100_RTC_MIN 0xc9 /* minute */ #define AC100_RTC_HOU 0xca /* hour */ #define AC100_RTC_WEE 0xcb /* weekday */ #define AC100_RTC_DAY 0xcc /* day */ #define AC100_RTC_MON 0xcd /* month */ #define AC100_RTC_YEA 0xce /* year */ #define AC100_RTC_UPD 0xcf /* update trigger */ /* RTC alarm */ #define AC100_ALM_INT_ENA 0xd0 #define AC100_ALM_INT_STA 0xd1 #define AC100_ALM_SEC 0xd8 #define AC100_ALM_MIN 0xd9 #define AC100_ALM_HOU 0xda #define AC100_ALM_WEE 0xdb #define AC100_ALM_DAY 0xdc #define AC100_ALM_MON 0xdd #define AC100_ALM_YEA 0xde #define AC100_ALM_UPD 0xdf /* RTC general purpose register 0 ~ 15 */ #define AC100_RTC_GP(x) (0xe0 + (x)) #endif /* __LINUX_MFD_AC100_H */