Home
last modified time | relevance | path

Searched refs:chip (Results 1 – 25 of 51) sorted by relevance

123

/include/sound/
Dvx_core.h76 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 …]
Dak4xxx-adda.h19 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 …]
Dsb.h105 #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 …]
Dwss.h101 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 …]
Dhdaudio.h465 #define _snd_hdac_chip_writeb(chip, reg, value) \ argument
466 snd_hdac_reg_writeb(chip, (chip)->remap_addr + (reg), value)
467 #define _snd_hdac_chip_readb(chip, reg) \ argument
468 snd_hdac_reg_readb(chip, (chip)->remap_addr + (reg))
469 #define _snd_hdac_chip_writew(chip, reg, value) \ argument
470 snd_hdac_reg_writew(chip, (chip)->remap_addr + (reg), value)
471 #define _snd_hdac_chip_readw(chip, reg) \ argument
472 snd_hdac_reg_readw(chip, (chip)->remap_addr + (reg))
473 #define _snd_hdac_chip_writel(chip, reg, value) \ argument
474 snd_hdac_reg_writel(chip, (chip)->remap_addr + (reg), value)
[all …]
Dad1816a.h15 #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);
Des1688.h94 void snd_es1688_mixer_write(struct snd_es1688 *chip, unsigned char reg, unsigned char data);
97 struct snd_es1688 *chip,
104 int snd_es1688_pcm(struct snd_card *card, struct snd_es1688 *chip, int device);
105 int snd_es1688_mixer(struct snd_card *card, struct snd_es1688 *chip);
106 int snd_es1688_reset(struct snd_es1688 *chip);
Dad1843.h14 void *chip; member
15 int (*read)(void *chip, int reg);
16 int (*write)(void *chip, int reg, int val);
Dsb16_csp.h45 struct snd_sb *chip; /* SB16 DSP */ member
75 int snd_sb_csp_new(struct snd_sb *chip, int device, struct snd_hwdep ** rhwdep);
Dak4114.h194 void snd_ak4114_suspend(struct ak4114 *chip);
195 void snd_ak4114_resume(struct ak4114 *chip);
197 static inline void snd_ak4114_suspend(struct ak4114 *chip) {} in snd_ak4114_suspend() argument
198 static inline void snd_ak4114_resume(struct ak4114 *chip) {} in snd_ak4114_resume() argument
/include/linux/irqchip/
Dchained_irq.h16 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/dma/
Ddw.h43 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
Dhsu.h41 int hsu_dma_get_status(struct hsu_dma_chip *chip, unsigned short nr,
43 int hsu_dma_do_irq(struct hsu_dma_chip *chip, unsigned short nr, u32 status);
46 int hsu_dma_probe(struct hsu_dma_chip *chip);
47 int hsu_dma_remove(struct hsu_dma_chip *chip);
49 static inline int hsu_dma_get_status(struct hsu_dma_chip *chip, in hsu_dma_get_status() argument
54 static inline int hsu_dma_do_irq(struct hsu_dma_chip *chip, unsigned short nr, in hsu_dma_do_irq() argument
59 static inline int hsu_dma_probe(struct hsu_dma_chip *chip) { return -ENODEV; } in hsu_dma_probe() argument
60 static inline int hsu_dma_remove(struct hsu_dma_chip *chip) { return 0; } in hsu_dma_remove() argument
Dedma.h106 int dw_edma_probe(struct dw_edma_chip *chip);
107 int dw_edma_remove(struct dw_edma_chip *chip);
109 static inline int dw_edma_probe(struct dw_edma_chip *chip) in dw_edma_probe() argument
114 static inline int dw_edma_remove(struct dw_edma_chip *chip) in dw_edma_remove() argument
/include/linux/mtd/
Drawnand.h142 #define NAND_HAS_SUBPAGE_READ(chip) ((chip->options & NAND_SUBPAGE_READ)) argument
363 void (*hwctl)(struct nand_chip *chip, int mode);
364 int (*calculate)(struct nand_chip *chip, const uint8_t *dat,
366 int (*correct)(struct nand_chip *chip, uint8_t *dat, uint8_t *read_ecc,
368 int (*read_page_raw)(struct nand_chip *chip, uint8_t *buf,
370 int (*write_page_raw)(struct nand_chip *chip, const uint8_t *buf,
372 int (*read_page)(struct nand_chip *chip, uint8_t *buf,
374 int (*read_subpage)(struct nand_chip *chip, uint32_t offs,
376 int (*write_subpage)(struct nand_chip *chip, uint32_t offset,
379 int (*write_page)(struct nand_chip *chip, const uint8_t *buf,
[all …]
Dplatnand.h56 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
/include/linux/
Dtpm.h88 bool (*req_canceled)(struct tpm_chip *chip, u8 status);
89 int (*recv) (struct tpm_chip *chip, u8 *buf, size_t len);
90 int (*send) (struct tpm_chip *chip, u8 *buf, size_t len);
91 void (*cancel) (struct tpm_chip *chip);
92 u8 (*status) (struct tpm_chip *chip);
93 void (*update_timeouts)(struct tpm_chip *chip,
95 void (*update_durations)(struct tpm_chip *chip,
97 int (*go_idle)(struct tpm_chip *chip);
98 int (*cmd_ready)(struct tpm_chip *chip);
99 int (*request_locality)(struct tpm_chip *chip, int loc);
[all …]
Dpwm.h86 struct pwm_chip *chip; member
261 int (*request)(struct pwm_chip *chip, struct pwm_device *pwm);
262 void (*free)(struct pwm_chip *chip, struct pwm_device *pwm);
263 int (*capture)(struct pwm_chip *chip, struct pwm_device *pwm,
265 int (*apply)(struct pwm_chip *chip, struct pwm_device *pwm,
267 int (*get_state)(struct pwm_chip *chip, struct pwm_device *pwm,
291 struct pwm_device * (*of_xlate)(struct pwm_chip *chip,
301 static inline struct device *pwmchip_parent(const struct pwm_chip *chip) in pwmchip_parent() argument
303 return chip->dev.parent; in pwmchip_parent()
306 static inline void *pwmchip_get_drvdata(struct pwm_chip *chip) in pwmchip_get_drvdata() argument
[all …]
Dhte.h137 int (*request)(struct hte_chip *chip, struct hte_ts_desc *desc,
139 int (*release)(struct hte_chip *chip, struct hte_ts_desc *desc,
141 int (*enable)(struct hte_chip *chip, u32 xlated_id);
142 int (*disable)(struct hte_chip *chip, u32 xlated_id);
143 int (*get_clk_src_info)(struct hte_chip *chip,
173 bool (*match_from_linedata)(const struct hte_chip *chip,
183 int devm_hte_register_chip(struct hte_chip *chip);
184 int hte_push_ts_ns(const struct hte_chip *chip, u32 xlated_id,
204 static inline int devm_hte_register_chip(struct hte_chip *chip) in devm_hte_register_chip() argument
209 static inline int hte_push_ts_ns(const struct hte_chip *chip, in hte_push_ts_ns() argument
Dirqdesc.h156 return desc->irq_data.chip; in irq_desc_get_chip()
231 const struct irq_chip *chip, in irq_set_chip_handler_name_locked() argument
238 data->chip = (struct irq_chip *)chip; in irq_set_chip_handler_name_locked()
Dcb710.h99 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);
/include/linux/dsa/
Dlan9303.h8 int (*phy_read)(struct lan9303 *chip, int addr, int regnum);
9 int (*phy_write)(struct lan9303 *chip, int addr,
/include/linux/mfd/mt6397/
Dcore.h77 int mt6358_irq_init(struct mt6397_chip *chip);
78 int mt6397_irq_init(struct mt6397_chip *chip);
/include/linux/mux/
Ddriver.h47 struct mux_chip *chip; member
106 return mux - mux->chip->mux; in mux_control_get_index()
/include/linux/iio/common/
Dinv_sensors_timestamp.h56 struct inv_sensors_timestamp_chip chip; member
68 const struct inv_sensors_timestamp_chip *chip);

123