Home
last modified time | relevance | path

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

/Linux-v6.6/sound/hda/
Dhda_bus_type.c52 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-v6.6/drivers/hid/
Dhid-core.c1517 struct hid_driver *hdrv = hid->driver; in hid_process_event() local
1523 if (hdrv && hdrv->event && hid_match_usage(hid, usage)) { in hid_process_event()
1524 ret = hdrv->event(hid, field, usage, value); in hid_process_event()
1528 hdrv->name, ret); in hid_process_event()
1969 struct hid_driver *hdrv; in hid_report_raw_event() local
2010 hdrv = hid->driver; in hid_report_raw_event()
2011 if (hdrv && hdrv->report) in hid_report_raw_event()
2012 hdrv->report(hid, report); in hid_report_raw_event()
2037 struct hid_driver *hdrv; in hid_input_report() local
2052 hdrv = hid->driver; in hid_input_report()
[all …]
Dhid-generic.c28 struct hid_driver *hdrv = to_hid_driver(drv); in __check_hid_generic() local
31 if (hdrv == &hid_generic) in __check_hid_generic()
34 return hid_match_device(hdev, hdrv) != NULL; in __check_hid_generic()
/Linux-v6.6/drivers/net/hamradio/
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 …]
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 …]
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-v6.6/sound/hda/ext/
Dhdac_ext_bus.c86 struct hdac_driver *hdrv = drv_to_hdac_driver(dev->driver); in get_hdrv() local
87 return hdrv; in get_hdrv()
/Linux-v6.6/include/linux/
Dhid.h969 struct hid_driver *hdrv);
/Linux-v6.6/sound/soc/codecs/
Dhdac_hdmi.c2148 struct hdac_driver *hdrv = drv_to_hdac_driver(hdev->dev.driver); in hdac_hdmi_dev_probe() local
2149 const struct hda_device_id *hdac_id = hdac_get_device_id(hdev, hdrv); in hdac_hdmi_dev_probe()