Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 56) sorted by relevance

123

/drivers/power/
Dapm_power.c121 union power_supply_propval empty; in do_calculate_time() local
176 if (_MPSY_PROP(empty_prop, &empty)) { in do_calculate_time()
178 if (_MPSY_PROP(empty_design_prop, &empty)) in do_calculate_time()
179 empty.intval = 0; in do_calculate_time()
191 return -((cur.intval - empty.intval) * 60L) / I.intval; in do_calculate_time()
218 union power_supply_propval empty, full, cur; in calculate_capacity() local
263 if (_MPSY_PROP(empty_prop, &empty)) { in calculate_capacity()
265 if (_MPSY_PROP(empty_design_prop, &empty)) in calculate_capacity()
266 empty.intval = 0; in calculate_capacity()
269 if (full.intval - empty.intval) in calculate_capacity()
[all …]
/drivers/crypto/caam/
Dcaamrng.c66 atomic_t empty; member
112 atomic_set(&bd->empty, BUF_NOT_EMPTY); in rng_done()
133 atomic_inc(&bd->empty); /* note if pending */ in submit_job()
145 if (atomic_read(&bd->empty)) { in caam_read()
147 if (atomic_read(&bd->empty) == BUF_EMPTY) { in caam_read()
158 if (atomic_read(&bd->empty)) in caam_read()
177 atomic_set(&bd->empty, BUF_EMPTY); in caam_read()
241 if (atomic_read(&bd->empty) == BUF_PENDING) in caam_cleanup()
253 atomic_set(&bd->empty, BUF_EMPTY); in caam_init_buf()
/drivers/staging/rtl8712/
Drtl8712_efuse.c156 static u8 efuse_is_empty(struct _adapter *padapter, u8 *empty) in efuse_is_empty() argument
163 *empty = true; in efuse_is_empty()
165 *empty = false; in efuse_is_empty()
499 u8 offset, word_en, empty; in r8712_efuse_map_write() local
506 empty = r8712_read8(padapter, EFUSE_CLK_CTRL); in r8712_efuse_map_write()
507 if (empty != 0x03) in r8712_efuse_map_write()
509 if (efuse_is_empty(padapter, &empty) == true) { in r8712_efuse_map_write()
510 if (true == empty) in r8712_efuse_map_write()
515 if (empty == false) in r8712_efuse_map_write()
564 if (empty == false) in r8712_efuse_map_write()
/drivers/input/joystick/iforce/
Diforce-packets.c54 int empty; in iforce_send_packet() local
74 empty = head == tail; in iforce_send_packet()
106 if (empty) in iforce_send_packet()
113 if (iforce->usbdev && empty && in iforce_send_packet()
/drivers/staging/usbip/
Dvhci_rx.c189 int empty = 0; in vhci_priv_tx_empty() local
192 empty = list_empty(&vdev->priv_rx); in vhci_priv_tx_empty()
195 return empty; in vhci_priv_tx_empty()
/drivers/media/platform/omap3isp/
Dispstat.c205 stat->buf[i].empty = 1; in isp_stat_buf_clear()
225 if (!look_empty && curr->empty) in __isp_stat_buf_find()
229 if (curr->empty) { in __isp_stat_buf_find()
270 stat->active_buf->empty = 0; in isp_stat_buf_queue()
320 buf->empty = 1; in isp_stat_buf_get()
382 buf->empty = 1; in isp_stat_bufs_free()
425 buf->empty = 1; in isp_stat_bufs_alloc_iommu()
455 buf->empty = 1; in isp_stat_bufs_alloc_dma()
546 buf->empty = 1; in omap3isp_stat_request_statistics()
Dispstat.h57 u8 empty; member
/drivers/gpu/host1x/
Dintr.c170 int empty; in process_wait_list() local
180 empty = list_empty(&syncpt->intr.wait_head); in process_wait_list()
181 if (empty) in process_wait_list()
191 return empty; in process_wait_list()
/drivers/input/serio/
Dserio_raw.c146 bool empty; in serio_raw_fetch_byte() local
150 empty = serio_raw->head == serio_raw->tail; in serio_raw_fetch_byte()
151 if (!empty) { in serio_raw_fetch_byte()
158 return !empty; in serio_raw_fetch_byte()
/drivers/staging/speakup/
Dspeakup_soft.c211 int empty; in softsynth_read() local
255 empty = synth_buffer_empty(); in softsynth_read()
257 if (empty) { in softsynth_read()
/drivers/sh/maple/
Dmaple.c61 static bool empty[MAPLE_PORTS]; variable
472 if (checked[x] && empty[x]) { in maple_vblank_handler()
565 empty[mdev->port] = true; in maple_response_none()
589 empty[mdev->port] = false; in maple_response_devinfo()
847 empty[i] = false; in maple_bus_init()
/drivers/infiniband/core/
Diwcm.c852 int empty; in cm_work_handler() local
857 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler()
858 while (!empty) { in cm_work_handler()
862 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler()
881 if (empty) in cm_work_handler()
/drivers/scsi/arm/
Dqueue.c115 goto empty; in __queue_add()
132 empty: in __queue_add()
/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h119 unsigned long empty; /* # of times queue ran out of buffers */ member
155 unsigned long empty; /* # of times queue ran out of credits */ member
/drivers/net/wireless/hostap/
Dhostap_main.c147 struct hostap_interface *iface, *empty, *match; in prism2_wds_add() local
149 empty = match = NULL; in prism2_wds_add()
157 empty = iface; in prism2_wds_add()
164 if (!match && empty && !prism2_wds_special_addr(remote_addr)) { in prism2_wds_add()
166 memcpy(empty->u.wds.remote_addr, remote_addr, ETH_ALEN); in prism2_wds_add()
169 local->dev->name, empty->dev->name); in prism2_wds_add()
/drivers/usb/gadget/
Du_uac1.c50 t.empty = 0; in snd_interval_refine_set()
86 t.empty = 0; in _snd_pcm_hw_param_set()
/drivers/net/ethernet/sfc/
Dmtd.c142 u8 empty[EFX_SPI_VERIFY_BUF_LEN]; in efx_spi_erase() local
165 memset(empty, 0xff, sizeof(empty)); in efx_spi_erase()
172 if (memcmp(empty, buffer, block_len)) in efx_spi_erase()
/drivers/target/iscsi/
Discsi_target_util.c635 bool empty; in iscsit_conn_all_queues_empty() local
638 empty = list_empty(&conn->immed_queue_list); in iscsit_conn_all_queues_empty()
641 if (!empty) in iscsit_conn_all_queues_empty()
642 return empty; in iscsit_conn_all_queues_empty()
645 empty = list_empty(&conn->response_queue_list); in iscsit_conn_all_queues_empty()
648 return empty; in iscsit_conn_all_queues_empty()
/drivers/staging/asus_oled/
DREADME111 of the display, and the lower half will be empty. After few seconds upper part will
114 in rolling mode, unless it is empty, or the picture was small enough to fit in
134 So if you need empty line, it is sufficient to write line with only one '0' in it.
/drivers/staging/ozwpan/
Dozpd.h113 int oz_prepare_frame(struct oz_pd *pd, int empty);
Dozpd.c426 int oz_prepare_frame(struct oz_pd *pd, int empty) in oz_prepare_frame() argument
433 if (!empty && !oz_are_elts_available(&pd->elt_buff)) in oz_prepare_frame()
443 if (empty == 0) { in oz_prepare_frame()
/drivers/usb/wusbcore/
Dwa-xfer.c853 u8 empty; in __wa_xfer_submit() local
864 empty = list_empty(&rpipe->seg_list); in __wa_xfer_submit()
867 xfer, cnt, available, empty, in __wa_xfer_submit()
868 available == 0 || !empty ? "delayed" : "submitted"); in __wa_xfer_submit()
869 if (available == 0 || !empty) { in __wa_xfer_submit()
/drivers/edac/
Di5000_edac.c1256 int empty, channel_count; in i5000_init_csrows() local
1268 empty = 1; /* Assume NO memory */ in i5000_init_csrows()
1305 empty = 0; in i5000_init_csrows()
1308 return empty; in i5000_init_csrows()
/drivers/s390/char/
Dsclp_async.c36 u8 empty; member
/drivers/media/rc/
Drc-main.c98 static struct rc_map_table empty[] = { variable
104 .scan = empty,
105 .size = ARRAY_SIZE(empty),

123