Home
last modified time | relevance | path

Searched refs:data_ready (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/most/video/
Dvideo.c58 static inline bool data_ready(struct most_video_dev *mdev) in data_ready() function
166 if (wait_event_interruptible(mdev->wait_data, data_ready(mdev))) in comp_vdev_read()
170 if (!data_ready(mdev)) in comp_vdev_read()
173 while (count > 0 && data_ready(mdev)) { in comp_vdev_read()
208 if (!data_ready(mdev)) in comp_vdev_poll()
210 if (data_ready(mdev)) in comp_vdev_poll()
/drivers/mailbox/
Dmailbox-test.c160 bool data_ready; in mbox_test_message_data_ready() local
164 data_ready = mbox_data_ready; in mbox_test_message_data_ready()
167 return data_ready; in mbox_test_message_data_ready()
/drivers/iio/humidity/
Dhid-sensor-humidity.c130 if (atomic_read(&humid_st->common_attributes.data_ready)) in humidity_proc_event()
235 atomic_set(&humid_st->common_attributes.data_ready, 0); in hid_humidity_probe()
/drivers/iio/temperature/
Dhid-sensor-temperature.c128 if (atomic_read(&temp_st->common_attributes.data_ready)) in temperature_proc_event()
232 atomic_set(&temp_st->common_attributes.data_ready, 0); in hid_temperature_probe()
/drivers/iio/light/
Dhid-sensor-prox.c172 if (atomic_read(&prox_state->common_attributes.data_ready)) in prox_proc_event()
295 atomic_set(&prox_state->common_attributes.data_ready, 0); in hid_prox_probe()
Dhid-sensor-als.c188 if (atomic_read(&als_state->common_attributes.data_ready)) in als_proc_event()
308 atomic_set(&als_state->common_attributes.data_ready, 0); in hid_als_probe()
/drivers/iio/pressure/
Dhid-sensor-press.c172 if (atomic_read(&press_state->common_attributes.data_ready)) in press_proc_event()
290 atomic_set(&press_state->common_attributes.data_ready, 0); in hid_press_probe()
Dzpa2326.c128 struct completion data_ready; member
848 complete(&priv->data_ready); in zpa2326_handle_threaded_irq()
869 &private->data_ready, ZPA2326_CONVERSION_JIFFIES); in zpa2326_wait_oneshot_completion()
909 init_completion(&private->data_ready); in zpa2326_init_managed_irq()
/drivers/iio/orientation/
Dhid-sensor-rotation.c153 if (atomic_read(&rot_state->common_attributes.data_ready)) in dev_rot_proc_event()
288 atomic_set(&rot_state->common_attributes.data_ready, 0); in hid_dev_rot_probe()
Dhid-sensor-incl-3d.c197 if (atomic_read(&incl_state->common_attributes.data_ready)) in incl_3d_proc_event()
346 atomic_set(&incl_state->common_attributes.data_ready, 0); in hid_incl_3d_probe()
/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c198 if (atomic_read(&gyro_state->common_attributes.data_ready)) in gyro_3d_proc_event()
326 atomic_set(&gyro_state->common_attributes.data_ready, 0); in hid_gyro_3d_probe()
Dfxas21002c_core.c806 unsigned int data_ready; in fxas21002c_data_rdy_thread() local
809 ret = regmap_field_read(data->regmap_fields[F_SRC_DRDY], &data_ready); in fxas21002c_data_rdy_thread()
813 if (!data_ready) in fxas21002c_data_rdy_thread()
/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c106 atomic_inc(&st->data_ready); in _hid_sensor_power_state()
121 val = atomic_dec_if_positive(&st->data_ready); in _hid_sensor_power_state()
/drivers/iio/accel/
Dhid-sensor-accel-3d.c240 if (atomic_read(&accel_state->common_attributes.data_ready)) { in accel_3d_proc_event()
395 atomic_set(&accel_state->common_attributes.data_ready, 0); in hid_accel_3d_probe()
/drivers/net/wireless/broadcom/b43/
Dpio.c633 goto data_ready; in pio_rx_frame()
647 goto data_ready; in pio_rx_frame()
653 data_ready: in pio_rx_frame()
/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c292 if (atomic_read(&magn_state->magn_flux_attributes.data_ready)) in magn_3d_proc_event()
519 atomic_set(&magn_state->magn_flux_attributes.data_ready, 0); in hid_magn_3d_probe()
/drivers/nvme/target/
Dtcp.c137 void (*data_ready)(struct sock *); member
147 void (*data_ready)(struct sock *); member
1391 sock->sk->sk_data_ready = queue->data_ready; in nvmet_tcp_restore_socket_callbacks()
1549 queue->data_ready = sock->sk->sk_data_ready; in nvmet_tcp_set_queue_sock()
1704 port->data_ready = port->sock->sk->sk_data_ready; in nvmet_tcp_add_port()
1753 port->sock->sk->sk_data_ready = port->data_ready; in nvmet_tcp_remove_port()
/drivers/net/wireless/broadcom/b43legacy/
Dpio.c573 goto data_ready; in b43legacy_pio_rx()
578 data_ready: in b43legacy_pio_rx()
/drivers/nvme/host/
Dtcp.c149 void (*data_ready)(struct sock *); member
1563 sock->sk->sk_data_ready = queue->data_ready; in nvme_tcp_restore_sock_ops()
1592 queue->data_ready = queue->sock->sk->sk_data_ready; in nvme_tcp_setup_sock_ops()
/drivers/staging/rts5208/
Dsd.c667 u8 data_ready, int polling_cnt) argument
681 ((rsp[3] & 0x01) == data_ready))
/drivers/net/ethernet/nvidia/
Dforcedeth.c5431 u32 data_ready = readl(base + NvRegTransmitterControl); in nv_mgmt_get_version() local
5437 writel(data_ready ^ NVREG_XMITCTL_DATA_START, base + NvRegTransmitterControl); in nv_mgmt_get_version()
5441 if ((data_ready & NVREG_XMITCTL_DATA_READY) != (data_ready2 & NVREG_XMITCTL_DATA_READY)) { in nv_mgmt_get_version()