Home
last modified time | relevance | path

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

12345678910

/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/soc/ixp4xx/
H A Dixp4xx-qmgr.c188 int i, half = (irq == qmgr_irq_1 ? 0 : 1); in qmgr_irq() local
189 u32 req_bitmap = __raw_readl(&qmgr_regs->irqstat[half]); in qmgr_irq()
193 __raw_writel(req_bitmap, &qmgr_regs->irqstat[half]); /* ACK */ in qmgr_irq()
198 i += half * HALF_QUEUES; in qmgr_irq()
208 int half = queue / 32; in qmgr_enable_irq() local
212 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) | mask, in qmgr_enable_irq()
213 &qmgr_regs->irqen[half]); in qmgr_enable_irq()
220 int half = queue / 32; in qmgr_disable_irq() local
224 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) & ~mask, in qmgr_disable_irq()
225 &qmgr_regs->irqen[half]); in qmgr_disable_irq()
[all …]
/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/hwmon/
H A Dmax197.c124 int half = data->limit / 2; in max197_store_range() local
134 value = -half; in max197_store_range()
141 value = half; in max197_store_range()
150 } else if (value == -half) { in max197_store_range()
156 } else if (value == half) { in max197_store_range()
/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/tools/perf/tests/shell/
H A Dtest_arm_coresight.sh229 half=$((total / 2))
232 first_half=$(IFS=,; echo "${cpus[*]:0:$half}")
236 second_half=$(IFS=,; echo "${cpus[*]:$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/drivers/auxdisplay/
H A Dhd44780_common.c331 int half; in hd44780_common_redefine_char() local
334 half = hex_to_bin(*esc++); in hd44780_common_redefine_char()
335 if (half < 0) in hd44780_common_redefine_char()
338 value |= half << shift; in hd44780_common_redefine_char()
/linux/Documentation/arch/arm64/
H A Darm-cca.rst24 is split into two. The lower half is protected - any memory that is
25 mapped in this half cannot be seen by the Normal World and the RMM
28 guest's cooperation). The upper half is shared, the Normal World is free
55 (specifically earlycon) must be specified in the upper half of IPA.
/linux/drivers/mtd/spi-nor/
H A Dsfdp.c237 u16 half, in spi_nor_set_read_settings_from_bfpt() argument
240 read->num_mode_clocks = (half >> 5) & 0x07; in spi_nor_set_read_settings_from_bfpt()
241 read->num_wait_states = (half >> 0) & 0x1f; in spi_nor_set_read_settings_from_bfpt()
242 read->opcode = (half >> 8) & 0xff; in spi_nor_set_read_settings_from_bfpt()
443 u16 half; in spi_nor_parse_bfpt() local
512 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt()
513 spi_nor_set_read_settings_from_bfpt(read, half, rd->proto); in spi_nor_parse_bfpt()
527 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt()
528 erasesize = half & 0xff; in spi_nor_parse_bfpt()
535 opcode = (half >> 8) & 0xff; in spi_nor_parse_bfpt()
/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/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/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/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/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/arch/xtensa/lib/
H A Dmemset.S106 bbci.l a5, 0, .L20 # branch if dst alignment half-aligned
115 # dst half-aligned
/linux/arch/riscv/kernel/tests/module_test/
H A Dtest_sub16.S20 .half 0
/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

12345678910