Home
last modified time | relevance | path

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

123

/include/sound/
A Dvx_core.h216 return chip->ops->test_and_ack(chip); in vx_test_and_ack()
221 chip->ops->validate_irq(chip, enable); in vx_validate_irq()
226 return chip->ops->in8(chip, reg); in snd_vx_inb()
231 return chip->ops->in32(chip, reg); in snd_vx_inl()
236 chip->ops->out8(chip, reg, val); in snd_vx_outb()
241 chip->ops->out32(chip, reg, val); in snd_vx_outl()
244 #define vx_inb(chip,reg) snd_vx_inb(chip, VX_##reg) argument
246 #define vx_inl(chip,reg) snd_vx_inl(chip, VX_##reg) argument
251 chip->ops->reset_dsp(chip); in vx_reset_dsp()
278 chip->ops->dma_write(chip, runtime, pipe, count); in vx_pseudo_dma_write()
[all …]
A 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,
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)]
82 #define snd_akm4xxx_set_vol(ak,chip,reg,val) \ argument
[all …]
A Dsb.h105 #define SBP(chip, x) ((chip)->port + s_b_SB_##x) argument
267 inb(SBP(chip, DATA_AVAIL)); in snd_sb_ack_8bit()
272 inb(SBP(chip, DATA_AVAIL_16)); in snd_sb_ack_16bit()
277 int snd_sbdsp_get_byte(struct snd_sb *chip);
278 int snd_sbdsp_reset(struct snd_sb *chip);
289 int snd_sbmixer_new(struct snd_sb *chip);
291 void snd_sbmixer_suspend(struct snd_sb *chip);
292 void snd_sbmixer_resume(struct snd_sb *chip);
299 int snd_sb8dsp_pcm(struct snd_sb *chip, int device);
308 int snd_sb8dsp_midi(struct snd_sb *chip, int device);
[all …]
A Dwss.h104 void (*set_capture_format) (struct snd_wss *chip,
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,
123 void snd_cs4236_ext_out(struct snd_wss *chip,
126 void snd_wss_mce_up(struct snd_wss *chip);
127 void snd_wss_mce_down(struct snd_wss *chip);
129 void snd_wss_overrange(struct snd_wss *chip);
144 int snd_wss_mixer(struct snd_wss *chip);
[all …]
A Dhdaudio.h466 snd_hdac_reg_writeb(chip, (chip)->remap_addr + (reg), value)
468 snd_hdac_reg_readb(chip, (chip)->remap_addr + (reg))
470 snd_hdac_reg_writew(chip, (chip)->remap_addr + (reg), value)
472 snd_hdac_reg_readw(chip, (chip)->remap_addr + (reg))
474 snd_hdac_reg_writel(chip, (chip)->remap_addr + (reg), value)
476 snd_hdac_reg_readl(chip, (chip)->remap_addr + (reg))
485 #define snd_hdac_chip_readl(chip, reg) \ argument
487 #define snd_hdac_chip_readw(chip, reg) \ argument
494 snd_hdac_chip_writel(chip, reg, \
497 snd_hdac_chip_writew(chip, reg, \
[all …]
A 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);
A 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);
A Dad1843.h14 void *chip; member
15 int (*read)(void *chip, int reg);
16 int (*write)(void *chip, int reg, int val);
A 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);
/include/linux/irqchip/
A 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/
A 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
A 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
A 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/
A Drawnand.h142 #define NAND_HAS_SUBPAGE_READ(chip) ((chip->options & NAND_SUBPAGE_READ)) argument
1100 int (*exec_op)(struct nand_chip *chip,
1196 int (*suspend)(struct nand_chip *chip);
1355 return &chip->base.mtd; in nand_to_mtd()
1360 return chip->priv; in nand_get_controller_data()
1365 chip->priv = priv; in nand_set_controller_data()
1371 chip->manufacturer.priv = priv; in nand_set_manufacturer_data()
1376 return chip->manufacturer.priv; in nand_get_manufacturer_data()
1398 return chip->current_interface_config; in nand_get_interface_config()
1636 chip->pagecache.page = -1; in nand_get_data_buf()
[all …]
A 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/
A Dtpm.h92 void (*cancel) (struct tpm_chip *chip);
93 u8 (*status) (struct tpm_chip *chip);
94 void (*update_timeouts)(struct tpm_chip *chip,
96 void (*update_durations)(struct tpm_chip *chip,
98 int (*go_idle)(struct tpm_chip *chip);
99 int (*cmd_ready)(struct tpm_chip *chip);
133 struct tpm_chip *chip; member
463 extern int tpm_is_tpm2(struct tpm_chip *chip);
465 extern void tpm_put_ops(struct tpm_chip *chip);
520 return chip->auth; in tpm2_chip_auth()
[all …]
A Dpwm.h111 struct pwm_chip *chip; member
371 return chip->ops->write_waveform != NULL; in pwmchip_supports_waveform()
376 return chip->dev.parent; in pwmchip_parent()
381 return dev_get_drvdata(&chip->dev); in pwmchip_get_drvdata()
386 dev_set_drvdata(&chip->dev, data); in pwmchip_set_drvdata()
476 return !pwm->chip->atomic; in pwm_might_sleep()
480 void pwmchip_put(struct pwm_chip *chip);
485 #define pwmchip_add(chip) __pwmchip_add(chip, THIS_MODULE) argument
486 void pwmchip_remove(struct pwm_chip *chip);
489 #define devm_pwmchip_add(dev, chip) __devm_pwmchip_add(dev, chip, THIS_MODULE) argument
[all …]
A 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
A Dirqdesc.h154 return desc->irq_data.chip; in irq_desc_get_chip()
229 const struct irq_chip *chip, in irq_set_chip_handler_name_locked() argument
236 data->chip = (struct irq_chip *)chip; in irq_set_chip_handler_name_locked()
A 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/gpio/
A Dgeneric.h66 gpio_generic_chip_init(struct gpio_generic_chip *chip, in gpio_generic_chip_init() argument
69 return bgpio_init(&chip->gc, cfg->dev, cfg->sz, cfg->dat, cfg->set, in gpio_generic_chip_init()
88 gpio_generic_chip_set(struct gpio_generic_chip *chip, unsigned int offset, in gpio_generic_chip_set() argument
91 if (WARN_ON(!chip->gc.set)) in gpio_generic_chip_set()
94 return chip->gc.set(&chip->gc, offset, value); in gpio_generic_chip_set()
/include/linux/dsa/
A Dlan9303.h8 int (*phy_read)(struct lan9303 *chip, int addr, int regnum);
9 int (*phy_write)(struct lan9303 *chip, int addr,
/include/linux/mux/
A Ddriver.h47 struct mux_chip *chip; member
106 return mux - mux->chip->mux; in mux_control_get_index()
/include/linux/mfd/mt6397/
A Dcore.h78 int mt6358_irq_init(struct mt6397_chip *chip);
79 int mt6397_irq_init(struct mt6397_chip *chip);
/include/linux/iio/common/
A Dinv_sensors_timestamp.h56 struct inv_sensors_timestamp_chip chip; member
68 const struct inv_sensors_timestamp_chip *chip);

Completed in 48 milliseconds

123