Home
last modified time | relevance | path

Searched refs:half (Results 1 – 25 of 189) sorted by relevance

12345678

/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_ring.c79 unsigned int half = 2048; in igt_ring_direction() local
82 ring = mock_ring(2 * half); in igt_ring_direction()
86 GEM_BUG_ON(ring->size != 2 * half); in igt_ring_direction()
89 for (step = 1; step < half; step <<= 1) { in igt_ring_direction()
91 err |= check_ring_offset(ring, half, step); in igt_ring_direction()
93 err |= check_ring_step(ring, 0, half - 64); in igt_ring_direction()
96 err |= check_ring_offset(ring, 0, 2 * half + 64); in igt_ring_direction()
97 err |= check_ring_offset(ring, 3 * half, 1); in igt_ring_direction()
/linux/drivers/net/ethernet/8390/
H A Dstnic.c29 #define half unsigned short macro
97 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); in STNIC_WRITE()
186 half buf[2]; in stnic_get_hdr()
222 half val; in stnic_block_input()
244 length -= sizeof (half); in stnic_block_input()
270 *(vhalf *) PA_83902_IF = ((half) buf[1] << 8) | buf[0]; in stnic_block_output()
272 *(vhalf *) PA_83902_IF = ((half) buf[0] << 8) | buf[1]; in stnic_block_output()
275 buf += sizeof (half); in stnic_block_output()
276 length -= sizeof (half); in stnic_block_output()
/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_hdmi_tmds_clk.c31 bool *half) in sun4i_tmds_calc_divider() argument
57 if (div && half) { in sun4i_tmds_calc_divider()
59 *half = is_double; in sun4i_tmds_calc_divider()
147 bool half; in sun4i_tmds_set_rate() local
152 &div, &half); in sun4i_tmds_set_rate()
156 if (half) in sun4i_tmds_set_rate()
/linux/drivers/clk/sunxi/
H A Dclk-sun4i-tcon-ch1.c101 bool *half) in tcon_ch1_calc_divider() argument
127 if (div && half) { in tcon_ch1_calc_divider()
129 *half = is_double; in tcon_ch1_calc_divider()
191 bool half; in tcon_ch1_set_rate() local
195 tcon_ch1_calc_divider(rate, parent_rate, &div_m, &half); in tcon_ch1_set_rate()
202 if (half) in tcon_ch1_set_rate()
/linux/Documentation/input/devices/
H A Drotary-encoder.rst16 a stable state with both outputs high (half-period mode) and some have
37 one step (half-period mode)
49 In half-period mode, state a) and c) above are used to determine the
52 (i.e. the rotation was not reversed half-way).
61 meaning that there it has seen half the way of a one-step transition.
68 should have happened, unless it flipped back on half the way. The
/linux/drivers/misc/sgi-gru/
H A Dgrukservices.c641 int half, qlines; in send_message_queue_full() local
649 half = (limit != qlines); in send_message_queue_full()
651 if (half) in send_message_queue_full()
657 gru_gamir(cb, EOP_IR_CLR, HSTATUS(mqd->mq_gpa, half), XTYPE_DW, IMA); in send_message_queue_full()
668 gru_gamir(cb, EOP_IR_INC, HSTATUS(mqd->mq_gpa, half), in send_message_queue_full()
687 gru_gamir(cb, EOP_IR_INC, HSTATUS(mqd->mq_gpa, half), XTYPE_DW, in send_message_queue_full()
840 int half = -1; in gru_free_message() local
851 half = 1; in gru_free_message()
853 half = 0; in gru_free_message()
856 if (half >= 0) in gru_free_message()
[all …]
/linux/tools/testing/ktest/
H A Dconfig-bisect.pl472 my @half = @{$phalf};
479 foreach my $item (@half) {
533 my $half = int($#diff_arr / 2);
534 my @tophalf = @diff_arr[0 .. $half];
558 my $half = int($#diff_arr / 2);
559 my @bottomhalf = @diff_arr[$half+1 .. $#diff_arr];
/linux/arch/arm/vdso/
H A Dvdsomunge.c106 static Elf32_Half read_elf_half(Elf32_Half half, bool swap) in read_elf_half() argument
108 return swap ? swab16(half) : half; in read_elf_half()
/linux/Documentation/driver-api/iio/
H A Dtriggered-buffers.rst56 * **sensor_iio_pollfunc**, the function that will be used as top half of poll
61 * **sensor_trigger_handler**, the function that will be used as bottom half of
65 top half.
/linux/arch/powerpc/kernel/
H A Dvecemu.c245 int exp, half; in rfin() local
257 half = 0x400000 >> exp; in rfin()
259 return (x + half) & ~(0x7fffff >> exp); in rfin()
/linux/tools/testing/selftests/rcutorture/doc/
H A DTREE_RCU-kconfig.txt12 CONFIG_PREEMPT -- Do half. (First three and #8.)
20 CONFIG_RCU_TRACE -- Do half.
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c271 __u16 *half; in sk_dst_port__load_half() local
274 half = (__u16 *)&sk->dst_port; in sk_dst_port__load_half()
275 return half[0] == bpf_htons(0xcafe); in sk_dst_port__load_half()
/linux/Documentation/networking/device_drivers/ethernet/dlink/
H A Ddl2k.rst215 10mbps_hd 10Mbps half duplex.
217 100mbps_hd 100Mbps half duplex.
220 1000mbps_hd 1000Mbps half duplex.
222 1 10Mbps half duplex.
224 3 100Mbps half duplex.
226 5 1000Mbps half duplex.
/linux/drivers/soc/fsl/qe/
H A Dtsa.c353 resource_size_t half; in tsa_cpm1_init_entries_area() local
356 half = tsa->si_ram_sz / 2; in tsa_cpm1_init_entries_area()
363 area->entries_next = area->entries_start + half; in tsa_cpm1_init_entries_area()
367 area->entries_start = tsa->si_ram + half; in tsa_cpm1_init_entries_area()
368 area->entries_next = area->entries_start + half; in tsa_cpm1_init_entries_area()
405 resource_size_t half; in tsa_qe_init_entries_area() local
408 half = tsa->si_ram_sz / 2; in tsa_qe_init_entries_area()
416 area->entries_start = tsa->si_ram + half + (eighth * tdm_id); in tsa_qe_init_entries_area()
/linux/arch/riscv/kernel/tests/module_test/
H A Dtest_sub16.S20 .half 0
/linux/arch/xtensa/lib/
H A Dmemset.S106 bbci.l a5, 0, .L20 # branch if dst alignment half-aligned
115 # dst half-aligned
/linux/Documentation/driver-api/serial/
H A Dserial-rs485.rst19 half-duplex mode capable of automatically controlling line direction by
21 half-duplex hardware like an RS485 transceiver or any RS232-connected
22 half-duplex devices like some modems.
/linux/Documentation/driver-api/media/
H A Ddtv-demux.rst41 Note that functions called from a bottom half context must not sleep.
45 bottom half context. Thus, if a demux kABI function is called from network
65 bottom half mechanism or start a tasklet instead of making the callback
/linux/Documentation/admin-guide/hw-vuln/
H A Dindirect-target-selection.rst8 of indirect branches and RETs located in the lower half of a cacheline.
58 in the lower half of the cacheline are vulnerable to ITS, the basic idea behind
59 the mitigation is to not allow indirect branches in the lower half.
64 second half of the cacheline. Not all retpoline sites are patched to thunks, if
/linux/Documentation/userspace-api/media/dvb/
H A Dlegacy_dvb_osd.rst457 - 1 Bit bitmap half resolution
463 - 2 Bit bitmap half resolution
469 - 4 Bit bitmap half resolution
475 - 8 Bit bitmap half resolution
493 - 4:4:4 YCRCB graphic half resolution
/linux/Documentation/filesystems/
H A Dqnx6.rst179 Each superblock got its own half of the system area. So superblock #1
180 always uses blocks from the lower half while superblock #2 just writes to
181 blocks represented by the upper half bitmap system area bits.
189 other half of the system area.
/linux/lib/fonts/
H A DKconfig52 Small console font with Macintosh-style high-half glyphs. Some Mac
68 Small console font with PC-style control-character and high-half
76 Small console font with PC-style control characters and high-half
/linux/Documentation/devicetree/bindings/rtc/
H A Dmicrochip,pic32-rtc.txt3 The RTCC keeps time in hours, minutes, and seconds, and one half second. It
/linux/Documentation/ABI/testing/
H A Dsysfs-class-rtc-rtc0-device-rtc_calibration12 30.5 micro-seconds (half-parts-per-million of the 32KHz clock)
/linux/Documentation/arch/riscv/
H A Dvm-layout.rst27 big hole, the lower half is where the userspace resides, the upper half is where

12345678