/drivers/usb/usbip/ |
H A D | vhci_rx.c | 187 int empty = 0; local 190 empty = list_empty(&vdev->priv_rx); 193 return empty;
|
/drivers/crypto/qat/qat_common/ |
H A D | adf_transport_debug.c | 94 int head, tail, empty; local 100 empty = READ_CSR_E_STAT(csr, bank->bank_number); 105 seq_printf(sfile, "head %x, tail %x, empty: %d\n", 106 head, tail, (empty & 1 << ring->ring_number) 225 int head, tail, empty; local 234 empty = READ_CSR_E_STAT(csr, bank->bank_number); 237 "ring num %02d, head %04x, tail %04x, empty: %d\n", 239 (empty & 1 << ring->ring_number) >>
|
/drivers/iio/ |
H A D | kfifo_buf.c | 139 bool empty; local 142 empty = kfifo_is_empty(&kf->kf); 145 return !empty;
|
/drivers/input/joystick/iforce/ |
H A D | iforce-packets.c | 54 int empty; local 74 empty = head == tail; 106 if (empty) 113 if (iforce->usbdev && empty &&
|
/drivers/s390/char/ |
H A D | sclp_async.c | 36 u8 empty; member in struct:async_evbuf
|
/drivers/crypto/caam/ |
H A D | caamrng.c | 66 atomic_t empty; member in struct:buf_data 109 atomic_set(&bd->empty, BUF_NOT_EMPTY); 130 atomic_inc(&bd->empty); /* note if pending */ 142 if (atomic_read(&bd->empty)) { 144 if (atomic_read(&bd->empty) == BUF_EMPTY) { 155 if (atomic_read(&bd->empty)) 174 atomic_set(&bd->empty, BUF_EMPTY); 248 if (atomic_read(&bd->empty) == BUF_PENDING) 264 atomic_set(&bd->empty, BUF_EMPTY);
|
/drivers/gpu/host1x/ |
H A D | intr.c | 170 int empty; local 180 empty = list_empty(&syncpt->intr.wait_head); 181 if (empty) 191 return empty;
|
/drivers/input/serio/ |
H A D | serio_raw.c | 145 bool empty; local 149 empty = serio_raw->head == serio_raw->tail; 150 if (!empty) { 157 return !empty;
|
/drivers/media/platform/omap3isp/ |
H A D | ispstat.h | 46 u8 empty; member in struct:ispstat_buffer
|
H A D | ispvideo.c | 390 unsigned int empty; local 401 empty = list_empty(&video->dmaqueue); 406 if (empty) { 448 * empty.
|
/drivers/net/wireless/cw1200/ |
H A D | queue.c | 564 bool empty = true; local 568 empty = stats->num_queued == 0; 574 empty = false; 582 return empty;
|
/drivers/power/ |
H A D | apm_power.c | 121 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 D | speakup_soft.c | 212 int empty; local 256 empty = synth_buffer_empty(); 258 if (empty) {
|
/drivers/infiniband/core/ |
H A D | iwcm.c | 876 int empty; local 881 empty = list_empty(&cm_id_priv->work_list); 882 while (!empty) { 886 empty = list_empty(&cm_id_priv->work_list); 905 if (empty)
|
/drivers/staging/ozwpan/ |
H A D | ozpd.c | 374 int oz_prepare_frame(struct oz_pd *pd, int empty) argument 382 if (!empty && !oz_are_elts_available(&pd->elt_buff)) 392 if (empty == 0) {
|
/drivers/staging/rtl8712/ |
H A D | rtl8712_efuse.c | 156 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/platform/vsp1/ |
H A D | vsp1_video.c | 566 * Return the next queued buffer or NULL if the queue is empty. 769 bool empty; local 772 empty = list_empty(&video->irqqueue); 776 if (!empty)
|
/drivers/net/wireless/hostap/ |
H A D | hostap_main.c | 147 struct hostap_interface *iface, *empty, *match; local 149 empty = match = NULL; 157 empty = iface; 163 if (!match && empty && !prism2_wds_special_addr(remote_addr)) { 165 memcpy(empty->u.wds.remote_addr, remote_addr, ETH_ALEN); 168 local->dev->name, empty->dev->name);
|
/drivers/sh/maple/ |
H A D | maple.c | 61 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/staging/media/omap4iss/ |
H A D | iss_video.c | 353 bool empty; local 368 empty = list_empty(&video->dmaqueue); 373 if (empty) { 418 * empty.
|
/drivers/usb/musb/ |
H A D | musb_cppi41.c | 202 bool empty; local 205 empty = musb_is_tx_fifo_empty(hw_ep); 206 if (empty) { 232 bool empty; local 251 empty = musb_is_tx_fifo_empty(hw_ep); 252 if (empty) { 258 * too early that means the TXFIFO is not yet empty but the DMA 260 * receive a FIFO empty interrupt so the only thing we can do is 272 empty = musb_is_tx_fifo_empty(hw_ep); 273 if (empty) [all...] |
/drivers/char/xillybus/ |
H A D | xillybus_core.c | 677 int empty, reached_eof, exhausted, ready; local 697 empty = channel->wr_empty; 698 ready = !empty || channel->wr_ready; 700 if (!empty) { 735 * empty = empty before change 736 * exhasted = empty after possible change 747 if (!empty) { /* Go on, now without the spinlock */ 1001 int empty; local 1103 * If bufidx == channel->rd_fpga_buf_idx we're either empty o [all...] |
/drivers/media/rc/ |
H A D | rc-main.c | 104 static struct rc_map_table empty[] = { variable in typeref:struct:rc_map_table 110 .scan = empty, 111 .size = ARRAY_SIZE(empty),
|
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | adapter.h | 119 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 D | xen-scsifront.c | 148 int empty = bitmap_empty(info->shadow_free_bitmap, VSCSIIF_MAX_REQS); local 153 return empty || info->wait_ring_available;
|