Home
last modified time | relevance | path

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

12345678910>>...22

/linux-6.12.1/Documentation/devicetree/bindings/
D.yamllint17 min-spaces-inside-empty: 0
18 max-spaces-inside-empty: 0
22 min-spaces-inside-empty: 0
23 max-spaces-inside-empty: 0
32 empty-lines:
35 empty-values:
/linux-6.12.1/drivers/power/supply/
Dapm_power.c120 union power_supply_propval empty; in do_calculate_time() local
175 if (_MPSY_PROP(empty_prop, &empty)) { in do_calculate_time()
177 if (_MPSY_PROP(empty_design_prop, &empty)) in do_calculate_time()
178 empty.intval = 0; in do_calculate_time()
190 return -((cur.intval - empty.intval) * 60L) / I.intval; in do_calculate_time()
217 union power_supply_propval empty, full, cur; in calculate_capacity() local
262 if (_MPSY_PROP(empty_prop, &empty)) { in calculate_capacity()
264 if (_MPSY_PROP(empty_design_prop, &empty)) in calculate_capacity()
265 empty.intval = 0; in calculate_capacity()
268 if (full.intval - empty.intval) in calculate_capacity()
[all …]
Dcpcap-battery.c543 *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 …]
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/toshiba/
Dspider_net.rst28 There are three primary states that a descriptor can be in: "empty",
29 "full" and "not-in-use". An "empty" or "ready" descriptor is ready
32 descriptor is neither empty or full; it is simply not ready. It may
37 buffers. These are all marked "empty", ready to receive data. This
40 buffers, processing them, and re-marking them empty.
48 and everything in front of it should be "empty". If the hardware
49 discovers that the current descr is not empty, it will signal an
59 The OS will then note that the current tail is "empty", and halt
67 then mark the descr as "empty", ready to receive data. Thus, when there
69 be "not-in-use", and everything behind it should be "empty". If no
[all …]
/linux-6.12.1/sound/sh/
Dsh_dac_audio.c45 int empty; member
69 chip->empty = 1; in dac_audio_reset()
108 chip->empty = 1; in snd_sh_dac_pcm_open()
149 chip->empty = 1; in snd_sh_dac_pcm_trigger()
170 if (chip->empty) { in snd_sh_dac_pcm_copy()
171 chip->empty = 0; in snd_sh_dac_pcm_copy()
188 if (chip->empty) { in snd_sh_dac_pcm_silence()
189 chip->empty = 0; in snd_sh_dac_pcm_silence()
270 if (!chip->empty) { in sh_dac_audio_timer()
285 chip->empty = 1; in sh_dac_audio_timer()
[all …]
/linux-6.12.1/fs/tests/
Dbinfmt_elf_kunit.c6 struct elf_phdr empty[] = { in total_mapping_size_test() local
40 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 0), 0); in total_mapping_size_test()
42 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 1), 0); in total_mapping_size_test()
44 KUNIT_EXPECT_EQ(test, total_mapping_size(&empty[1], 1), 0); in total_mapping_size_test()
46 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 2), 0); in total_mapping_size_test()
/linux-6.12.1/drivers/net/wireguard/
Dqueueing.c51 #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()
/linux-6.12.1/tools/memory-model/
Dlinux-kernel.bell57 flag ~empty Rcu-lock \ domain(rcu-rscs) as unmatched-rcu-lock
58 flag ~empty Rcu-unlock \ range(rcu-rscs) as unmatched-rcu-unlock
65 flag ~empty Srcu-lock \ domain(srcu-rscs) as unmatched-srcu-lock
66 flag ~empty Srcu-unlock \ range(srcu-rscs) as unmatched-srcu-unlock
67 flag ~empty (srcu-rscs^-1 ; srcu-rscs) \ id as multiple-srcu-matches
70 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep
73 flag ~empty different-values(srcu-rscs) as srcu-bad-value-match
Dlock.cat41 flag ~empty [M \ IW \ ALL-LOCKS] ; loc ; [ALL-LOCKS] as mixed-lock-accesses
48 flag ~empty LKW \ range(lk-rmw) as unpaired-LKW
49 flag ~empty LKR \ domain(lk-rmw) as unpaired-LKR
55 empty ([LKW] ; po-loc ; [LKR]) \ (po-loc ; [UL] ; po-loc) as lock-nest
61 empty ([LKW] ; po-loc ; [RU]) \ (po-loc ; [UL] ; po-loc) as nested-is-locked
64 flag ~empty [FW] ; loc ; [ALL-LOCKS] as lock-final
79 flag ~empty UL \ range(critical) as unmatched-unlock
83 empty ([UNMATCHED-LKW] ; loc ; [UNMATCHED-LKW]) \ id as unmatched-locks
/linux-6.12.1/arch/arm64/boot/dts/apple/
Dt600x-nvme.dtsi16 interrupt-names = "send-empty", "send-not-empty",
17 "recv-empty", "recv-not-empty";
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_transport_debug.c49 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()
/linux-6.12.1/lib/
Dtest_sysctl.c39 struct ctl_table_header *empty; member
234 sysctl_test_headers.empty in test_sysctl_run_register_empty()
236 if (!sysctl_test_headers.empty) in test_sysctl_run_register_empty()
274 if (sysctl_test_headers.empty) in test_sysctl_exit()
275 unregister_sysctl_table(sysctl_test_headers.empty); in test_sysctl_exit()
/linux-6.12.1/tools/objtool/
Dorc_gen.c63 bool empty = true; in orc_create() local
82 empty = false; in orc_create()
107 empty = false; in orc_create()
115 if (!empty) { in orc_create()
/linux-6.12.1/drivers/staging/rtl8712/
Drtl8712_efuse.c146 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()
485 u8 offset, word_en, empty; in r8712_efuse_map_write() local
492 empty = r8712_read8(adapter, EFUSE_CLK_CTRL); in r8712_efuse_map_write()
493 if (empty != 0x03) in r8712_efuse_map_write()
495 if (efuse_is_empty(adapter, &empty)) { in r8712_efuse_map_write()
496 if (empty) in r8712_efuse_map_write()
502 if (!empty) in r8712_efuse_map_write()
552 if (!empty) in r8712_efuse_map_write()
/linux-6.12.1/include/sound/
Dpcm_params.h222 i->empty = 0; in snd_interval_any()
227 i->empty = 1; in snd_interval_none()
238 return i->empty; in snd_interval_empty()
291 if (i1->empty) in snd_interval_eq()
292 return i2->empty; in snd_interval_eq()
293 if (i2->empty) in snd_interval_eq()
294 return i1->empty; in snd_interval_eq()
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm53015-meraki-mr26.dts89 /* empty */
95 /* empty */
101 /* empty */
160 /* it's empty */
/linux-6.12.1/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-6.12.1/drivers/misc/mei/
Ddma-ring.c220 u32 wr_idx, rd_idx, hbuf_depth, empty; in mei_dma_ring_empty_slots() local
234 empty = rd_idx - wr_idx; in mei_dma_ring_empty_slots()
236 empty = hbuf_depth - (wr_idx - rd_idx); in mei_dma_ring_empty_slots()
238 return empty; in mei_dma_ring_empty_slots()
/linux-6.12.1/scripts/
DKconfig.include8 empty := variable
9 space := $(empty) $(empty)
62 # $(m32-flag): -m32 if the compiler supports it, or an empty string otherwise.
63 # $(m64-flag): -m64 if the compiler supports it, or an empty string otherwise.
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_sdlb.c235 u32 first, u32 next, bool empty) in sparx5_sdlb_group_link() argument
240 if (empty) in sparx5_sdlb_group_link()
276 bool empty = false; in sparx5_sdlb_group_del() local
286 empty = true; in sparx5_sdlb_group_del()
300 return sparx5_sdlb_group_link(sparx5, group, idx, first, next, empty); in sparx5_sdlb_group_del()
/linux-6.12.1/fs/quota/
Dquota_v2.c231 struct v2r0_disk_dqblk *d = dp, empty; in v2r0_disk2memdqb() local
243 memset(&empty, 0, sizeof(struct v2r0_disk_dqblk)); in v2r0_disk2memdqb()
244 empty.dqb_itime = cpu_to_le64(1); in v2r0_disk2memdqb()
245 if (!memcmp(&empty, dp, sizeof(struct v2r0_disk_dqblk))) in v2r0_disk2memdqb()
284 struct v2r1_disk_dqblk *d = dp, empty; in v2r1_disk2memdqb() local
296 memset(&empty, 0, sizeof(struct v2r1_disk_dqblk)); in v2r1_disk2memdqb()
297 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqb()
298 if (!memcmp(&empty, dp, sizeof(struct v2r1_disk_dqblk))) in v2r1_disk2memdqb()
/linux-6.12.1/arch/x86/events/amd/
Dbrs.c297 goto empty; in amd_brs_drain()
303 goto empty; in amd_brs_drain()
307 goto empty; in amd_brs_drain()
353 empty: in amd_brs_drain()
/linux-6.12.1/drivers/gpu/drm/msm/adreno/
Da5xx_preempt.c64 bool empty; in get_next_ring() local
68 empty = (get_wptr(ring) == gpu->funcs->get_rptr(gpu, ring)); in get_next_ring()
69 if (!empty && ring == a5xx_gpu->cur_ring) in get_next_ring()
70 empty = ring->memptrs->fence == a5xx_gpu->last_seqno[i]; in get_next_ring()
73 if (!empty) in get_next_ring()
/linux-6.12.1/mm/
Ddmapool.c229 bool empty; in dma_pool_create() local
279 empty = list_empty(&dev->dma_pools); in dma_pool_create()
282 if (empty) { in dma_pool_create()
363 bool empty, busy = false; in dma_pool_destroy() local
371 empty = list_empty(&pool->dev->dma_pools); in dma_pool_destroy()
373 if (empty) in dma_pool_destroy()
/linux-6.12.1/tools/perf/pmu-events/
DBuild11 EMPTY_PMU_EVENTS_C = pmu-events/empty-pmu-events.c
14 TEST_EMPTY_PMU_EVENTS_C = $(OUTPUT)pmu-events/test-empty-pmu-events.c
15 EMPTY_PMU_EVENTS_TEST_LOG = $(OUTPUT)pmu-events/empty-pmu-events.log

12345678910>>...22