Searched refs:hdrv (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/sound/hda/ |
D | hda_bus_type.c | 51 struct hdac_driver *hdrv = drv_to_hdac_driver(drv); in hda_bus_match() local 53 if (hdev->type != hdrv->type) in hda_bus_match() 60 if (hdrv->match) in hda_bus_match() 61 return hdrv->match(hdev, hdrv); in hda_bus_match() 63 return hdac_codec_match(hdev, hdrv); in hda_bus_match()
|
/Linux-v4.19/drivers/hid/ |
D | hid-core.c | 1259 struct hid_driver *hdrv = hid->driver; in hid_process_event() local 1265 if (hdrv && hdrv->event && hid_match_usage(hid, usage)) { in hid_process_event() 1266 ret = hdrv->event(hid, field, usage, value); in hid_process_event() 1270 hdrv->name, ret); in hid_process_event() 1488 struct hid_driver *hdrv; in hid_report_raw_event() local 1525 hdrv = hid->driver; in hid_report_raw_event() 1526 if (hdrv && hdrv->report) in hid_report_raw_event() 1527 hdrv->report(hid, report); in hid_report_raw_event() 1551 struct hid_driver *hdrv; in hid_input_report() local 1566 hdrv = hid->driver; in hid_input_report() [all …]
|
D | hid-generic.c | 31 struct hid_driver *hdrv = to_hid_driver(drv); in __check_hid_generic() local 34 if (hdrv == &hid_generic) in __check_hid_generic() 37 return hid_match_device(hdev, hdrv) != NULL; in __check_hid_generic()
|
/Linux-v4.19/drivers/net/hamradio/ |
D | baycom_ser_fdx.c | 128 struct hdlcdrv_state hdrv; member 249 hdlcdrv_putbits(&bc->hdrv, (bc->modem.shreg >> 1) ^ 0xffff); in ser12_rx() 257 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx() 296 if (!bc || bc->hdrv.magic != HDLCDRV_MAGIC) in ser12_interrupt() 306 hdlcdrv_setdcd(&bc->hdrv, !((msr ^ bc->opt_dcd) & 0x80)); in ser12_interrupt() 340 hdlcdrv_setdcd(&bc->hdrv, !((msr ^ bc->opt_dcd) & 0x80)); in ser12_interrupt() 348 bc->modem.ser12.txshreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_interrupt() 349 if (!hdlcdrv_ptt(&bc->hdrv)) { in ser12_interrupt() 361 hdlcdrv_arbitrate(dev, &bc->hdrv); in ser12_interrupt() 362 if (hdlcdrv_ptt(&bc->hdrv)) { in ser12_interrupt() [all …]
|
D | baycom_par.c | 129 struct hdlcdrv_state hdrv; member 198 unsigned int data = hdlcdrv_getbits(&bc->hdrv); in par96_tx() 243 hdlcdrv_putbits(&bc->hdrv, data); in par96_rx() 264 hdlcdrv_setdcd(&bc->hdrv, bc->modem.par96.dcd_count > 0); in par96_rx() 266 hdlcdrv_setdcd(&bc->hdrv, !!(pp->ops->read_status(pp) & PAR96_DCD)); in par96_rx() 281 if (hdlcdrv_ptt(&bc->hdrv)) in par96_interrupt() 288 hdlcdrv_arbitrate(dev, &bc->hdrv); in par96_interrupt() 292 hdlcdrv_transmitter(dev, &bc->hdrv); in par96_interrupt() 293 hdlcdrv_receiver(dev, &bc->hdrv); in par96_interrupt() 336 bc->hdrv.par.bitrate = 9600; in par96_open() [all …]
|
D | baycom_ser_hdx.c | 115 struct hdlcdrv_state hdrv; member 211 bc->modem.shreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_tx() 226 hdlcdrv_channelbit(&bc->hdrv, cur_s); in ser12_rx() 247 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx() 357 hdlcdrv_putbits(&bc->hdrv, bc->modem.shreg >> 1); in ser12_rx() 362 hdlcdrv_setdcd(&bc->hdrv, !((inb(MSR(dev->base_addr)) ^ bc->opt_dcd) & 0x80)); in ser12_rx() 364 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx() 384 if (!dev || !bc || bc->hdrv.magic != HDLCDRV_MAGIC) in ser12_interrupt() 404 if (hdlcdrv_ptt(&bc->hdrv)) in ser12_interrupt() 422 hdlcdrv_arbitrate(dev, &bc->hdrv); in ser12_interrupt() [all …]
|
/Linux-v4.19/sound/hda/ext/ |
D | hdac_ext_bus.c | 203 struct hdac_driver *hdrv = drv_to_hdac_driver(dev->driver); in get_hdrv() local 204 return hdrv; in get_hdrv()
|
/Linux-v4.19/include/linux/ |
D | hid.h | 904 struct hid_driver *hdrv);
|
/Linux-v4.19/sound/soc/codecs/ |
D | hdac_hdmi.c | 1988 struct hdac_driver *hdrv = drv_to_hdac_driver(hdev->dev.driver); in hdac_hdmi_dev_probe() local 1989 const struct hda_device_id *hdac_id = hdac_get_device_id(hdev, hdrv); in hdac_hdmi_dev_probe()
|