Searched refs:empty (Results 1 - 25 of 40) sorted by relevance

12

/drivers/power/
H A Dapm_power.c121 union power_supply_propval empty; local
176 if (_MPSY_PROP(empty_prop, &empty)) {
178 if (_MPSY_PROP(empty_design_prop, &empty))
179 empty.intval = 0;
191 return -((cur.intval - empty.intval) * 60L) / I.intval;
218 union power_supply_propval empty, full, cur; local
263 if (_MPSY_PROP(empty_prop, &empty)) {
265 if (_MPSY_PROP(empty_design_prop, &empty))
266 empty.intval = 0;
269 if (full.intval - empty
[all...]
/drivers/input/joystick/iforce/
H A Diforce-packets.c54 int empty; local
74 empty = head == tail;
106 if (empty)
113 if (iforce->usbdev && empty &&
/drivers/staging/rtl8712/
H A Drtl8712_efuse.c156 static u8 efuse_is_empty(struct _adapter *padapter, u8 *empty) argument
160 /* read one byte to check if E-Fuse is empty */
163 *empty = true;
165 *empty = false;
499 u8 offset, word_en, empty; local
506 empty = r8712_read8(padapter, EFUSE_CLK_CTRL);
507 if (empty != 0x03)
509 if (efuse_is_empty(padapter, &empty) == true) {
510 if (true == empty)
515 if (empty
[all...]
/drivers/staging/usbip/
H A Dvhci_rx.c187 int empty = 0; local
190 empty = list_empty(&vdev->priv_rx);
193 return empty;
/drivers/staging/speakup/
H A Dspeakup_soft.c211 int empty; local
260 empty = synth_buffer_empty();
262 if (empty) {
/drivers/media/video/omap3isp/
H A Dispstat.c204 stat->buf[i].empty = 1;
224 if (!look_empty && curr->empty)
228 if (curr->empty) {
269 stat->active_buf->empty = 0;
318 /* Mark empty because it doesn't have valid data. */
319 buf->empty = 1;
381 buf->empty = 1;
424 buf->empty = 1;
454 buf->empty = 1;
544 buf->empty
[all...]
H A Dispstat.h57 u8 empty; member in struct:ispstat_buffer
H A Dispvideo.c546 unsigned int empty; local
549 empty = list_empty(&video->dmaqueue);
552 if (empty) {
595 * empty.
/drivers/input/serio/
H A Dserio_raw.c146 bool empty; local
150 empty = serio_raw->head == serio_raw->tail;
151 if (!empty) {
158 return !empty;
/drivers/staging/ozwpan/
H A Dozpd.h110 int oz_prepare_frame(struct oz_pd *pd, int empty);
H A Dozpd.c394 int oz_prepare_frame(struct oz_pd *pd, int empty) argument
401 if (!empty && !oz_are_elts_available(&pd->elt_buff))
410 if (empty == 0) {
/drivers/net/ethernet/chelsio/cxgb3/
H A Dadapter.h119 unsigned long empty; /* # of times queue ran out of buffers */ member in struct:sge_fl
155 unsigned long empty; /* # of times queue ran out of credits */ member in struct:sge_rspq
/drivers/scsi/arm/
H A Dqueue.c93 printk(KERN_WARNING "freeing non-empty queue %p\n", queue);
115 goto empty;
132 empty:
/drivers/usb/gadget/
H A Du_uac1.c50 t.empty = 0;
86 t.empty = 0;
/drivers/sh/maple/
H A Dmaple.c61 static bool empty[MAPLE_PORTS]; variable
468 * Scan the empty ports - bus is flakey and may have
472 if (checked[x] && empty[x]) {
534 /* handle empty port or hotplug removal */
565 empty[mdev->port] = true;
589 empty[mdev->port] = false;
755 /* Trap empty port case */
847 empty[i] = false;
/drivers/net/ethernet/sfc/
H A Dmtd.c142 u8 empty[EFX_SPI_VERIFY_BUF_LEN]; local
165 memset(empty, 0xff, sizeof(empty));
172 if (memcmp(empty, buffer, block_len))
/drivers/net/wireless/hostap/
H A Dhostap_main.c147 struct hostap_interface *iface, *empty, *match; local
149 empty = match = NULL;
157 empty = iface;
164 if (!match && empty && !prism2_wds_special_addr(remote_addr)) {
166 memcpy(empty->u.wds.remote_addr, remote_addr, ETH_ALEN);
169 local->dev->name, empty->dev->name);
/drivers/edac/
H A Di5000_edac.c1239 int empty, channel_count; local
1251 empty = 1; /* Assume NO memory */
1291 empty = 0;
1294 return empty;
H A Di5400_edac.c1156 int empty, channel_count; local
1168 empty = 1; /* Assume NO memory */
1206 empty = 0;
1209 return empty;
/drivers/infiniband/core/
H A Diwcm.c852 int empty; local
857 empty = list_empty(&cm_id_priv->work_list);
858 while (!empty) {
862 empty = list_empty(&cm_id_priv->work_list);
/drivers/s390/char/
H A Dsclp_async.c36 u8 empty; member in struct:async_evbuf
/drivers/usb/wusbcore/
H A Dwa-xfer.c853 u8 empty; local
864 empty = list_empty(&rpipe->seg_list);
866 dev_dbg(dev, "xfer %p#%u: available %u empty %u (%s)\n",
867 xfer, cnt, available, empty,
868 available == 0 || !empty ? "delayed" : "submitted");
869 if (available == 0 || !empty) {
/drivers/net/wireless/ath/ath9k/
H A Deeprom.h376 u8 empty[2][5]; member in struct:calDataPerFreqOpLoop
531 u8 empty[2][5]; member in struct:cal_data_op_loop_ar9287
/drivers/crypto/
H A Dtegra-aes.c311 int empty; local
314 empty = list_empty(&dev_list);
315 if (!empty) {
554 dev_err(dd->dev, "no empty slot\n");
579 /* empty the crypto queue and then return */
738 dev_err(dd->dev, "no empty slot\n");
/drivers/media/rc/
H A Drc-main.c98 static struct rc_map_table empty[] = { variable in typeref:struct:rc_map_table
104 .scan = empty,
105 .size = ARRAY_SIZE(empty),

Completed in 3106 milliseconds

12