/include/sound/ |
D | vx_core.h | 76 unsigned char (*in8)(struct vx_core *chip, int reg); 77 unsigned int (*in32)(struct vx_core *chip, int reg); 78 void (*out8)(struct vx_core *chip, int reg, unsigned char val); 79 void (*out32)(struct vx_core *chip, int reg, unsigned int val); 81 int (*test_and_ack)(struct vx_core *chip); 82 void (*validate_irq)(struct vx_core *chip, int enable); 84 void (*write_codec)(struct vx_core *chip, int codec, unsigned int data); 85 void (*akm_write)(struct vx_core *chip, int reg, unsigned int data); 86 void (*reset_codec)(struct vx_core *chip); 87 void (*change_audio_source)(struct vx_core *chip, int src); [all …]
|
D | ak4xxx-adda.h | 19 void (*lock)(struct snd_akm4xxx *ak, int chip); 20 void (*unlock)(struct snd_akm4xxx *ak, int chip); 21 void (*write)(struct snd_akm4xxx *ak, int chip, unsigned char reg, 70 void snd_akm4xxx_write(struct snd_akm4xxx *ak, int chip, unsigned char reg, 76 #define snd_akm4xxx_get(ak,chip,reg) \ argument 77 (ak)->images[(chip) * 16 + (reg)] 78 #define snd_akm4xxx_set(ak,chip,reg,val) \ argument 79 ((ak)->images[(chip) * 16 + (reg)] = (val)) 80 #define snd_akm4xxx_get_vol(ak,chip,reg) \ argument 81 (ak)->volumes[(chip) * 16 + (reg)] [all …]
|
D | wss.h | 101 void (*set_playback_format) (struct snd_wss *chip, 104 void (*set_capture_format) (struct snd_wss *chip, 107 void (*trigger) (struct snd_wss *chip, unsigned int what, int start); 109 void (*suspend) (struct snd_wss *chip); 110 void (*resume) (struct snd_wss *chip); 113 int (*claim_dma) (struct snd_wss *chip, 115 int (*release_dma) (struct snd_wss *chip, 121 void snd_wss_out(struct snd_wss *chip, unsigned char reg, unsigned char val); 122 unsigned char snd_wss_in(struct snd_wss *chip, unsigned char reg); 123 void snd_cs4236_ext_out(struct snd_wss *chip, [all …]
|
D | sb.h | 105 #define SBP(chip, x) ((chip)->port + s_b_SB_##x) argument 265 static inline void snd_sb_ack_8bit(struct snd_sb *chip) in snd_sb_ack_8bit() argument 267 inb(SBP(chip, DATA_AVAIL)); in snd_sb_ack_8bit() 270 static inline void snd_sb_ack_16bit(struct snd_sb *chip) in snd_sb_ack_16bit() argument 272 inb(SBP(chip, DATA_AVAIL_16)); in snd_sb_ack_16bit() 276 int snd_sbdsp_command(struct snd_sb *chip, unsigned char val); 277 int snd_sbdsp_get_byte(struct snd_sb *chip); 278 int snd_sbdsp_reset(struct snd_sb *chip); 287 void snd_sbmixer_write(struct snd_sb *chip, unsigned char reg, unsigned char data); 288 unsigned char snd_sbmixer_read(struct snd_sb *chip, unsigned char reg); [all …]
|
D | hdaudio.h | 454 #define _snd_hdac_chip_writeb(chip, reg, value) \ argument 455 snd_hdac_reg_writeb(chip, (chip)->remap_addr + (reg), value) 456 #define _snd_hdac_chip_readb(chip, reg) \ argument 457 snd_hdac_reg_readb(chip, (chip)->remap_addr + (reg)) 458 #define _snd_hdac_chip_writew(chip, reg, value) \ argument 459 snd_hdac_reg_writew(chip, (chip)->remap_addr + (reg), value) 460 #define _snd_hdac_chip_readw(chip, reg) \ argument 461 snd_hdac_reg_readw(chip, (chip)->remap_addr + (reg)) 462 #define _snd_hdac_chip_writel(chip, reg, value) \ argument 463 snd_hdac_reg_writel(chip, (chip)->remap_addr + (reg), value) [all …]
|
D | ad1816a.h | 15 #define AD1816A_REG(r) (chip->port + r) 159 struct snd_ad1816a *chip); 161 extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device); 162 extern int snd_ad1816a_mixer(struct snd_ad1816a *chip); 163 extern int snd_ad1816a_timer(struct snd_ad1816a *chip, int device); 165 extern void snd_ad1816a_suspend(struct snd_ad1816a *chip); 166 extern void snd_ad1816a_resume(struct snd_ad1816a *chip);
|
D | es1688.h | 93 void snd_es1688_mixer_write(struct snd_es1688 *chip, unsigned char reg, unsigned char data); 96 struct snd_es1688 *chip, 103 int snd_es1688_pcm(struct snd_card *card, struct snd_es1688 *chip, int device); 104 int snd_es1688_mixer(struct snd_card *card, struct snd_es1688 *chip); 105 int snd_es1688_reset(struct snd_es1688 *chip);
|
D | ad1843.h | 14 void *chip; member 15 int (*read)(void *chip, int reg); 16 int (*write)(void *chip, int reg, int val);
|
D | sb16_csp.h | 45 struct snd_sb *chip; /* SB16 DSP */ member 75 int snd_sb_csp_new(struct snd_sb *chip, int device, struct snd_hwdep ** rhwdep);
|
/include/linux/irqchip/ |
D | chained_irq.h | 16 static inline void chained_irq_enter(struct irq_chip *chip, in chained_irq_enter() argument 20 if (chip->irq_eoi) in chained_irq_enter() 23 if (chip->irq_mask_ack) { in chained_irq_enter() 24 chip->irq_mask_ack(&desc->irq_data); in chained_irq_enter() 26 chip->irq_mask(&desc->irq_data); in chained_irq_enter() 27 if (chip->irq_ack) in chained_irq_enter() 28 chip->irq_ack(&desc->irq_data); in chained_irq_enter() 32 static inline void chained_irq_exit(struct irq_chip *chip, in chained_irq_exit() argument 35 if (chip->irq_eoi) in chained_irq_exit() 36 chip->irq_eoi(&desc->irq_data); in chained_irq_exit() [all …]
|
/include/linux/gpio/ |
D | driver.h | 34 struct irq_chip *chip; member 87 int (*child_to_parent_hwirq)(struct gpio_chip *chip, 102 void (*populate_parent_fwspec)(struct gpio_chip *chip, 115 unsigned int (*child_offset_to_irq)(struct gpio_chip *chip, 210 int (*init_hw)(struct gpio_chip *chip); 221 void (*init_valid_mask)(struct gpio_chip *chip, 346 int (*request)(struct gpio_chip *chip, 348 void (*free)(struct gpio_chip *chip, 350 int (*get_direction)(struct gpio_chip *chip, 352 int (*direction_input)(struct gpio_chip *chip, [all …]
|
/include/linux/ |
D | tpm.h | 63 bool (*req_canceled)(struct tpm_chip *chip, u8 status); 64 int (*recv) (struct tpm_chip *chip, u8 *buf, size_t len); 65 int (*send) (struct tpm_chip *chip, u8 *buf, size_t len); 66 void (*cancel) (struct tpm_chip *chip); 67 u8 (*status) (struct tpm_chip *chip); 68 void (*update_timeouts)(struct tpm_chip *chip, 70 int (*go_idle)(struct tpm_chip *chip); 71 int (*cmd_ready)(struct tpm_chip *chip); 72 int (*request_locality)(struct tpm_chip *chip, int loc); 73 int (*relinquish_locality)(struct tpm_chip *chip, int loc); [all …]
|
D | pwm.h | 93 struct pwm_chip *chip; member 283 int (*request)(struct pwm_chip *chip, struct pwm_device *pwm); 284 void (*free)(struct pwm_chip *chip, struct pwm_device *pwm); 285 int (*capture)(struct pwm_chip *chip, struct pwm_device *pwm, 287 int (*apply)(struct pwm_chip *chip, struct pwm_device *pwm, 289 void (*get_state)(struct pwm_chip *chip, struct pwm_device *pwm, 291 int (*get_output_type_supported)(struct pwm_chip *chip, 296 int (*config)(struct pwm_chip *chip, struct pwm_device *pwm, 298 int (*set_polarity)(struct pwm_chip *chip, struct pwm_device *pwm, 300 int (*enable)(struct pwm_chip *chip, struct pwm_device *pwm); [all …]
|
D | cb710.h | 99 static inline struct device *cb710_chip_dev(struct cb710_chip *chip) in cb710_chip_dev() argument 101 return &chip->pdev->dev; in cb710_chip_dev() 107 void cb710_dump_regs(struct cb710_chip *chip, unsigned dump);
|
D | irqdesc.h | 137 return desc->irq_data.chip; in irq_desc_get_chip() 225 irq_set_chip_handler_name_locked(struct irq_data *data, struct irq_chip *chip, in irq_set_chip_handler_name_locked() argument 232 data->chip = chip; in irq_set_chip_handler_name_locked()
|
/include/linux/dma/ |
D | dw.h | 43 int dw_dma_probe(struct dw_dma_chip *chip); 44 int dw_dma_remove(struct dw_dma_chip *chip); 45 int idma32_dma_probe(struct dw_dma_chip *chip); 46 int idma32_dma_remove(struct dw_dma_chip *chip); 48 static inline int dw_dma_probe(struct dw_dma_chip *chip) { return -ENODEV; } in dw_dma_probe() argument 49 static inline int dw_dma_remove(struct dw_dma_chip *chip) { return 0; } in dw_dma_remove() argument 50 static inline int idma32_dma_probe(struct dw_dma_chip *chip) { return -ENODEV; } in idma32_dma_probe() argument 51 static inline int idma32_dma_remove(struct dw_dma_chip *chip) { return 0; } in idma32_dma_remove() argument
|
D | hsu.h | 39 int hsu_dma_get_status(struct hsu_dma_chip *chip, unsigned short nr, 41 int hsu_dma_do_irq(struct hsu_dma_chip *chip, unsigned short nr, u32 status); 44 int hsu_dma_probe(struct hsu_dma_chip *chip); 45 int hsu_dma_remove(struct hsu_dma_chip *chip); 47 static inline int hsu_dma_get_status(struct hsu_dma_chip *chip, in hsu_dma_get_status() argument 52 static inline int hsu_dma_do_irq(struct hsu_dma_chip *chip, unsigned short nr, in hsu_dma_do_irq() argument 57 static inline int hsu_dma_probe(struct hsu_dma_chip *chip) { return -ENODEV; } in hsu_dma_probe() argument 58 static inline int hsu_dma_remove(struct hsu_dma_chip *chip) { return 0; } in hsu_dma_remove() argument
|
D | edma.h | 33 int dw_edma_probe(struct dw_edma_chip *chip); 34 int dw_edma_remove(struct dw_edma_chip *chip); 36 static inline int dw_edma_probe(struct dw_edma_chip *chip) in dw_edma_probe() argument 41 static inline int dw_edma_remove(struct dw_edma_chip *chip) in dw_edma_remove() argument
|
/include/linux/mtd/ |
D | rawnand.h | 167 #define NAND_HAS_SUBPAGE_READ(chip) ((chip->options & NAND_SUBPAGE_READ)) argument 367 void (*hwctl)(struct nand_chip *chip, int mode); 368 int (*calculate)(struct nand_chip *chip, const uint8_t *dat, 370 int (*correct)(struct nand_chip *chip, uint8_t *dat, uint8_t *read_ecc, 372 int (*read_page_raw)(struct nand_chip *chip, uint8_t *buf, 374 int (*write_page_raw)(struct nand_chip *chip, const uint8_t *buf, 376 int (*read_page)(struct nand_chip *chip, uint8_t *buf, 378 int (*read_subpage)(struct nand_chip *chip, uint32_t offs, 380 int (*write_subpage)(struct nand_chip *chip, uint32_t offset, 383 int (*write_page)(struct nand_chip *chip, const uint8_t *buf, [all …]
|
D | platnand.h | 56 int (*dev_ready)(struct nand_chip *chip); 57 void (*select_chip)(struct nand_chip *chip, int cs); 58 void (*cmd_ctrl)(struct nand_chip *chip, int dat, unsigned int ctrl); 59 void (*write_buf)(struct nand_chip *chip, const uint8_t *buf, int len); 60 void (*read_buf)(struct nand_chip *chip, uint8_t *buf, int len); 70 struct platform_nand_chip chip; member
|
D | nand_bch.h | 22 int nand_bch_calculate_ecc(struct nand_chip *chip, const u_char *dat, 28 int nand_bch_correct_data(struct nand_chip *chip, u_char *dat, 44 nand_bch_calculate_ecc(struct nand_chip *chip, const u_char *dat, in nand_bch_calculate_ecc() argument 51 nand_bch_correct_data(struct nand_chip *chip, unsigned char *buf, in nand_bch_correct_data() argument
|
D | nand_ecc.h | 24 int nand_calculate_ecc(struct nand_chip *chip, const u_char *dat, 36 int nand_correct_data(struct nand_chip *chip, u_char *dat, u_char *read_ecc,
|
/include/soc/fsl/qe/ |
D | qe_ic.h | 99 struct irq_chip *chip = irq_desc_get_chip(desc); in qe_ic_cascade_low_mpic() local 104 chip->irq_eoi(&desc->irq_data); in qe_ic_cascade_low_mpic() 111 struct irq_chip *chip = irq_desc_get_chip(desc); in qe_ic_cascade_high_mpic() local 116 chip->irq_eoi(&desc->irq_data); in qe_ic_cascade_high_mpic() 123 struct irq_chip *chip = irq_desc_get_chip(desc); in qe_ic_cascade_muxed_mpic() local 132 chip->irq_eoi(&desc->irq_data); in qe_ic_cascade_muxed_mpic()
|
/include/linux/dsa/ |
D | lan9303.h | 8 int (*phy_read)(struct lan9303 *chip, int port, int regnum); 9 int (*phy_write)(struct lan9303 *chip, int port,
|
/include/linux/mux/ |
D | driver.h | 45 struct mux_chip *chip; member 102 return mux - mux->chip->mux; in mux_control_get_index()
|