/Linux-v5.15/sound/pci/oxygen/ |
D | se6x.c | 50 static void se6x_init(struct oxygen *chip) in se6x_init() 66 static void se6x_cleanup(struct oxygen *chip) in se6x_cleanup() 70 static void set_pcm1792a_params(struct oxygen *chip, in set_pcm1792a_params() 76 static void set_pcm1804_params(struct oxygen *chip, in set_pcm1804_params() 81 static unsigned int se6x_adjust_dac_routing(struct oxygen *chip, in se6x_adjust_dac_routing() 111 static int se6x_get_model(struct oxygen *chip, in se6x_get_model()
|
/Linux-v5.15/sound/pci/echoaudio/ |
D | darla20_dsp.c | 32 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 67 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 75 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 83 static int load_asic(struct echoaudio *chip) in load_asic() 90 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
|
D | indigo_express_dsp.c | 29 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 77 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() 101 static int update_vmixer_level(struct echoaudio *chip) in update_vmixer_level() 111 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 119 static int load_asic(struct echoaudio *chip) in load_asic()
|
/Linux-v5.15/drivers/mtd/nand/raw/ |
D | fsl_ifc_nand.c | 30 struct nand_chip chip; member 86 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_ooblayout_ecc() local 100 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_ooblayout_free() local 140 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr() local 173 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_run_command() local 249 static void fsl_ifc_do_read(struct nand_chip *chip, in fsl_ifc_do_read() 290 static void fsl_ifc_cmdfunc(struct nand_chip *chip, unsigned int command, in fsl_ifc_cmdfunc() 498 static void fsl_ifc_select_chip(struct nand_chip *chip, int cs) in fsl_ifc_select_chip() 508 static void fsl_ifc_write_buf(struct nand_chip *chip, const u8 *buf, int len) in fsl_ifc_write_buf() 534 static uint8_t fsl_ifc_read_byte(struct nand_chip *chip) in fsl_ifc_read_byte() [all …]
|
D | xway_nand.c | 66 struct nand_chip chip; member 73 struct nand_chip *chip = mtd_to_nand(mtd); in xway_readb() local 81 struct nand_chip *chip = mtd_to_nand(mtd); in xway_writeb() local 87 static void xway_select_chip(struct nand_chip *chip, int select) in xway_select_chip() 107 static void xway_cmd_ctrl(struct nand_chip *chip, int cmd, unsigned int ctrl) in xway_cmd_ctrl() 123 static int xway_dev_ready(struct nand_chip *chip) in xway_dev_ready() 128 static unsigned char xway_read_byte(struct nand_chip *chip) in xway_read_byte() 133 static void xway_read_buf(struct nand_chip *chip, u_char *buf, int len) in xway_read_buf() 141 static void xway_write_buf(struct nand_chip *chip, const u_char *buf, int len) in xway_write_buf() 149 static int xway_attach_chip(struct nand_chip *chip) in xway_attach_chip() [all …]
|
D | nand_hynix.c | 60 static bool hynix_nand_has_valid_jedecid(struct nand_chip *chip) in hynix_nand_has_valid_jedecid() 72 static int hynix_nand_cmd_op(struct nand_chip *chip, u8 cmd) in hynix_nand_cmd_op() 88 static int hynix_nand_reg_write_op(struct nand_chip *chip, u8 addr, u8 val) in hynix_nand_reg_write_op() 108 static int hynix_nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in hynix_nand_setup_read_retry() 191 static int hynix_read_rr_otp(struct nand_chip *chip, in hynix_read_rr_otp() 287 static int hynix_mlc_1xnm_rr_init(struct nand_chip *chip, in hynix_mlc_1xnm_rr_init() 372 static int hynix_nand_rr_init(struct nand_chip *chip) in hynix_nand_rr_init() 408 static void hynix_nand_extract_oobsize(struct nand_chip *chip, in hynix_nand_extract_oobsize() 495 static void hynix_nand_extract_ecc_requirements(struct nand_chip *chip, in hynix_nand_extract_ecc_requirements() 584 static void hynix_nand_extract_scrambling_requirements(struct nand_chip *chip, in hynix_nand_extract_scrambling_requirements() [all …]
|
D | sharpsl.c | 24 struct nand_chip chip; member 59 static void sharpsl_nand_hwcontrol(struct nand_chip *chip, int cmd, in sharpsl_nand_hwcontrol() 78 static int sharpsl_nand_dev_ready(struct nand_chip *chip) in sharpsl_nand_dev_ready() 84 static void sharpsl_nand_enable_hwecc(struct nand_chip *chip, int mode) in sharpsl_nand_enable_hwecc() 90 static int sharpsl_nand_calculate_ecc(struct nand_chip *chip, in sharpsl_nand_calculate_ecc() 100 static int sharpsl_nand_correct_ecc(struct nand_chip *chip, in sharpsl_nand_correct_ecc() 109 static int sharpsl_attach_chip(struct nand_chip *chip) in sharpsl_attach_chip() 227 struct nand_chip *chip = &sharpsl->chip; in sharpsl_nand_remove() local
|
/Linux-v5.15/drivers/iio/light/ |
D | tsl2583.c | 125 static void tsl2583_defaults(struct tsl2583_chip *chip) in tsl2583_defaults() 171 struct tsl2583_chip *chip = iio_priv(indio_dev); in tsl2583_get_lux() local 310 struct tsl2583_chip *chip = iio_priv(indio_dev); in tsl2583_als_calibrate() local 366 static int tsl2583_set_als_time(struct tsl2583_chip *chip) in tsl2583_set_als_time() 396 static int tsl2583_set_als_gain(struct tsl2583_chip *chip) in tsl2583_set_als_gain() 412 static int tsl2583_set_power_state(struct tsl2583_chip *chip, u8 state) in tsl2583_set_power_state() 432 struct tsl2583_chip *chip = iio_priv(indio_dev); in tsl2583_chip_init_and_power_on() local 474 struct tsl2583_chip *chip = iio_priv(indio_dev); in in_illuminance_input_target_show() local 489 struct tsl2583_chip *chip = iio_priv(indio_dev); in in_illuminance_input_target_store() local 507 struct tsl2583_chip *chip = iio_priv(indio_dev); in in_illuminance_calibrate_store() local [all …]
|
D | tsl2563.c | 129 static int tsl2563_set_power(struct tsl2563_chip *chip, int on) in tsl2563_set_power() 143 static int tsl2563_get_power(struct tsl2563_chip *chip) in tsl2563_get_power() 155 static int tsl2563_configure(struct tsl2563_chip *chip) in tsl2563_configure() 192 struct tsl2563_chip *chip = in tsl2563_poweroff_work() local 197 static int tsl2563_detect(struct tsl2563_chip *chip) in tsl2563_detect() 212 static int tsl2563_read_id(struct tsl2563_chip *chip, u8 *id) in tsl2563_read_id() 260 static void tsl2563_wait_adc(struct tsl2563_chip *chip) in tsl2563_wait_adc() 281 static int tsl2563_adjust_gainlevel(struct tsl2563_chip *chip, u16 adc) in tsl2563_adjust_gainlevel() 302 static int tsl2563_get_adc(struct tsl2563_chip *chip) in tsl2563_get_adc() 450 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_write_raw() local [all …]
|
D | isl29028.c | 109 static int isl29028_set_proxim_sampling(struct isl29028_chip *chip, in isl29028_set_proxim_sampling() 136 static int isl29028_enable_proximity(struct isl29028_chip *chip) in isl29028_enable_proximity() 162 static int isl29028_set_als_scale(struct isl29028_chip *chip, int lux_scale) in isl29028_set_als_scale() 182 static int isl29028_set_als_ir_mode(struct isl29028_chip *chip, in isl29028_set_als_ir_mode() 235 static int isl29028_read_als_ir(struct isl29028_chip *chip, int *als_ir) in isl29028_read_als_ir() 263 static int isl29028_read_proxim(struct isl29028_chip *chip, int *prox) in isl29028_read_proxim() 289 static int isl29028_als_get(struct isl29028_chip *chip, int *als_data) in isl29028_als_get() 321 static int isl29028_ir_get(struct isl29028_chip *chip, int *ir_data) in isl29028_ir_get() 336 static int isl29028_set_pm_runtime_busy(struct isl29028_chip *chip, bool on) in isl29028_set_pm_runtime_busy() 356 struct isl29028_chip *chip = iio_priv(indio_dev); in isl29028_write_raw() local [all …]
|
/Linux-v5.15/drivers/mfd/ |
D | max77620.c | 233 struct max77620_chip *chip = irq_drv_data; in max77620_irq_global_mask() local 246 struct max77620_chip *chip = irq_drv_data; in max77620_irq_global_unmask() local 279 static int max77620_get_fps_period_reg_value(struct max77620_chip *chip, in max77620_get_fps_period_reg_value() 311 static int max77620_config_fps(struct max77620_chip *chip, in max77620_config_fps() 401 static int max77620_initialise_fps(struct max77620_chip *chip) in max77620_initialise_fps() 461 static int max77620_read_es_version(struct max77620_chip *chip) in max77620_read_es_version() 488 struct max77620_chip *chip = max77620_scratch; in max77620_pm_power_off() local 499 struct max77620_chip *chip; in max77620_probe() local 578 static int max77620_set_fps_period(struct max77620_chip *chip, in max77620_set_fps_period() 597 struct max77620_chip *chip = dev_get_drvdata(dev); in max77620_i2c_suspend() local [all …]
|
/Linux-v5.15/drivers/staging/rts5208/ |
D | rtsx.h | 42 #define rtsx_writel(chip, reg, value) \ argument 44 #define rtsx_readl(chip, reg) \ argument 46 #define rtsx_writew(chip, reg, value) \ argument 48 #define rtsx_readw(chip, reg) \ argument 50 #define rtsx_writeb(chip, reg, value) \ argument 52 #define rtsx_readb(chip, reg) \ argument 55 #define rtsx_read_config_byte(chip, where, val) \ argument 58 #define rtsx_write_config_byte(chip, where, val) \ argument 116 struct rtsx_chip *chip; member 137 #define lock_state(chip) spin_lock_irq(&((chip)->rtsx->reg_lock)) argument [all …]
|
/Linux-v5.15/drivers/char/tpm/ |
D | tpm2-space.c | 31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions() 59 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) in tpm2_del_space() 71 static int tpm2_load_context(struct tpm_chip *chip, u8 *buf, in tpm2_load_context() 122 static int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf, in tpm2_save_context() 164 void tpm2_flush_space(struct tpm_chip *chip) in tpm2_flush_space() 176 static int tpm2_load_space(struct tpm_chip *chip) in tpm2_load_space() 239 static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd) in tpm2_map_command() 265 static int tpm_find_and_validate_cc(struct tpm_chip *chip, in tpm_find_and_validate_cc() 300 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd, in tpm2_prepare_space() 338 static bool tpm2_add_session(struct tpm_chip *chip, u32 handle) in tpm2_add_session() [all …]
|
/Linux-v5.15/sound/pci/cs46xx/ |
D | cs46xx_lib.h | 45 static inline void snd_cs46xx_poke(struct snd_cs46xx *chip, unsigned long reg, unsigned int val) in snd_cs46xx_poke() 58 static inline unsigned int snd_cs46xx_peek(struct snd_cs46xx *chip, unsigned long reg) in snd_cs46xx_peek() 65 static inline void snd_cs46xx_pokeBA0(struct snd_cs46xx *chip, unsigned long offset, unsigned int v… in snd_cs46xx_pokeBA0() 70 static inline unsigned int snd_cs46xx_peekBA0(struct snd_cs46xx *chip, unsigned long offset) in snd_cs46xx_peekBA0() 87 #define cs46xx_dsp_proc_init(card, chip) argument 88 #define cs46xx_dsp_proc_done(chip) argument 112 #define cs46xx_dsp_proc_register_scb_desc(chip, scb) argument
|
/Linux-v5.15/sound/usb/ |
D | card.c | 139 static int snd_usb_create_stream(struct snd_usb_audio *chip, int ctrlif, int interface) in snd_usb_create_stream() 221 static int snd_usb_create_streams(struct snd_usb_audio *chip, int ctrlif) in snd_usb_create_streams() 477 struct snd_usb_audio *chip = card->private_data; in snd_usb_audio_free() local 487 struct snd_usb_audio *chip, in usb_audio_make_shortname() 518 struct snd_usb_audio *chip, in usb_audio_make_longname() 594 struct snd_usb_audio *chip; in snd_usb_audio_create() local 684 static bool check_delayed_register_option(struct snd_usb_audio *chip, int iface) in check_delayed_register_option() 735 struct snd_usb_audio *chip; in usb_audio_probe() local 901 struct snd_usb_audio *chip = usb_get_intfdata(intf); in usb_audio_disconnect() local 962 int snd_usb_lock_shutdown(struct snd_usb_audio *chip) in snd_usb_lock_shutdown() [all …]
|
D | format.c | 31 static u64 parse_audio_format_i_type(struct snd_usb_audio *chip, in parse_audio_format_i_type() 196 static int parse_audio_format_rates_v1(struct snd_usb_audio *chip, struct audioformat *fp, in parse_audio_format_rates_v1() 301 static bool focusrite_valid_sample_rate(struct snd_usb_audio *chip, in focusrite_valid_sample_rate() 348 static int parse_uac2_sample_rate_range(struct snd_usb_audio *chip, in parse_uac2_sample_rate_range() 409 static int line6_parse_audio_format_rates_quirk(struct snd_usb_audio *chip, in line6_parse_audio_format_rates_quirk() 429 static bool check_valid_altsetting_v2v3(struct snd_usb_audio *chip, int iface, in check_valid_altsetting_v2v3() 462 static int validate_sample_rate_table_v2v3(struct snd_usb_audio *chip, in validate_sample_rate_table_v2v3() 518 static int parse_audio_format_rates_v2v3(struct snd_usb_audio *chip, in parse_audio_format_rates_v2v3() 621 static int parse_audio_format_i(struct snd_usb_audio *chip, in parse_audio_format_i() 704 static int parse_audio_format_ii(struct snd_usb_audio *chip, in parse_audio_format_ii() [all …]
|
/Linux-v5.15/sound/ppc/ |
D | daca.c | 85 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in daca_get_deemphasis() local 97 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in daca_put_deemphasis() local 126 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in daca_get_volume() local 139 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in daca_put_volume() local 167 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in daca_get_amp() local 179 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in daca_put_amp() local 218 static void daca_resume(struct snd_pmac *chip) in daca_resume() 229 static void daca_cleanup(struct snd_pmac *chip) in daca_cleanup() 240 int snd_pmac_daca_init(struct snd_pmac *chip) in snd_pmac_daca_init()
|
D | tumbler.c | 255 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_master_volume() local 266 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_master_volume() local 290 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_master_switch() local 301 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_master_switch() local 391 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_info_drc_value() local 403 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_drc_value() local 415 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_drc_value() local 445 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_drc_switch() local 457 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_drc_switch() local 529 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_mono() local [all …]
|
/Linux-v5.15/drivers/mtd/spi-nor/controllers/ |
D | aspeed-smc.c | 256 static inline u32 aspeed_smc_chip_write_bit(struct aspeed_smc_chip *chip) in aspeed_smc_chip_write_bit() 261 static void aspeed_smc_chip_check_config(struct aspeed_smc_chip *chip) in aspeed_smc_chip_check_config() 279 struct aspeed_smc_chip *chip = nor->priv; in aspeed_smc_start_user() local 298 struct aspeed_smc_chip *chip = nor->priv; in aspeed_smc_stop_user() local 310 struct aspeed_smc_chip *chip = nor->priv; in aspeed_smc_prep() local 318 struct aspeed_smc_chip *chip = nor->priv; in aspeed_smc_unprep() local 326 struct aspeed_smc_chip *chip = nor->priv; in aspeed_smc_read_reg() local 338 struct aspeed_smc_chip *chip = nor->priv; in aspeed_smc_write_reg() local 349 struct aspeed_smc_chip *chip = nor->priv; in aspeed_smc_send_cmd_addr() local 376 struct aspeed_smc_chip *chip = nor->priv; in aspeed_smc_read_user() local [all …]
|
/Linux-v5.15/drivers/pwm/ |
D | pwm-imx1.c | 32 struct pwm_chip chip; member 35 #define to_pwm_imx1_chip(chip) container_of(chip, struct pwm_imx1_chip, chip) argument 37 static int pwm_imx1_clk_prepare_enable(struct pwm_chip *chip) in pwm_imx1_clk_prepare_enable() 55 static void pwm_imx1_clk_disable_unprepare(struct pwm_chip *chip) in pwm_imx1_clk_disable_unprepare() 63 static int pwm_imx1_config(struct pwm_chip *chip, in pwm_imx1_config() 94 static int pwm_imx1_enable(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_imx1_enable() 111 static void pwm_imx1_disable(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_imx1_disable()
|
/Linux-v5.15/arch/m68k/coldfire/ |
D | gpio.c | 110 static int mcfgpio_direction_input(struct gpio_chip *chip, unsigned offset) in mcfgpio_direction_input() 115 static int mcfgpio_get_value(struct gpio_chip *chip, unsigned offset) in mcfgpio_get_value() 120 static int mcfgpio_direction_output(struct gpio_chip *chip, unsigned offset, in mcfgpio_direction_output() 126 static void mcfgpio_set_value(struct gpio_chip *chip, unsigned offset, in mcfgpio_set_value() 132 static int mcfgpio_request(struct gpio_chip *chip, unsigned offset) in mcfgpio_request() 137 static void mcfgpio_free(struct gpio_chip *chip, unsigned offset) in mcfgpio_free() 142 static int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) in mcfgpio_to_irq()
|
/Linux-v5.15/drivers/gpio/ |
D | gpio-tpic2810.c | 30 struct gpio_chip chip; member 38 static int tpic2810_get_direction(struct gpio_chip *chip, in tpic2810_get_direction() 45 static int tpic2810_direction_input(struct gpio_chip *chip, in tpic2810_direction_input() 52 static int tpic2810_direction_output(struct gpio_chip *chip, in tpic2810_direction_output() 60 static void tpic2810_set_mask_bits(struct gpio_chip *chip, u8 mask, u8 bits) in tpic2810_set_mask_bits() 79 static void tpic2810_set(struct gpio_chip *chip, unsigned offset, int value) in tpic2810_set() 84 static void tpic2810_set_multiple(struct gpio_chip *chip, unsigned long *mask, in tpic2810_set_multiple()
|
D | gpio-ws16c48.c | 44 struct gpio_chip chip; member 53 static int ws16c48_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in ws16c48_gpio_get_direction() 65 static int ws16c48_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in ws16c48_gpio_direction_input() 83 static int ws16c48_gpio_direction_output(struct gpio_chip *chip, in ws16c48_gpio_direction_output() 105 static int ws16c48_gpio_get(struct gpio_chip *chip, unsigned offset) in ws16c48_gpio_get() 128 static int ws16c48_gpio_get_multiple(struct gpio_chip *chip, in ws16c48_gpio_get_multiple() 150 static void ws16c48_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in ws16c48_gpio_set() 174 static void ws16c48_gpio_set_multiple(struct gpio_chip *chip, in ws16c48_gpio_set_multiple() 206 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in ws16c48_irq_ack() local 232 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in ws16c48_irq_mask() local [all …]
|
/Linux-v5.15/drivers/iio/adc/ |
D | ina2xx-adc.c | 182 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_read_raw() local 285 static int ina226_set_average(struct ina2xx_chip_info *chip, unsigned int val, in ina226_set_average() 308 static int ina226_set_int_time_vbus(struct ina2xx_chip_info *chip, in ina226_set_int_time_vbus() 327 static int ina226_set_int_time_vshunt(struct ina2xx_chip_info *chip, in ina226_set_int_time_vshunt() 370 static int ina219_set_int_time_vbus(struct ina2xx_chip_info *chip, in ina219_set_int_time_vbus() 388 static int ina219_set_int_time_vshunt(struct ina2xx_chip_info *chip, in ina219_set_int_time_vshunt() 407 static int ina219_set_vbus_range_denom(struct ina2xx_chip_info *chip, in ina219_set_vbus_range_denom() 428 static int ina219_set_vshunt_pga_gain(struct ina2xx_chip_info *chip, in ina219_set_vshunt_pga_gain() 478 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_write_raw() local 540 struct ina2xx_chip_info *chip = iio_priv(dev_to_iio_dev(dev)); in ina2xx_allow_async_readout_show() local [all …]
|
/Linux-v5.15/sound/isa/sb/ |
D | sb_common.c | 30 int snd_sbdsp_command(struct snd_sb *chip, unsigned char val) in snd_sbdsp_command() 45 int snd_sbdsp_get_byte(struct snd_sb *chip) in snd_sbdsp_get_byte() 62 int snd_sbdsp_reset(struct snd_sb *chip) in snd_sbdsp_reset() 81 static int snd_sbdsp_version(struct snd_sb * chip) in snd_sbdsp_version() 91 static int snd_sbdsp_probe(struct snd_sb * chip) in snd_sbdsp_probe() 180 struct snd_sb *chip; in snd_sbdsp_create() local
|