Home
last modified time | relevance | path

Searched refs:devid (Results 1 – 25 of 27) sorted by relevance

12

/sound/soc/codecs/
Dcirrus_legacy.h11 u8 devid[3]; in cirrus_read_device_id() local
14 ret = regmap_bulk_read(regmap, reg, devid, ARRAY_SIZE(devid)); in cirrus_read_device_id()
18 return ((devid[0] & 0xFF) << 12) | in cirrus_read_device_id()
19 ((devid[1] & 0xFF) << 4) | in cirrus_read_device_id()
20 ((devid[2] & 0xF0) >> 4); in cirrus_read_device_id()
Dcs35l32.c355 int ret, i, devid; in cs35l32_i2c_probe() local
418 devid = cirrus_read_device_id(cs35l32->regmap, CS35L32_DEVID_AB); in cs35l32_i2c_probe()
419 if (devid < 0) { in cs35l32_i2c_probe()
420 ret = devid; in cs35l32_i2c_probe()
425 if (devid != CS35L32_CHIP_ID) { in cs35l32_i2c_probe()
429 devid, CS35L32_CHIP_ID); in cs35l32_i2c_probe()
Dcs4265.c576 unsigned int devid = 0; in cs4265_i2c_probe() local
609 devid = reg & CS4265_CHIP_ID_MASK; in cs4265_i2c_probe()
610 if (devid != CS4265_CHIP_ID_VAL) { in cs4265_i2c_probe()
614 devid, CS4265_CHIP_ID); in cs4265_i2c_probe()
Dcs35l34.c1001 int i, devid; in cs35l34_i2c_probe() local
1074 devid = cirrus_read_device_id(cs35l34->regmap, CS35L34_DEVID_AB); in cs35l34_i2c_probe()
1075 if (devid < 0) { in cs35l34_i2c_probe()
1076 ret = devid; in cs35l34_i2c_probe()
1081 if (devid != CS35L34_CHIP_ID) { in cs35l34_i2c_probe()
1084 devid, CS35L34_CHIP_ID); in cs35l34_i2c_probe()
1096 "Cirrus Logic CS35l34 (%x), Revision: %02X\n", devid, in cs35l34_i2c_probe()
Dcs42l73.c1282 int ret, devid; in cs42l73_i2c_probe() local
1332 devid = cirrus_read_device_id(cs42l73->regmap, CS42L73_DEVID_AB); in cs42l73_i2c_probe()
1333 if (devid < 0) { in cs42l73_i2c_probe()
1334 ret = devid; in cs42l73_i2c_probe()
1339 if (devid != CS42L73_DEVID) { in cs42l73_i2c_probe()
1343 devid, CS42L73_DEVID); in cs42l73_i2c_probe()
Dcs53l30.c928 int ret = 0, i, devid; in cs53l30_i2c_probe() local
974 devid = cirrus_read_device_id(cs53l30->regmap, CS53L30_DEVID_AB); in cs53l30_i2c_probe()
975 if (devid < 0) { in cs53l30_i2c_probe()
976 ret = devid; in cs53l30_i2c_probe()
981 if (devid != CS53L30_DEVID) { in cs53l30_i2c_probe()
984 devid, CS53L30_DEVID); in cs53l30_i2c_probe()
Dcs35l33.c1122 int ret, devid, i; in cs35l33_i2c_probe() local
1192 devid = cirrus_read_device_id(cs35l33->regmap, CS35L33_DEVID_AB); in cs35l33_i2c_probe()
1193 if (devid < 0) { in cs35l33_i2c_probe()
1194 ret = devid; in cs35l33_i2c_probe()
1199 if (devid != CS35L33_CHIP_ID) { in cs35l33_i2c_probe()
1202 devid, CS35L33_CHIP_ID); in cs35l33_i2c_probe()
Dcs35l35.c1475 int i, devid; in cs35l35_i2c_probe() local
1555 devid = cirrus_read_device_id(cs35l35->regmap, CS35L35_DEVID_AB); in cs35l35_i2c_probe()
1556 if (devid < 0) { in cs35l35_i2c_probe()
1557 ret = devid; in cs35l35_i2c_probe()
1562 if (devid != CS35L35_CHIP_ID) { in cs35l35_i2c_probe()
1564 devid, CS35L35_CHIP_ID); in cs35l35_i2c_probe()
1583 devid, reg & 0xFF); in cs35l35_i2c_probe()
Dcs4234.c739 uint32_t devid; in cs4234_i2c_probe() local
797 devid = (ids[0] << 16) | (ids[1] << 8) | ids[2]; in cs4234_i2c_probe()
798 if (devid != CS4234_SUPPORTED_ID) { in cs4234_i2c_probe()
799 dev_err(dev, "Unknown device ID: %x\n", devid); in cs4234_i2c_probe()
Dcs42l42.c1892 int ret, i, devid; in cs42l42_i2c_probe() local
1956 devid = cirrus_read_device_id(cs42l42->regmap, CS42L42_DEVID_AB); in cs42l42_i2c_probe()
1957 if (devid < 0) { in cs42l42_i2c_probe()
1958 ret = devid; in cs42l42_i2c_probe()
1963 if (devid != CS42L42_CHIP_ID) { in cs42l42_i2c_probe()
1967 devid, CS42L42_CHIP_ID); in cs42l42_i2c_probe()
Dcs42l56.c1177 unsigned int devid; in cs42l56_i2c_probe() local
1246 devid = reg & CS42L56_CHIP_ID_MASK; in cs42l56_i2c_probe()
1247 if (devid != CS42L56_DEVID) { in cs42l56_i2c_probe()
1250 devid, CS42L56_DEVID); in cs42l56_i2c_probe()
Dcs42l52.c1097 unsigned int devid; in cs42l52_i2c_probe() local
1172 devid = reg & CS42L52_CHIP_ID_MASK; in cs42l52_i2c_probe()
1173 if (devid != CS42L52_CHIP_ID) { in cs42l52_i2c_probe()
1177 devid, CS42L52_CHIP_ID); in cs42l52_i2c_probe()
Dcs43130.c2427 int i, devid; in cs43130_i2c_probe() local
2474 devid = cirrus_read_device_id(cs43130->regmap, CS43130_DEVID_AB); in cs43130_i2c_probe()
2475 if (devid < 0) { in cs43130_i2c_probe()
2476 ret = devid; in cs43130_i2c_probe()
2481 switch (devid) { in cs43130_i2c_probe()
2490 devid, CS43130_CHIP_ID, CS4399_CHIP_ID, in cs43130_i2c_probe()
2496 cs43130->dev_id = devid; in cs43130_i2c_probe()
2504 "Cirrus Logic CS43130 (%x), Revision: %02X\n", devid, in cs43130_i2c_probe()
/sound/aoa/soundbus/i2sbus/
Di2sbus.h102 i2sbus_tx_intr(int irq, void *devid);
104 i2sbus_rx_intr(int irq, void *devid);
Dpcm.c701 irqreturn_t i2sbus_tx_intr(int irq, void *devid) in i2sbus_tx_intr() argument
703 handle_interrupt((struct i2sbus_dev *)devid, 0); in i2sbus_tx_intr()
707 irqreturn_t i2sbus_rx_intr(int irq, void *devid) in i2sbus_rx_intr() argument
709 handle_interrupt((struct i2sbus_dev *)devid, 1); in i2sbus_rx_intr()
Dcore.c90 static irqreturn_t i2sbus_bus_intr(int irq, void *devid) in i2sbus_bus_intr() argument
92 struct i2sbus_dev *dev = devid; in i2sbus_bus_intr()
/sound/soc/fsl/
Dfsl_micfil.c586 static irqreturn_t micfil_isr(int irq, void *devid) in micfil_isr() argument
588 struct fsl_micfil *micfil = (struct fsl_micfil *)devid; in micfil_isr()
632 static irqreturn_t micfil_err_isr(int irq, void *devid) in micfil_err_isr() argument
634 struct fsl_micfil *micfil = (struct fsl_micfil *)devid; in micfil_err_isr()
Dfsl_esai.c98 static irqreturn_t esai_isr(int irq, void *devid) in esai_isr() argument
100 struct fsl_esai *esai_priv = (struct fsl_esai *)devid; in esai_isr()
Dfsl_sai.c59 static irqreturn_t fsl_sai_isr(int irq, void *devid) in fsl_sai_isr() argument
61 struct fsl_sai *sai = (struct fsl_sai *)devid; in fsl_sai_isr()
Dfsl_xcvr.c1052 static irqreturn_t irq0_isr(int irq, void *devid) in irq0_isr() argument
1054 struct fsl_xcvr *xcvr = (struct fsl_xcvr *)devid; in irq0_isr()
Dfsl_spdif.c313 static irqreturn_t spdif_isr(int irq, void *devid) in spdif_isr() argument
315 struct fsl_spdif_priv *spdif_priv = (struct fsl_spdif_priv *)devid; in spdif_isr()
/sound/ppc/
Dpmac.c750 snd_pmac_tx_intr(int irq, void *devid) in snd_pmac_tx_intr() argument
752 struct snd_pmac *chip = devid; in snd_pmac_tx_intr()
759 snd_pmac_rx_intr(int irq, void *devid) in snd_pmac_rx_intr() argument
761 struct snd_pmac *chip = devid; in snd_pmac_rx_intr()
768 snd_pmac_ctrl_intr(int irq, void *devid) in snd_pmac_ctrl_intr() argument
770 struct snd_pmac *chip = devid; in snd_pmac_ctrl_intr()
/sound/soc/stm/
Dstm32_spdifrx.c667 static irqreturn_t stm32_spdifrx_isr(int irq, void *devid) in stm32_spdifrx_isr() argument
669 struct stm32_spdifrx_data *spdifrx = (struct stm32_spdifrx_data *)devid; in stm32_spdifrx_isr()
Dstm32_i2s.c452 static irqreturn_t stm32_i2s_isr(int irq, void *devid) in stm32_i2s_isr() argument
454 struct stm32_i2s_data *i2s = (struct stm32_i2s_data *)devid; in stm32_i2s_isr()
/sound/arm/
Daaci.c324 static irqreturn_t aaci_irq(int irq, void *devid) in aaci_irq() argument
326 struct aaci *aaci = devid; in aaci_irq()

12