Home
last modified time | relevance | path

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

/linux-4.1.27/sound/hda/
Dhda_bus_type.c16 struct hdac_driver *hdrv = drv_to_hdac_driver(drv); in hda_bus_match() local
18 if (hdev->type != hdrv->type) in hda_bus_match()
20 if (hdrv->match) in hda_bus_match()
21 return hdrv->match(hdev, hdrv); in hda_bus_match()
/linux-4.1.27/drivers/net/hamradio/
Dbaycom_par.c129 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()
334 bc->hdrv.par.bitrate = 9600; in par96_open()
[all …]
Dbaycom_ser_fdx.c127 struct hdlcdrv_state hdrv; member
247 hdlcdrv_putbits(&bc->hdrv, (bc->modem.shreg >> 1) ^ 0xffff); in ser12_rx()
255 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx()
294 if (!bc || bc->hdrv.magic != HDLCDRV_MAGIC) in ser12_interrupt()
304 hdlcdrv_setdcd(&bc->hdrv, !((msr ^ bc->opt_dcd) & 0x80)); in ser12_interrupt()
338 hdlcdrv_setdcd(&bc->hdrv, !((msr ^ bc->opt_dcd) & 0x80)); in ser12_interrupt()
346 bc->modem.ser12.txshreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_interrupt()
347 if (!hdlcdrv_ptt(&bc->hdrv)) { in ser12_interrupt()
359 hdlcdrv_arbitrate(dev, &bc->hdrv); in ser12_interrupt()
360 if (hdlcdrv_ptt(&bc->hdrv)) { in ser12_interrupt()
[all …]
Dbaycom_ser_hdx.c115 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-4.1.27/drivers/hid/
Dhid-core.c1178 struct hid_driver *hdrv = hid->driver; in hid_process_event() local
1184 if (hdrv && hdrv->event && hid_match_usage(hid, usage)) { in hid_process_event()
1185 ret = hdrv->event(hid, field, usage, value); in hid_process_event()
1189 hdrv->name, ret); in hid_process_event()
1404 struct hid_driver *hdrv; in hid_report_raw_event() local
1441 hdrv = hid->driver; in hid_report_raw_event()
1442 if (hdrv && hdrv->report) in hid_report_raw_event()
1443 hdrv->report(hid, report); in hid_report_raw_event()
1467 struct hid_driver *hdrv; in hid_input_report() local
1482 hdrv = hid->driver; in hid_input_report()
[all …]