/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/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/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/staging/lustre/lustre/ptlrpc/ |
H A D | layout.c | 76 /* empty set of fields... for suitable definition of emptiness. */ 77 static const struct req_msg_field *empty[] = { variable in typeref:struct:req_msg_field 1204 DEFINE_REQ_FMT0("OBD_PING", empty, empty); 1208 DEFINE_REQ_FMT0("OBD_SET_INFO", obd_set_info_client, empty); 1218 DEFINE_REQ_FMT0("SEC_CTX", empty, empty); 1245 DEFINE_REQ_FMT0("OBD_LOG_CANCEL", log_cancel_client, empty); 1249 DEFINE_REQ_FMT0("MDS_QUOTACHECK", quotactl_only, empty); 1253 DEFINE_REQ_FMT0("OST_QUOTACHECK", quotactl_only, empty); [all...] |
/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/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/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/fmc/ |
H A D | fmc-sdb.c | 72 if (r->empty.record_type == sdb_type_bridge) { 187 switch (r->empty.record_type) { 235 printk(KERN_CONT "empty\n"); 239 r->empty.record_type); 274 if (r->empty.record_type != sdb_type_device)
|
/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/usb/usbip/ |
H A D | vhci_rx.c | 187 int empty = 0; local 190 empty = list_empty(&vdev->priv_rx); 193 return empty;
|
/drivers/staging/speakup/ |
H A D | speakup_soft.c | 212 int empty; local 256 empty = synth_buffer_empty(); 258 if (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 | ispstat.c | 183 stat->buf[i].empty = 1; 203 if (!look_empty && curr->empty) 207 if (curr->empty) { 248 stat->active_buf->empty = 0; 297 /* Mark empty because it doesn't have valid data. */ 298 buf->empty = 1; 352 buf->empty = 1; 445 buf->empty = 1; 505 buf->empty = 1;
|
/drivers/staging/ozwpan/ |
H A D | ozpd.h | 121 int oz_prepare_frame(struct oz_pd *pd, int 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/arm/ |
H A D | queue.c | 93 printk(KERN_WARNING "freeing non-empty queue %p\n", queue); 115 goto empty; 132 empty:
|
/drivers/usb/gadget/function/ |
H A D | u_uac1.c | 35 t.empty = 0; 71 t.empty = 0;
|
/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/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/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/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/target/iscsi/ |
H A D | iscsi_target_util.c | 645 bool empty; local 648 empty = list_empty(&conn->immed_queue_list); 651 if (!empty) 652 return empty; 655 empty = list_empty(&conn->response_queue_list); 658 return empty;
|
/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...] |