/drivers/power/supply/ |
D | apm_power.c | 121 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 …]
|
D | cpcap-battery.c | 543 *empty, *full; in cpcap_battery_update_status() local 576 empty = cpcap_battery_get_empty(ddata); in cpcap_battery_update_status() 577 if (empty->voltage && empty->voltage != -1) { in cpcap_battery_update_status() 578 empty->voltage = -1; in cpcap_battery_update_status() 580 empty->counter_uah - full->counter_uah; in cpcap_battery_update_status() 582 empty->voltage = -1; in cpcap_battery_update_status() 583 empty->counter_uah = in cpcap_battery_update_status() 587 empty = cpcap_battery_get_empty(ddata); in cpcap_battery_update_status() 588 memcpy(empty, latest, sizeof(*empty)); in cpcap_battery_update_status() 594 empty->counter_uah - full->counter_uah; in cpcap_battery_update_status() [all …]
|
/drivers/net/wireguard/ |
D | queueing.c | 51 #define STUB(queue) ((struct sk_buff *)&queue->empty) 60 offsetof(struct sk_buff, next) != offsetof(struct prev_queue, empty.next) - in wg_prev_queue_init() 61 offsetof(struct prev_queue, empty) || in wg_prev_queue_init() 62 offsetof(struct sk_buff, prev) != offsetof(struct prev_queue, empty.prev) - in wg_prev_queue_init() 63 offsetof(struct prev_queue, empty)); in wg_prev_queue_init()
|
D | device.h | 36 struct { struct sk_buff *next, *prev; } empty; // Match first 2 members of struct sk_buff. member
|
/drivers/crypto/qat/qat_common/ |
D | adf_transport_debug.c | 49 int head, tail, empty; in adf_ring_show() local 55 empty = csr_ops->read_csr_e_stat(csr, bank->bank_number); in adf_ring_show() 63 head, tail, (empty & 1 << ring->ring_number) in adf_ring_show() 157 int head, tail, empty; in adf_bank_show() local 166 empty = csr_ops->read_csr_e_stat(csr, bank->bank_number); in adf_bank_show() 171 (empty & 1 << ring->ring_number) >> in adf_bank_show()
|
/drivers/staging/rtl8712/ |
D | rtl8712_efuse.c | 146 static u8 efuse_is_empty(struct _adapter *adapter, u8 *empty) in efuse_is_empty() argument 153 *empty = true; in efuse_is_empty() 155 *empty = false; in efuse_is_empty() 486 u8 offset, word_en, empty; in r8712_efuse_map_write() local 493 empty = r8712_read8(adapter, EFUSE_CLK_CTRL); in r8712_efuse_map_write() 494 if (empty != 0x03) in r8712_efuse_map_write() 496 if (efuse_is_empty(adapter, &empty)) { in r8712_efuse_map_write() 497 if (empty) in r8712_efuse_map_write() 503 if (!empty) in r8712_efuse_map_write() 553 if (!empty) in r8712_efuse_map_write()
|
/drivers/misc/mei/ |
D | dma-ring.c | 216 u32 wr_idx, rd_idx, hbuf_depth, empty; in mei_dma_ring_empty_slots() local 230 empty = rd_idx - wr_idx; in mei_dma_ring_empty_slots() 232 empty = hbuf_depth - (wr_idx - rd_idx); in mei_dma_ring_empty_slots() 234 return empty; in mei_dma_ring_empty_slots()
|
/drivers/usb/musb/ |
D | musb_cppi41.c | 200 bool empty; in cppi41_recheck_tx_req() local 203 empty = musb_is_tx_fifo_empty(hw_ep); in cppi41_recheck_tx_req() 204 if (empty) { in cppi41_recheck_tx_req() 232 bool empty; in cppi41_dma_callback() local 272 empty = true; in cppi41_dma_callback() 274 empty = musb_is_tx_fifo_empty(hw_ep); in cppi41_dma_callback() 277 if (!cppi41_channel->is_tx || empty) { in cppi41_dma_callback() 303 empty = musb_is_tx_fifo_empty(hw_ep); in cppi41_dma_callback() 304 if (empty) { in cppi41_dma_callback()
|
/drivers/gpu/host1x/ |
D | intr.c | 169 int empty; in process_wait_list() local 179 empty = list_empty(&syncpt->intr.wait_head); in process_wait_list() 180 if (empty) in process_wait_list() 190 return empty; in process_wait_list()
|
/drivers/input/joystick/iforce/ |
D | iforce-packets.c | 32 int empty; in iforce_send_packet() local 52 empty = head == tail; in iforce_send_packet() 80 if (empty) in iforce_send_packet()
|
/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_qos.c | 180 u32 se_first, u32 idx, u32 idx_next, bool empty) in sparx5_lg_conf_set() argument 187 if (empty) in sparx5_lg_conf_set() 212 bool empty = false; in sparx5_lg_del() local 219 empty = true; in sparx5_lg_del() 234 empty); in sparx5_lg_del()
|
/drivers/input/serio/ |
D | serio_raw.c | 142 bool empty; in serio_raw_fetch_byte() local 146 empty = serio_raw->head == serio_raw->tail; in serio_raw_fetch_byte() 147 if (!empty) { in serio_raw_fetch_byte() 154 return !empty; in serio_raw_fetch_byte()
|
/drivers/usb/usbip/ |
D | vhci_rx.c | 186 int empty = 0; in vhci_priv_tx_empty() local 190 empty = list_empty(&vdev->priv_rx); in vhci_priv_tx_empty() 193 return empty; in vhci_priv_tx_empty()
|
/drivers/media/platform/ti/omap3isp/ |
D | ispstat.c | 183 stat->buf[i].empty = 1; in isp_stat_buf_clear() 203 if (!look_empty && curr->empty) in __isp_stat_buf_find() 207 if (curr->empty) { in __isp_stat_buf_find() 248 stat->active_buf->empty = 0; in isp_stat_buf_queue() 299 buf->empty = 1; in isp_stat_buf_get() 354 buf->empty = 1; in isp_stat_bufs_free() 447 buf->empty = 1; in isp_stat_bufs_alloc() 505 buf->empty = 1; in omap3isp_stat_request_statistics()
|
/drivers/gpu/drm/msm/adreno/ |
D | a5xx_preempt.c | 62 bool empty; in get_next_ring() local 66 empty = (get_wptr(ring) == gpu->funcs->get_rptr(gpu, ring)); in get_next_ring() 69 if (!empty) in get_next_ring()
|
/drivers/infiniband/core/ |
D | cache.c | 472 int empty = pempty ? -1 : 0; in find_gid() local 474 while (i < table->sz && (found < 0 || empty < 0)) { in find_gid() 486 if (pempty && empty < 0) { in find_gid() 498 empty = curr_index; in find_gid() 535 *pempty = empty; in find_gid() 552 int empty; in __ib_cache_gid_add() local 566 ix = find_gid(table, gid, attr, default_gid, mask, &empty); in __ib_cache_gid_add() 570 if (empty < 0) { in __ib_cache_gid_add() 575 attr->index = empty; in __ib_cache_gid_add()
|
/drivers/media/platform/qcom/venus/ |
D | hfi.c | 86 int ret = 0, empty; in hfi_core_deinit() local 93 empty = list_empty(&core->instances); in hfi_core_deinit() 95 if (!empty && !blocking) { in hfi_core_deinit() 100 if (!empty) { in hfi_core_deinit()
|
/drivers/sh/maple/ |
D | maple.c | 60 static bool empty[MAPLE_PORTS]; variable 471 if (checked[x] && empty[x]) { in maple_vblank_handler() 564 empty[mdev->port] = true; in maple_response_none() 588 empty[mdev->port] = false; in maple_response_devinfo() 848 empty[i] = false; in maple_bus_init()
|
/drivers/accessibility/speakup/ |
D | speakup_soft.c | 217 int empty; in softsynthx_read() local 305 empty = synth_buffer_empty(); in softsynthx_read() 307 if (empty) { in softsynthx_read()
|
/drivers/char/xillybus/ |
D | xillybus_core.c | 700 int empty, reached_eof, exhausted, ready; in xillybus_read() local 720 empty = channel->wr_empty; in xillybus_read() 721 ready = !empty || channel->wr_ready; in xillybus_read() 723 if (!empty) { in xillybus_read() 770 if (!empty) { /* Go on, now without the spinlock */ in xillybus_read() 1022 int empty; in xillybus_myflush() local 1135 empty = !channel->rd_full; in xillybus_myflush() 1139 if (empty) in xillybus_myflush()
|
/drivers/net/wireless/st/cw1200/ |
D | queue.c | 560 bool empty = true; in cw1200_queue_stats_is_empty() local 564 empty = stats->num_queued == 0; in cw1200_queue_stats_is_empty() 570 empty = false; in cw1200_queue_stats_is_empty() 578 return empty; in cw1200_queue_stats_is_empty()
|
/drivers/infiniband/ulp/rtrs/ |
D | README | 95 6. Server and client exchange periodically heartbeat messages (empty rdma 129 2. When confirming a write request server sends an "empty" rdma message with 147 2. When confirming a write request server sends an "empty" rdma message with 169 attaches an invalidation message if requested and finally an "empty" rdma 190 attaches an invalidation message if requested and finally an "empty" rdma
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_main.c | 143 struct hostap_interface *iface, *empty, *match; in prism2_wds_add() local 145 empty = match = NULL; in prism2_wds_add() 153 empty = iface; in prism2_wds_add() 159 if (!match && empty && !prism2_wds_special_addr(remote_addr)) { in prism2_wds_add() 161 memcpy(empty->u.wds.remote_addr, remote_addr, ETH_ALEN); in prism2_wds_add() 164 local->dev->name, empty->dev->name); in prism2_wds_add()
|
/drivers/scsi/arm/ |
D | queue.c | 116 goto empty; in __queue_add() 133 empty: in __queue_add()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 118 unsigned long empty; /* # of times queue ran out of buffers */ member 154 unsigned long empty; /* # of times queue ran out of credits */ member
|