Home
last modified time | relevance | path

Searched refs:hdrv (Results 1 – 8 of 8) sorted by relevance

/linux/sound/hda/core/
H A Dhda_bus_type.c52 const struct hdac_driver *hdrv = drv_to_hdac_driver(drv); in hda_bus_match() local
54 if (hdev->type != hdrv->type) in hda_bus_match()
61 if (hdrv->match) in hda_bus_match()
62 return hdrv->match(hdev, hdrv); in hda_bus_match()
64 return hdac_codec_match(hdev, hdrv); in hda_bus_match()
/linux/drivers/hid/
H A Dhid-core.c1548 struct hid_driver *hdrv = hid->driver; in hid_process_event() local
1554 if (hdrv && hdrv->event && hid_match_usage(hid, usage)) { in hid_process_event()
1555 ret = hdrv->event(hid, field, usage, value); in hid_process_event()
1559 hdrv->name, ret); in hid_process_event()
2034 struct hid_driver *hdrv; in hid_report_raw_event() local
2076 hdrv = hid->driver; in hid_report_raw_event()
2077 if (hdrv && hdrv->report) in hid_report_raw_event()
2078 hdrv->report(hid, report); in hid_report_raw_event()
2094 struct hid_driver *hdrv; in __hid_input_report() local
2114 hdrv = hid->driver; in __hid_input_report()
[all …]
/linux/drivers/net/hamradio/
H A Dbaycom_ser_fdx.c113 struct hdlcdrv_state hdrv; member
208 hdlcdrv_putbits(&bc->hdrv, (bc->modem.shreg >> 1) ^ 0xffff); in ser12_rx()
216 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx()
255 if (!bc || bc->hdrv.magic != HDLCDRV_MAGIC) in ser12_interrupt()
265 hdlcdrv_setdcd(&bc->hdrv, !((msr ^ bc->opt_dcd) & 0x80)); in ser12_interrupt()
299 hdlcdrv_setdcd(&bc->hdrv, !((msr ^ bc->opt_dcd) & 0x80)); in ser12_interrupt()
307 bc->modem.ser12.txshreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_interrupt()
308 if (!hdlcdrv_ptt(&bc->hdrv)) { in ser12_interrupt()
320 hdlcdrv_arbitrate(dev, &bc->hdrv); in ser12_interrupt()
321 if (hdlcdrv_ptt(&bc->hdrv)) { in ser12_interrupt()
[all …]
H A Dbaycom_par.c113 struct hdlcdrv_state hdrv; member
182 unsigned int data = hdlcdrv_getbits(&bc->hdrv); in par96_tx()
227 hdlcdrv_putbits(&bc->hdrv, data); in par96_rx()
248 hdlcdrv_setdcd(&bc->hdrv, bc->modem.par96.dcd_count > 0); in par96_rx()
250 hdlcdrv_setdcd(&bc->hdrv, !!(pp->ops->read_status(pp) & PAR96_DCD)); in par96_rx()
265 if (hdlcdrv_ptt(&bc->hdrv)) in par96_interrupt()
272 hdlcdrv_arbitrate(dev, &bc->hdrv); in par96_interrupt()
276 hdlcdrv_transmitter(dev, &bc->hdrv); in par96_interrupt()
277 hdlcdrv_receiver(dev, &bc->hdrv); in par96_interrupt()
320 bc->hdrv.par.bitrate = 9600; in par96_open()
[all …]
H A Dbaycom_ser_hdx.c99 struct hdlcdrv_state hdrv; member
195 bc->modem.shreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_tx()
210 hdlcdrv_channelbit(&bc->hdrv, cur_s); in ser12_rx()
231 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx()
341 hdlcdrv_putbits(&bc->hdrv, bc->modem.shreg >> 1); in ser12_rx()
346 hdlcdrv_setdcd(&bc->hdrv, !((inb(MSR(dev->base_addr)) ^ bc->opt_dcd) & 0x80)); in ser12_rx()
348 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx()
368 if (!dev || !bc || bc->hdrv.magic != HDLCDRV_MAGIC) in ser12_interrupt()
388 if (hdlcdrv_ptt(&bc->hdrv)) in ser12_interrupt()
406 hdlcdrv_arbitrate(dev, &bc->hdrv); in ser12_interrupt()
[all …]
/linux/sound/hda/core/ext/
H A Dbus.c86 struct hdac_driver *hdrv = drv_to_hdac_driver(dev->driver); in get_hdrv() local
87 return hdrv; in get_hdrv()
/linux/sound/soc/codecs/
H A Dhdac_hdmi.c1854 struct hdac_driver *hdrv = drv_to_hdac_driver(hdev->dev.driver); in hdac_hdmi_dev_probe()
1855 const struct hda_device_id *hdac_id = hdac_get_device_id(hdev, hdrv); in hdac_hdmi_dev_probe()
1849 struct hdac_driver *hdrv = drv_to_hdac_driver(hdev->dev.driver); hdac_hdmi_dev_probe() local
/linux/include/linux/
H A Dhid.h1027 struct hid_driver *hdrv);