Searched defs:empty (Results 1 - 25 of 34) sorted by relevance

12

/drivers/staging/usbip/
H A Dvhci_rx.c187 int empty = 0; local
190 empty = list_empty(&vdev->priv_rx);
193 return empty;
/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/s390/char/
H A Dsclp_async.c36 u8 empty; member in struct:async_evbuf
/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/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/media/video/omap3isp/
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/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/staging/speakup/
H A Dspeakup_soft.c211 int empty; local
260 empty = synth_buffer_empty();
262 if (empty) {
/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/staging/ozwpan/
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/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/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),
/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/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/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/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/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/
H A Dscsi_scan.c492 int empty = 0; local
497 empty = 1;
502 if (!empty)
/drivers/usb/host/
H A Dehci-sched.c231 ehci_err(ehci, "invalid empty smask!\n");
367 * must be empty, so as to not illegally delay
904 struct list_head empty; local
920 INIT_LIST_HEAD (&empty);
921 qh = qh_append_tds(ehci, urb, &empty, epnum, &urb->ep->hcpriv);
H A Doxu210hp-hcd.c622 oxu_dbg(oxu, "unused qh not empty!\n");
2197 struct list_head empty; local
2210 INIT_LIST_HEAD(&empty);
2211 qh = qh_append_tds(oxu, urb, &empty, epnum, &urb->ep->hcpriv);
3039 /* periodic qh self-unlinks on empty */
/drivers/edac/
H A Damd64_edac.c2190 int i, empty = 1; local
2212 empty = 0;
2251 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/gpu/drm/
H A Ddrm_edid.c1194 const u8 empty[3] = { 0, 0, 0 }; local
1200 if (!memcmp(cvt->code, empty, 3))
/drivers/usb/gadget/
H A Dmv_udc_core.c290 /* check if the pipe is empty */
1464 udc_prime_status(struct mv_udc *udc, u8 direction, u16 status, bool empty) argument
1477 if (empty == false) {

Completed in 643 milliseconds

12