Home
last modified time | relevance | path

Searched refs:event_channel (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.c51 XenEventChannel *event_channel; member
131 dataplane->event_channel, in xen_block_complete_request()
663 if (!dataplane || !dataplane->event_channel) { in xen_block_dataplane_detach()
669 dataplane->event_channel, in xen_block_dataplane_detach()
675 if (!dataplane || !dataplane->event_channel) { in xen_block_dataplane_attach()
681 dataplane->event_channel, in xen_block_dataplane_attach()
708 if (dataplane->event_channel) { in xen_block_dataplane_stop()
711 xen_device_unbind_event_channel(xendev, dataplane->event_channel, in xen_block_dataplane_stop()
713 dataplane->event_channel = NULL; in xen_block_dataplane_stop()
740 unsigned int event_channel, in xen_block_dataplane_start() argument
[all …]
H A Dxen-block.h25 unsigned int event_channel,
/openbmc/linux/drivers/irqchip/
H A Dirq-pruss-intc.c106 struct pruss_intc_map_record event_channel[MAX_PRU_SYS_EVENTS]; member
186 intc->event_channel[hwirq].ref_count++; in pruss_intc_map()
188 ch = intc->event_channel[hwirq].value; in pruss_intc_map()
229 ch = intc->event_channel[hwirq].value; in pruss_intc_unmap()
240 intc->event_channel[hwirq].ref_count--; in pruss_intc_unmap()
384 if (intc->event_channel[event].ref_count > 0 && in pruss_intc_validate_mapping()
385 intc->event_channel[event].value != channel) { in pruss_intc_validate_mapping()
387 event, channel, intc->event_channel[event].value); in pruss_intc_validate_mapping()
401 intc->event_channel[event].value = channel; in pruss_intc_validate_mapping()
/openbmc/qemu/hw/char/
H A Dxen_console.c50 XenEventChannel *event_channel; member
89 xen_device_notify_event_channel(XEN_DEVICE(con), con->event_channel, NULL); in OBJECT_DECLARE_SIMPLE_TYPE()
158 xen_device_notify_event_channel(XEN_DEVICE(con), con->event_channel, NULL); in xencons_receive()
228 con->event_channel = xen_device_bind_event_channel(xendev, port, in xen_console_connect()
232 if (!con->event_channel) { in xen_console_connect()
264 xen_event_channel_get_local_port(con->event_channel)); in xen_console_connect()
297 if (con->event_channel) { in xen_console_disconnect()
298 xen_device_unbind_event_channel(xendev, con->event_channel, in xen_console_disconnect()
300 con->event_channel = NULL; in xen_console_disconnect()
/openbmc/qemu/hw/net/
H A Dxen_nic.c52 XenEventChannel *event_channel; member
92 netdev->event_channel, NULL); in OBJECT_DECLARE_SIMPLE_TYPE()
250 netdev->event_channel, NULL); in net_rx_response()
408 netdev->event_channel = xen_device_bind_event_channel(xendev, port, in xen_netdev_connect()
412 if (!netdev->event_channel) { in xen_netdev_connect()
434 if (netdev->event_channel) { in xen_netdev_disconnect()
435 xen_device_unbind_event_channel(xendev, netdev->event_channel, in xen_netdev_disconnect()
437 netdev->event_channel = NULL; in xen_netdev_disconnect()
/openbmc/linux/drivers/iio/adc/
H A Dti-ads1015.c253 unsigned int event_channel; member
268 return (data->event_channel != ADS1015_CHANNELS); in ads1015_event_channel_enabled()
276 data->event_channel = chan; in ads1015_event_channel_enable()
282 data->event_channel = ADS1015_CHANNELS; in ads1015_event_channel_disable()
551 data->event_channel != chan->address) { in ads1015_read_raw()
716 if (data->event_channel == chan->address) { in ads1015_read_event_config()
743 if (data->event_channel != chan->address || in ads1015_enable_event_config()
788 if (data->event_channel != chan->address) in ads1015_disable_event_config()
854 code = IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, data->event_channel, in ads1015_event_handler()
1008 data->event_channel = ADS1015_CHANNELS; in ads1015_probe()
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c157 int event_channel) in lan743x_ptp_reserve_event_ch() argument
163 if (!(test_bit(event_channel, &ptp->used_event_ch))) { in lan743x_ptp_reserve_event_ch()
164 ptp->used_event_ch |= BIT(event_channel); in lan743x_ptp_reserve_event_ch()
165 result = event_channel; in lan743x_ptp_reserve_event_ch()
169 event_channel); in lan743x_ptp_reserve_event_ch()
176 int event_channel) in lan743x_ptp_release_event_ch() argument
181 if (test_bit(event_channel, &ptp->used_event_ch)) { in lan743x_ptp_release_event_ch()
182 ptp->used_event_ch &= ~BIT(event_channel); in lan743x_ptp_release_event_ch()
186 event_channel); in lan743x_ptp_release_event_ch()
250 int pin, int event_channel) in lan743x_gpio_rsrv_ptp_out() argument
[all …]
/openbmc/linux/drivers/ptp/
H A Dptp_idt82p33.h95 struct idt82p33_channel *event_channel[MAX_PHC_PLL]; member
H A Dptp_clockmatrix.h124 struct idtcm_channel *event_channel[MAX_TOD]; member
H A Dptp_idt82p33.c291 idt82p33->event_channel[index] = channel; in idt82p33_extts_enable()
313 struct idt82p33_channel *event_channel; in idt82p33_extts_check_channel() local
320 event_channel = idt82p33->event_channel[todn]; in idt82p33_extts_check_channel()
324 ptp_clock_event(event_channel->ptp_clock, in idt82p33_extts_check_channel()
H A Dptp_clockmatrix.c316 idtcm->event_channel[index] = channel; in idtcm_extts_enable()
466 ptp_channel = idtcm->event_channel[todn]; in idtcm_extts_check_channel()
/openbmc/qemu/hw/block/
H A Dxen-block.c182 unsigned int order, nr_ring_ref, *ring_ref, event_channel, protocol; in xen_block_connect() local
236 &event_channel) != 1) { in xen_block_connect()
262 event_channel, protocol, errp); in xen_block_connect()
/openbmc/linux/
H A Dopengrok1.0.log[all...]