/linux/sound/soc/amd/acp/ |
H A D | acp-i2s.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 21 #include <sound/soc-dai.h> 22 #include <linux/dma-mapping.h> 34 static inline void acp_set_i2s_clk(struct acp_chip_info *chip, int dai_id) in acp_set_i2s_clk() argument 54 if (chip->tdm_mode) in acp_set_i2s_clk() 57 switch (chip->acp_rev) { in acp_set_i2s_clk() 62 val |= FIELD_PREP(ACP63_LRCLK_DIV_FIELD, chip->lrclk_div); in acp_set_i2s_clk() 63 val |= FIELD_PREP(ACP63_BCLK_DIV_FIELD, chip->bclk_div); in acp_set_i2s_clk() 66 val |= FIELD_PREP(LRCLK_DIV_FIELD, chip->lrclk_div); in acp_set_i2s_clk() 67 val |= FIELD_PREP(BCLK_DIV_FIELD, chip->bclk_div); in acp_set_i2s_clk() [all …]
|
/linux/arch/mips/ath79/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com> 6 * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> 29 #include <asm/mach-ath79/ath79.h> 30 #include <asm/mach-ath79/ar71xx_regs.h> 45 char *chip = "????"; in ath79_detect_sys_type() local 46 u32 id; in ath79_detect_sys_type() local 52 id = ath79_reset_rr(AR71XX_RESET_REG_REV_ID); in ath79_detect_sys_type() 53 major = id & REV_ID_MAJOR_MASK; in ath79_detect_sys_type() 57 minor = id & AR71XX_REV_ID_MINOR_MASK; in ath79_detect_sys_type() [all …]
|
/linux/sound/pci/oxygen/ |
H A D | oxygen_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * C-Media CMI8788 driver - main driver module 24 MODULE_DESCRIPTION("C-Media CMI8788 helper library"); 29 static inline int oxygen_uart_input_ready(struct oxygen *chip) in oxygen_uart_input_ready() argument 31 return !(oxygen_read8(chip, OXYGEN_MPU401 + 1) & MPU401_RX_EMPTY); in oxygen_uart_input_ready() 34 static void oxygen_read_uart(struct oxygen *chip) in oxygen_read_uart() argument 55 struct oxygen *chip = dev_id; oxygen_interrupt() local 120 struct oxygen *chip = container_of(work, struct oxygen, oxygen_spdif_input_bits_changed() local 181 struct oxygen *chip = container_of(work, struct oxygen, gpio_work); oxygen_gpio_changed() local 190 struct oxygen *chip = entry->private_data; oxygen_proc_read() local 233 oxygen_proc_init(struct oxygen * chip) oxygen_proc_init() argument 239 oxygen_search_pci_id(struct oxygen * chip,const struct pci_device_id ids[]) oxygen_search_pci_id() argument 269 oxygen_restore_eeprom(struct oxygen * chip,const struct pci_device_id * id) oxygen_restore_eeprom() argument 270 oxygen_restore_eeprom(struct oxygen * chip,const struct pci_device_id * id) oxygen_restore_eeprom() argument 312 const struct pci_device_id *id; configure_pcie_bridge() local 353 oxygen_init(struct oxygen * chip) oxygen_init() argument 558 oxygen_shutdown(struct oxygen * chip) oxygen_shutdown() argument 570 struct oxygen *chip = card->private_data; oxygen_card_free() local 579 __oxygen_pci_probe(struct pci_dev * pci,int index,char * id,struct module * owner,const struct pci_device_id * ids,int (* get_model)(struct oxygen * chip,const struct pci_device_id * id)) __oxygen_pci_probe() argument 582 __oxygen_pci_probe(struct pci_dev * pci,int index,char * id,struct module * owner,const struct pci_device_id * ids,int (* get_model)(struct oxygen * chip,const struct pci_device_id * id)) __oxygen_pci_probe() argument 583 __oxygen_pci_probe(struct pci_dev * pci,int index,char * id,struct module * owner,const struct pci_device_id * ids,int (* get_model)(struct oxygen * chip,const struct pci_device_id * id)) __oxygen_pci_probe() argument 588 struct oxygen *chip; __oxygen_pci_probe() local 705 oxygen_pci_probe(struct pci_dev * pci,int index,char * id,struct module * owner,const struct pci_device_id * ids,int (* get_model)(struct oxygen * chip,const struct pci_device_id * id)) oxygen_pci_probe() argument 708 oxygen_pci_probe(struct pci_dev * pci,int index,char * id,struct module * owner,const struct pci_device_id * ids,int (* get_model)(struct oxygen * chip,const struct pci_device_id * id)) oxygen_pci_probe() argument 709 oxygen_pci_probe(struct pci_dev * pci,int index,char * id,struct module * owner,const struct pci_device_id * ids,int (* get_model)(struct oxygen * chip,const struct pci_device_id * id)) oxygen_pci_probe() argument 719 struct oxygen *chip = card->private_data; oxygen_pci_suspend() local 754 oxygen_restore_ac97(struct oxygen * chip,unsigned int codec) oxygen_restore_ac97() argument 769 struct oxygen *chip = card->private_data; oxygen_pci_resume() local 796 struct oxygen *chip = card->private_data; oxygen_pci_shutdown() local [all...] |
/linux/sound/usb/ |
H A D | card.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 * - the linked URBs would be preferred but not used so far because of 17 * - type II is not supported properly. there is no device which supports 33 #include <linux/usb/audio-v2.h> 34 #include <linux/usb/audio-v3.h> 63 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MA 64 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ global() variable 188 struct snd_usb_audio *chip; snd_usb_find_suppported_substream() local 229 snd_usb_create_stream(struct snd_usb_audio * chip,int ctrlif,int interface) snd_usb_create_stream() argument 312 snd_usb_create_streams(struct snd_usb_audio * chip,int ctrlif) snd_usb_create_streams() argument 435 u32 id; global() member 567 lookup_device_name(u32 id) lookup_device_name() argument 586 struct snd_usb_audio *chip = card->private_data; snd_usb_audio_free() local 597 usb_audio_make_shortname(struct usb_device * dev,struct snd_usb_audio * chip,const struct snd_usb_audio_quirk * quirk) usb_audio_make_shortname() argument 629 usb_audio_make_longname(struct usb_device * dev,struct snd_usb_audio * chip,const struct snd_usb_audio_quirk * quirk) usb_audio_make_longname() argument 705 struct snd_usb_audio *chip; snd_usb_audio_create() local 775 get_alias_id(struct usb_device * dev,unsigned int * id) get_alias_id() argument 796 check_delayed_register_option(struct snd_usb_audio * chip) check_delayed_register_option() argument 799 unsigned int id, inum; check_delayed_register_option() local 814 find_last_interface(struct snd_usb_audio * chip) find_last_interface() argument 832 get_alias_quirk(struct usb_device * dev,unsigned int id) get_alias_quirk() argument 851 try_to_register_card(struct snd_usb_audio * chip,int ifnum) try_to_register_card() argument 876 struct snd_usb_audio *chip; usb_audio_probe() local 880 u32 id; usb_audio_probe() local 1046 struct snd_usb_audio *chip = usb_get_intfdata(intf); usb_audio_disconnect() local 1111 snd_usb_lock_shutdown(struct snd_usb_audio * chip) snd_usb_lock_shutdown() argument 1133 snd_usb_unlock_shutdown(struct snd_usb_audio * chip) snd_usb_unlock_shutdown() argument 1141 snd_usb_autoresume(struct snd_usb_audio * chip) snd_usb_autoresume() argument 1164 snd_usb_autosuspend(struct snd_usb_audio * chip) snd_usb_autosuspend() argument 1180 struct snd_usb_audio *chip = usb_get_intfdata(intf); usb_audio_suspend() local 1214 struct snd_usb_audio *chip = usb_get_intfdata(intf); usb_audio_resume() local [all...] |
/linux/drivers/mfd/ |
H A D | max8925-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Marvell International Ltd. 28 .name = "max8925-backlight", 31 .id = -1, 37 .name = "max8925-tsc", 46 .name = "max8925-touch", 49 .id = -1, 55 .name = "max8925-power", 64 .name = "max8925-power", 67 .id = -1, [all …]
|
H A D | 88pm860x-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <linux/power/charger-manager.h> 136 /* Hook-switch press or release */ 141 {PM8607_IRQ_AUDIO_SHORT, PM8607_IRQ_AUDIO_SHORT, "audio-short", 170 .name = "88pm860x-backlight", 171 .id = 0, 175 .name = "88pm860x-backlight", 176 .id = 1, 180 .name = "88pm860x-backlight", 181 .id = 2, [all …]
|
H A D | 88pm80x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 /* 88pm80x chips have same definition for chip id register. */ 24 unsigned int id; member 29 /* 88PM800 chip id number */ 31 /* 88PM805 chip id number */ 33 /* 88PM860 chip id number */ 40 * pm800 and pm805. would remove it after HW chip fixes the issue. 53 struct pm80x_chip *chip; in pm80x_init() local 58 chip = in pm80x_init() 59 devm_kzalloc(&client->dev, sizeof(struct pm80x_chip), GFP_KERNEL); in pm80x_init() [all …]
|
H A D | adp5520.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * LEDs : drivers/led/leds-adp5520 6 * GPIO : drivers/gpio/adp5520-gpio (ADP5520 only) 7 * Keys : drivers/input/keyboard/adp5520-keys (ADP5520 only) 17 * Copyright (C) 2006-2008 Marvell International Ltd. 38 unsigned long id; member 49 dev_err(&client->dev, "failed reading at 0x%02x\n", reg); in __adp5520_read() 64 dev_err(&client->dev, "failed writing 0x%02x to 0x%02x\n", in __adp5520_write() 74 struct adp5520_chip *chip = i2c_get_clientdata(client); in __adp5520_ack_bits() local 78 mutex_lock(&chip->lock); in __adp5520_ack_bits() [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_samsung.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 11 static void samsung_nand_decode_id(struct nand_chip *chip) in samsung_nand_decode_id() argument 13 struct nand_device *base = &chip->base; in samsung_nand_decode_id() 15 struct mtd_info *mtd = nand_to_mtd(chip); in samsung_nand_decode_id() 18 memorg = nanddev_get_memorg(&chip->base); in samsung_nand_decode_id() 20 /* New Samsung (6 byte ID): Samsung K9GAG08U0F (p.44) */ in samsung_nand_decode_id() 21 if (chip->id.len == 6 && !nand_is_slc(chip) && in samsung_nand_decode_id() 22 chip->id.data[5] != 0x00) { in samsung_nand_decode_id() 23 u8 extid = chip->id.data[3]; in samsung_nand_decode_id() [all …]
|
H A D | nand_toshiba.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 29 static int toshiba_nand_benand_read_eccstatus_op(struct nand_chip *chip, in toshiba_nand_benand_read_eccstatus_op() argument 34 if (nand_has_exec_op(chip)) { in toshiba_nand_benand_read_eccstatus_op() 36 nand_get_sdr_timings(nand_get_interface_config(chip)); in toshiba_nand_benand_read_eccstatus_op() 39 PSEC_TO_NSEC(sdr->tADL_min)), in toshiba_nand_benand_read_eccstatus_op() 40 NAND_OP_8BIT_DATA_IN(chip->ecc.steps, ecc_status, 0), in toshiba_nand_benand_read_eccstatus_op() 42 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in toshiba_nand_benand_read_eccstatus_op() 44 return nand_exec_op(chip, &op); in toshiba_nand_benand_read_eccstatus_op() 47 return -ENOTSUPP; in toshiba_nand_benand_read_eccstatus_op() [all …]
|
H A D | nand_amd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 11 static void amd_nand_decode_id(struct nand_chip *chip) in amd_nand_decode_id() argument 13 struct mtd_info *mtd = nand_to_mtd(chip); in amd_nand_decode_id() 16 memorg = nanddev_get_memorg(&chip->base); in amd_nand_decode_id() 18 nand_decode_ext_id(chip); in amd_nand_decode_id() 21 * Check for Spansion/AMD ID + repeating 5th, 6th byte since in amd_nand_decode_id() 24 * Data sheet (5 byte ID): Spansion S30ML-P ORNAND (p.39) in amd_nand_decode_id() 26 if (chip->id.data[4] != 0x00 && chip->id.data[5] == 0x00 && in amd_nand_decode_id() 27 chip->id.data[6] == 0x00 && chip->id.data[7] == 0x00 && in amd_nand_decode_id() [all …]
|
/linux/drivers/regulator/ |
H A D | slg51000-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // SLG51000 High PSRR, Multi-Output Regulators 20 #include "slg51000-regulator.h" 206 "gpio-en-ldo"); in slg51000_of_parse_cb() 208 config->ena_gpiod = ena_gpiod; in slg51000_of_parse_cb() 217 .id = SLG51000_REGULATOR_##_id, \ 244 static int slg51000_regulator_init(struct slg51000 *chip) in slg51000_regulator_init() argument 250 int id, ret = 0; in slg51000_regulator_init() local 257 for (id = 0; id < SLG51000_MAX_REGULATORS; id++) { in slg51000_regulator_init() 258 chip->rdesc[id] = ®ls_desc[id]; in slg51000_regulator_init() [all …]
|
H A D | da9121-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // DA9121 Single-channel dual-phase 10A buck converter 7 // DA9130 Single-channel dual-phase 10A buck converter (Automotive) 8 // DA9217 Single-channel dual-phase 6A buck converter 9 // DA9122 Dual-channel single-phase 5A buck converter 10 // DA9131 Dual-channel single-phase 5A buck converter (Automotive) 11 // DA9220 Dual-channel single-phase 3A buck converter 12 // DA9132 Dual-channel single-phase 3A buck converter (Automotive) 29 #include "da9121-regulator.h" 31 /* Chip data */ [all …]
|
H A D | aw37503-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 48 struct aw37503_regulator *chip = rdev_get_drvdata(rdev); in aw37503_regulator_enable() local 49 int id = rdev_get_id(rdev); in aw37503_regulator_enable() local 50 struct aw37503_reg_pdata *rpdata = &chip->reg_pdata[id]; in aw37503_regulator_enable() 53 if (!IS_ERR(rpdata->en_gpiod)) { in aw37503_regulator_enable() 54 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in aw37503_regulator_enable() 55 rpdata->ena_gpio_state = 1; in aw37503_regulator_enable() 59 if (rdev->constraints->active_discharge == in aw37503_regulator_enable() 63 dev_err(chip->dev, "Failed to disable active discharge: %d\n", in aw37503_regulator_enable() 74 struct aw37503_regulator *chip = rdev_get_drvdata(rdev); in aw37503_regulator_disable() local [all …]
|
H A D | pf8x00-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 97 #define PF8X00_SW_BASE(i) (8 * (i - PF8X00_BUCK1) + PF8X00_SW1_CONFIG1) 106 #define PF8X00_LDO_BASE(i) (6 * (i - PF8X00_LDO1) + PF8X00_LDO1_CONFIG1) 179 static void swxilim_select(struct pf8x00_chip *chip, int id, int ilim) in swxilim_select() argument 182 u8 reg = PF8X00_SW_BASE(id) + SW_CONFIG2; in swxilim_select() 202 regmap_update_bits(chip->regmap, reg, in swxilim_select() 211 struct pf8x00_chip *chip = config->driver_data; in handle_ilim_property() local 215 if ((desc->id >= PF8X00_BUCK1) && (desc->id <= PF8X00_BUCK7)) { in handle_ilim_property() 216 ret = of_property_read_u32(np, "nxp,ilim-ma", &val); in handle_ilim_property() 218 dev_dbg(chip->dev, "unspecified ilim for BUCK%d, use value stored in OTP\n", in handle_ilim_property() [all …]
|
H A D | max20086-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // max20086-regulator.c - MAX20086-MAX20089 camera power protector driver 49 u8 id; member 80 .id = (n) - 1, \ 85 .enable_mask = 1 << ((n) - 1), \ 86 .enable_val = 1 << ((n) - 1), \ 104 static int max20086_regulators_register(struct max20086 *chip) in max20086_regulators_register() argument 108 for (i = 0; i < chip->info->num_outputs; i++) { in max20086_regulators_register() 109 struct max20086_regulator *reg = &chip->regulators[i]; in max20086_regulators_register() 113 config.dev = chip->dev; in max20086_regulators_register() [all …]
|
H A D | da9211-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // da9211-regulator.c - Regulator device driver for DA9211/DA9212 20 #include <dt-bindings/regulator/dlg,da9211-regulator.h> 21 #include "da9211-regulator.h" 119 int id = rdev_get_id(rdev); in da9211_buck_get_mode() local 120 struct da9211 *chip = rdev_get_drvdata(rdev); in da9211_buck_get_mode() local 124 ret = regmap_read(chip->regmap, DA9211_REG_BUCKA_CONF+id, &data); in da9211_buck_get_mode() 146 int id = rdev_get_id(rdev); in da9211_buck_set_mode() local 147 struct da9211 *chip = rdev_get_drvdata(rdev); in da9211_buck_set_mode() local 162 return regmap_update_bits(chip->regmap, DA9211_REG_BUCKA_CONF+id, in da9211_buck_set_mode() [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-moxtet.c | 1 // SPDX-License-Identifier: GPL-2.0 36 struct moxtet_gpio_chip *chip = gpiochip_get_data(gc); in moxtet_gpio_get_value() local 39 if (chip->desc->in_mask & BIT(offset)) { in moxtet_gpio_get_value() 40 ret = moxtet_device_read(chip->dev); in moxtet_gpio_get_value() 41 } else if (chip->desc->out_mask & BIT(offset)) { in moxtet_gpio_get_value() 42 ret = moxtet_device_written(chip->dev); in moxtet_gpio_get_value() 46 return -EINVAL; in moxtet_gpio_get_value() 58 struct moxtet_gpio_chip *chip = gpiochip_get_data(gc); in moxtet_gpio_set_value() local 61 state = moxtet_device_written(chip->dev); in moxtet_gpio_set_value() 65 offset -= MOXTET_GPIO_INPUTS; in moxtet_gpio_set_value() [all …]
|
/linux/drivers/staging/iio/addac/ |
H A D | adt7316.c | 1 // SPDX-License-Identifier: GPL-2.0+ 163 * Chip ID 177 * struct adt7316_chip_info - chip specific information 190 u8 id; /* chip id */ member 217 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_enabled() local 219 return sprintf(buf, "%d\n", !!(chip->config1 & ADT7316_EN)); in adt7316_show_enabled() 222 static ssize_t _adt7316_store_enabled(struct adt7316_chip_info *chip, in _adt7316_store_enabled() argument 229 config1 = chip->config1 | ADT7316_EN; in _adt7316_store_enabled() 231 config1 = chip->config1 & ~ADT7316_EN; in _adt7316_store_enabled() 233 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1); in _adt7316_store_enabled() [all …]
|
/linux/sound/isa/sb/ |
H A D | sb16.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 41 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 42 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 45 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; 56 static int mic_agc[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 108 struct snd_sb *chip; global() member 227 snd_card_sb16_pnp(int dev,struct snd_card_sb16 * acard,struct pnp_card_link * card,const struct pnp_card_device_id * id) snd_card_sb16_pnp() argument 306 struct snd_sb *chip; snd_sb16_probe() local 441 struct snd_sb *chip = acard->chip; snd_sb16_suspend() local 451 struct snd_sb *chip = acard->chip; snd_sb16_resume() local [all...] |
/linux/sound/i2c/other/ |
H A D | ak4114.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Routines for control of the AK4114 via I2C and 4-wire serial interface 25 static void ak4114_init_regs(struct ak4114 *chip); 29 ak4114->write(ak4114->private_data, reg, val); in reg_write() 31 ak4114->regma in reg_write() 41 snd_ak4114_free(struct ak4114 * chip) snd_ak4114_free() argument 50 struct ak4114 *chip = device->device_data; snd_ak4114_dev_free() local 60 struct ak4114 *chip; snd_ak4114_create() local 103 snd_ak4114_reg_write(struct ak4114 * chip,unsigned char reg,unsigned char mask,unsigned char val) snd_ak4114_reg_write() argument 113 ak4114_init_regs(struct ak4114 * chip) ak4114_init_regs() argument 131 snd_ak4114_reinit(struct ak4114 * chip) snd_ak4114_reinit() argument 171 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); snd_ak4114_in_error_get() local 186 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); snd_ak4114_in_bit_get() local 208 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); snd_ak4114_rate_get() local 224 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); snd_ak4114_spdif_get() local 235 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); snd_ak4114_spdif_playback_get() local 246 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); snd_ak4114_spdif_playback_put() local 280 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); snd_ak4114_spdif_pget() local 302 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); snd_ak4114_spdif_qget() local 592 struct ak4114 *chip = container_of(work, struct ak4114, work.work); ak4114_stats() local 601 snd_ak4114_suspend(struct ak4114 * chip) snd_ak4114_suspend() argument 608 snd_ak4114_resume(struct ak4114 * chip) snd_ak4114_resume() argument [all...] |
H A D | ak4117.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Routines for control of the AK4117 via 4-wire serial interface 27 ak4117->write(ak4117->private_data, reg, val); in reg_write() 28 if (reg < sizeof(ak4117->regmap)) in reg_write() 29 ak4117->regma in reg_write() 37 snd_ak4117_free(struct ak4117 * chip) snd_ak4117_free() argument 45 struct ak4117 *chip = device->device_data; snd_ak4117_dev_free() local 53 struct ak4117 *chip; snd_ak4117_create() local 91 snd_ak4117_reg_write(struct ak4117 * chip,unsigned char reg,unsigned char mask,unsigned char val) snd_ak4117_reg_write() argument 98 snd_ak4117_reinit(struct ak4117 * chip) snd_ak4117_reinit() argument 145 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); snd_ak4117_in_error_get() local 160 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); snd_ak4117_in_bit_get() local 182 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); snd_ak4117_rx_get() local 191 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); snd_ak4117_rx_put() local 217 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); snd_ak4117_rate_get() local 233 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); snd_ak4117_spdif_get() local 267 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); snd_ak4117_spdif_pget() local 289 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); snd_ak4117_spdif_qget() local 507 struct ak4117 *chip = timer_container_of(chip, t, timer); snd_ak4117_timer() local [all...] |
/linux/sound/isa/ |
H A D | opl3sa2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Yamaha OPL3-SA[2,3] soundcards 26 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 27 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 30 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 156 __snd_opl3sa2_read(struct snd_opl3sa2 * chip,unsigned char reg) __snd_opl3sa2_read() argument 173 snd_opl3sa2_read(struct snd_opl3sa2 * chip,unsigned char reg) snd_opl3sa2_read() argument 185 __snd_opl3sa2_write(struct snd_opl3sa2 * chip,unsigned char reg,unsigned char value) __snd_opl3sa2_write() argument 196 snd_opl3sa2_write(struct snd_opl3sa2 * chip,unsigned char reg,unsigned char value) snd_opl3sa2_write() argument 206 struct snd_opl3sa2 *chip = card->private_data; snd_opl3sa2_detect() local 283 struct snd_opl3sa2 *chip; snd_opl3sa2_interrupt() local 338 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); snd_opl3sa2_get_single() local 355 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); snd_opl3sa2_put_single() local 393 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); snd_opl3sa2_get_double() local 415 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); snd_opl3sa2_put_double() local 474 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); snd_opl3sa2_master_free() local 481 struct snd_opl3sa2 *chip = card->private_data; snd_opl3sa2_mixer() local 546 struct snd_opl3sa2 *chip = card->private_data; snd_opl3sa2_suspend() local 559 struct snd_opl3sa2 *chip; snd_opl3sa2_resume() local 587 snd_opl3sa2_pnp(int dev,struct snd_opl3sa2 * chip,struct pnp_dev * pdev) snd_opl3sa2_pnp() argument 614 struct snd_opl3sa2 *chip; snd_opl3sa2_card_new() local 633 struct snd_opl3sa2 *chip; snd_opl3sa2_probe() local 711 snd_opl3sa2_pnp_detect(struct pnp_dev * pdev,const struct pnp_device_id * id) snd_opl3sa2_pnp_detect() argument 762 snd_opl3sa2_pnp_cdetect(struct pnp_card_link * pcard,const struct pnp_card_device_id * id) snd_opl3sa2_pnp_cdetect() argument [all...] |
H A D | als100.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 card-als100.c - driver for Avance Logic ALS100 based soundcards. 5 Copyright (C) 1999-2000 by Massimo Piccioni <dafastidio@libero.it> 6 Copyright (C) 1999-2002 by Massimo Piccioni <dafastidio@libero.it> 10 Generalised for soundcards based on DT-0196 and ALS-007 chips 30 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 31 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 43 module_param_array(id, charp, NULL, 0444); 44 MODULE_PARM_DESC(id, "ID string for Avance Logic based soundcard."); 48 MODULE_ALIAS("snd-dt019x"); [all …]
|
/linux/sound/usb/6fire/ |
H A D | chip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include "chip.h" 30 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ 31 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* Id for card */ variable 38 module_param_array(id, char 45 usb6fire_chip_abort(struct sfire_chip * chip) usb6fire_chip_abort() argument 66 struct sfire_chip *chip = card->private_data; usb6fire_card_free() local 85 struct sfire_chip *chip = NULL; usb6fire_chip_probe() local 172 struct sfire_chip *chip; usb6fire_chip_disconnect() local [all...] |