Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/Linux-v4.19/drivers/power/supply/
Dapm_power.c121 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 …]
/Linux-v4.19/sound/sh/
Dsh_dac_audio.c61 int empty; member
85 chip->empty = 1; in dac_audio_reset()
124 chip->empty = 1; in snd_sh_dac_pcm_open()
177 chip->empty = 1; in snd_sh_dac_pcm_trigger()
199 if (chip->empty) { in snd_sh_dac_pcm_copy()
200 chip->empty = 0; in snd_sh_dac_pcm_copy()
218 if (chip->empty) { in snd_sh_dac_pcm_copy_kernel()
219 chip->empty = 0; in snd_sh_dac_pcm_copy_kernel()
237 if (chip->empty) { in snd_sh_dac_pcm_silence()
238 chip->empty = 0; in snd_sh_dac_pcm_silence()
[all …]
/Linux-v4.19/Documentation/networking/
Dspider_net.txt26 There are three primary states that a descriptor can be in: "empty",
27 "full" and "not-in-use". An "empty" or "ready" descriptor is ready
30 descriptor is neither empty or full; it is simply not ready. It may
35 buffers. These are all marked "empty", ready to receive data. This
38 buffers, processing them, and re-marking them empty.
46 and everything in front of it should be "empty". If the hardware
47 discovers that the current descr is not empty, it will signal an
57 The OS will then note that the current tail is "empty", and halt
65 then mark the descr as "empty", ready to receive data. Thus, when there
67 be "not-in-use", and everything behind it should be "empty". If no
[all …]
/Linux-v4.19/drivers/crypto/caam/
Dcaamrng.c66 atomic_t empty; member
108 atomic_set(&bd->empty, BUF_NOT_EMPTY); in rng_done()
133 atomic_inc(&bd->empty); /* note if pending */ in submit_job()
145 if (atomic_read(&bd->empty)) { in caam_read()
147 if (atomic_read(&bd->empty) == BUF_EMPTY) { in caam_read()
158 if (atomic_read(&bd->empty)) in caam_read()
177 atomic_set(&bd->empty, BUF_EMPTY); in caam_read()
248 if (atomic_read(&bd->empty) == BUF_PENDING) in caam_cleanup()
264 atomic_set(&bd->empty, BUF_EMPTY); in caam_init_buf()
/Linux-v4.19/Documentation/devicetree/bindings/dma/
Dfsl-mxs-dma.txt7 If a channel is empty/reserved, 0 should be filled in place.
29 "hsadc", "lcdif", "empty", "empty";
41 interrupt-names = "auart4-rx", "auart4-tx", "spdif-tx", "empty",
/Linux-v4.19/include/sound/
Dpcm_params.h235 i->empty = 0; in snd_interval_any()
240 i->empty = 1; in snd_interval_none()
251 return i->empty; in snd_interval_empty()
302 if (i1->empty) in snd_interval_eq()
303 return i2->empty; in snd_interval_eq()
304 if (i2->empty) in snd_interval_eq()
305 return i1->empty; in snd_interval_eq()
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dadf_transport_debug.c92 int head, tail, empty; in adf_ring_show() local
98 empty = READ_CSR_E_STAT(csr, bank->bank_number); in adf_ring_show()
106 head, tail, (empty & 1 << ring->ring_number) in adf_ring_show()
215 int head, tail, empty; in adf_bank_show() local
224 empty = READ_CSR_E_STAT(csr, bank->bank_number); in adf_bank_show()
229 (empty & 1 << ring->ring_number) >> in adf_bank_show()
/Linux-v4.19/scripts/
DKconfig.include7 empty :=
8 space := $(empty) $(empty)
/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_efuse.c158 static u8 efuse_is_empty(struct _adapter *padapter, u8 *empty) in efuse_is_empty() argument
165 *empty = true; in efuse_is_empty()
167 *empty = false; in efuse_is_empty()
500 u8 offset, word_en, empty; in r8712_efuse_map_write() local
507 empty = r8712_read8(padapter, EFUSE_CLK_CTRL); in r8712_efuse_map_write()
508 if (empty != 0x03) in r8712_efuse_map_write()
510 if (efuse_is_empty(padapter, &empty)) { in r8712_efuse_map_write()
511 if (empty) in r8712_efuse_map_write()
517 if (!empty) in r8712_efuse_map_write()
567 if (!empty) in r8712_efuse_map_write()
/Linux-v4.19/Documentation/devicetree/bindings/interrupt-controller/
Dcirrus,clps711x-intc.txt24 12: UTXINT1 UART1 transmit FIFO half empty
30 18: SS2TX SSI2 transmit FIFO less than half empty
31 28: UTXINT2 UART2 transmit FIFO half empty
/Linux-v4.19/Documentation/block/
Dwriteback_cache_control.txt28 set on an otherwise empty bio structure, which causes only an explicit cache
58 on non-empty bios can simply be ignored, and REQ_PREFLUSH requests without
68 support required, the block layer completes empty REQ_PREFLUSH requests before
76 and handle empty REQ_OP_FLUSH requests in its prep_fn/request_fn. Note that
78 of an empty REQ_OP_FLUSH request followed by the actual write by the block
86 layer turns it into an empty REQ_OP_FLUSH request after the actual write.
/Linux-v4.19/fs/quota/
Dquota_v2.c199 struct v2r0_disk_dqblk *d = dp, empty; in v2r0_disk2memdqb() local
211 memset(&empty, 0, sizeof(struct v2r0_disk_dqblk)); in v2r0_disk2memdqb()
212 empty.dqb_itime = cpu_to_le64(1); in v2r0_disk2memdqb()
213 if (!memcmp(&empty, dp, sizeof(struct v2r0_disk_dqblk))) in v2r0_disk2memdqb()
252 struct v2r1_disk_dqblk *d = dp, empty; in v2r1_disk2memdqb() local
264 memset(&empty, 0, sizeof(struct v2r1_disk_dqblk)); in v2r1_disk2memdqb()
265 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqb()
266 if (!memcmp(&empty, dp, sizeof(struct v2r1_disk_dqblk))) in v2r1_disk2memdqb()
/Linux-v4.19/tools/memory-model/
Dlock.cat44 flag ~empty [M \ IW] ; loc ; [ALL-LOCKS] as mixed-lock-accesses
51 flag ~empty LKW \ range(lk-rmw) as unpaired-LKW
52 flag ~empty LKR \ domain(lk-rmw) as unpaired-LKR
58 empty ([LKW] ; po-loc ; [LKR]) \ (po-loc ; [UL] ; po-loc) as lock-nest
61 flag ~empty [FW] ; loc ; [ALL-LOCKS] as lock-final
76 flag ~empty UL \ range(critical) as unmatched-unlock
80 empty ([UNMATCHED-LKW] ; loc ; [UNMATCHED-LKW]) \ id as unmatched-locks
/Linux-v4.19/scripts/mod/
DMakefile5 always := $(hostprogs-y) empty.o
24 $(obj)/elfconfig.h: $(obj)/empty.o $(obj)/mk_elfconfig FORCE
/Linux-v4.19/arch/arm/include/debug/
Dks8695.S32 tst \rd, #URLS_URTE @ Holding & Shift registers empty?
38 tst \rd, #URLS_URTHRE @ Holding Register empty?
/Linux-v4.19/mm/
Ddmapool.c136 bool empty = false; in dma_pool_create() local
185 empty = true; in dma_pool_create()
188 if (empty) { in dma_pool_create()
272 bool empty = false; in dma_pool_destroy() local
281 empty = true; in dma_pool_destroy()
283 if (empty) in dma_pool_destroy()
/Linux-v4.19/arch/arm/boot/dts/
Dimx23.dtsi69 interrupt-names = "empty", "ssp0", "ssp1", "empty",
419 "saif0", "empty", "auart0-rx", "auart0-tx",
420 "auart1-rx", "auart1-tx", "saif1", "empty",
421 "empty", "empty", "empty", "empty";
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_dh.c109 bool empty; in ip_vs_dh_reassign() local
113 empty = list_empty(p); in ip_vs_dh_reassign()
118 if (empty) in ip_vs_dh_reassign()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dtx.c219 struct mt76_txq *mtxq, bool *empty) in mt76_txq_send_burst() argument
233 *empty = true; in mt76_txq_send_burst()
267 *empty = true; in mt76_txq_send_burst()
312 bool empty = false; in mt76_txq_schedule_list() local
336 cur = mt76_txq_send_burst(dev, hwq, mtxq, &empty); in mt76_txq_schedule_list()
337 if (!empty) in mt76_txq_schedule_list()
/Linux-v4.19/drivers/usb/musb/
Dmusb_cppi41.c200 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()
/Linux-v4.19/drivers/input/joystick/iforce/
Diforce-packets.c46 int empty; in iforce_send_packet() local
66 empty = head == tail; in iforce_send_packet()
98 if (empty) in iforce_send_packet()
105 if (iforce->usbdev && empty && in iforce_send_packet()
/Linux-v4.19/drivers/gpu/host1x/
Dintr.c172 int empty; in process_wait_list() local
182 empty = list_empty(&syncpt->intr.wait_head); in process_wait_list()
183 if (empty) in process_wait_list()
193 return empty; in process_wait_list()
/Linux-v4.19/tools/perf/ui/browsers/
Dheader.c19 char empty[] = " "; in ui_browser__argv_write() local
24 str = empty; in ui_browser__argv_write()
/Linux-v4.19/net/
Dsysctl_net.c97 static struct ctl_table empty[1]; in net_sysctl_init() local
103 net_header = register_sysctl("net", empty); in net_sysctl_init()
/Linux-v4.19/drivers/usb/usbip/
Dvhci_rx.c178 int empty = 0; in vhci_priv_tx_empty() local
182 empty = list_empty(&vdev->priv_rx); in vhci_priv_tx_empty()
185 return empty; in vhci_priv_tx_empty()

12345678910>>...18