Home
last modified time | relevance | path

Searched refs:hdrv (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-core.c1521 struct hid_driver *hdrv = hid->driver; in hid_process_event() local
1527 if (hdrv && hdrv->event && hid_match_usage(hid, usage)) { in hid_process_event()
1528 ret = hdrv->event(hid, field, usage, value); in hid_process_event()
1532 hdrv->name, ret); in hid_process_event()
1764 struct hid_driver *hdrv; in hid_report_raw_event() local
1807 hdrv = hid->driver; in hid_report_raw_event()
1808 if (hdrv && hdrv->report) in hid_report_raw_event()
1809 hdrv in hid_report_raw_event()
1833 struct hid_driver *hdrv; hid_input_report() local
2166 struct hid_driver *hdrv = to_hid_driver(drv); new_id_store() local
2203 hid_free_dynids(struct hid_driver *hdrv) hid_free_dynids() argument
2215 hid_match_device(struct hid_device *hdev, struct hid_driver *hdrv) hid_match_device() argument
2235 struct hid_driver *hdrv = to_hid_driver(drv); hid_bus_match() local
2266 struct hid_driver *hdrv = to_hid_driver(dev->driver); hid_device_probe() local
2328 struct hid_driver *hdrv; hid_device_remove() local
2537 struct hid_driver *hdrv = data; __hid_bus_reprobe_drivers() local
2550 struct hid_driver *hdrv = to_hid_driver(drv); __hid_bus_driver_added() local
2565 __hid_register_driver(struct hid_driver *hdrv, struct module *owner, const char *mod_name) __hid_register_driver() argument
2588 hid_unregister_driver(struct hid_driver *hdrv) hid_unregister_driver() argument
[all...]
H A 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()
/kernel/linux/linux-5.10/sound/hda/
H A 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()
/kernel/linux/linux-6.6/sound/hda/
H A 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()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-core.c1524 struct hid_driver *hdrv = hid->driver; in hid_process_event() local
1530 if (hdrv && hdrv->event && hid_match_usage(hid, usage)) { in hid_process_event()
1531 ret = hdrv->event(hid, field, usage, value); in hid_process_event()
1535 hdrv->name, ret); in hid_process_event()
1976 struct hid_driver *hdrv; in hid_report_raw_event() local
2017 hdrv = hid->driver; in hid_report_raw_event()
2018 if (hdrv && hdrv->report) in hid_report_raw_event()
2019 hdrv in hid_report_raw_event()
2044 struct hid_driver *hdrv; hid_input_report() local
2499 struct hid_driver *hdrv = to_hid_driver(drv); new_id_store() local
2536 hid_free_dynids(struct hid_driver *hdrv) hid_free_dynids() argument
2548 hid_match_device(struct hid_device *hdev, struct hid_driver *hdrv) hid_match_device() argument
2568 struct hid_driver *hdrv = to_hid_driver(drv); hid_bus_match() local
2597 hid_check_device_match(struct hid_device *hdev, struct hid_driver *hdrv, const struct hid_device_id **id) hid_check_device_match() argument
2616 __hid_device_probe(struct hid_device *hdev, struct hid_driver *hdrv) __hid_device_probe() argument
2660 struct hid_driver *hdrv = to_hid_driver(dev->driver); hid_device_probe() local
2681 struct hid_driver *hdrv; hid_device_remove() local
2895 struct hid_driver *hdrv = data; __hid_bus_reprobe_drivers() local
2908 struct hid_driver *hdrv = to_hid_driver(drv); __hid_bus_driver_added() local
2923 __hid_register_driver(struct hid_driver *hdrv, struct module *owner, const char *mod_name) __hid_register_driver() argument
2946 hid_unregister_driver(struct hid_driver *hdrv) hid_unregister_driver() argument
[all...]
H A 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()
/kernel/linux/linux-5.10/drivers/net/hamradio/
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 in par96_open()
[all...]
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_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...]
/kernel/linux/linux-6.6/drivers/net/hamradio/
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 in par96_open()
[all...]
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_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...]
/kernel/linux/linux-6.6/sound/hda/ext/
H A Dhdac_ext_bus.c86 struct hdac_driver *hdrv = drv_to_hdac_driver(dev->driver); in get_hdrv() local
87 return hdrv; in get_hdrv()
/kernel/linux/linux-5.10/sound/hda/ext/
H A Dhdac_ext_bus.c139 struct hdac_driver *hdrv = drv_to_hdac_driver(dev->driver); in get_hdrv() local
140 return hdrv; in get_hdrv()
/kernel/linux/linux-5.10/include/linux/
H A Dhid.h927 struct hid_driver *hdrv);
/kernel/linux/linux-6.6/include/linux/
H A Dhid.h972 struct hid_driver *hdrv);
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dhdac_hdmi.c2149 struct hdac_driver *hdrv = drv_to_hdac_driver(hdev->dev.driver); in hdac_hdmi_dev_probe() local
2150 const struct hda_device_id *hdac_id = hdac_get_device_id(hdev, hdrv); in hdac_hdmi_dev_probe()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A 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()

Completed in 25 milliseconds