Home
last modified time | relevance | path

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

1234567891011

/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/Documentation/devicetree/bindings/interrupt-controller/
H A Dcirrus,clps711x-intc.txt24 12: UTXINT1 UART1 transmit FIFO half empty
25 13: URXINT1 UART1 receive FIFO half full
29 17: SS2RX SSI2 receive FIFO half or greater full
30 18: SS2TX SSI2 transmit FIFO less than half empty
31 28: UTXINT2 UART2 transmit FIFO half empty
32 29: URXINT2 UART2 receive FIFO half full
/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/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/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/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/drivers/auxdisplay/
H A Dlcd2s.c246 int half; in lcd2s_redefine_char() local
249 half = hex_to_bin(*esc++); in lcd2s_redefine_char()
250 if (half < 0) in lcd2s_redefine_char()
253 value |= half << shift; in lcd2s_redefine_char()
H A Dhd44780_common.c330 int half; in hd44780_common_redefine_char() local
333 half = hex_to_bin(*esc++); in hd44780_common_redefine_char()
334 if (half < 0) in hd44780_common_redefine_char()
337 value |= half << shift; in hd44780_common_redefine_char()
/linux/Documentation/devicetree/bindings/net/
H A Dqcom,qca807x.yaml82 bias current is half.
106 is set to half.
107 - With only DSP amplitude: bias current is set to half and
110 DSP bias current): bias current is half the detected current
/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/Documentation/devicetree/bindings/phy/
H A Dmscc,vsc7514-serdes.yaml23 half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports
24 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode.
/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/arch/riscv/kernel/tests/module_test/
H A Dtest_sub16.S20 .half 0
/linux/Documentation/devicetree/bindings/serial/
H A Drs485.yaml10 direction for the built-in half-duplex mode. The properties described
11 hereafter shall be given to a half-duplex capable UART node.
/linux/Documentation/devicetree/bindings/input/
H A Drotary-encoder.yaml67 rotary-encoder,half-period:
71 Makes the driver work on half-period mode.
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dti,gpmc-child.yaml129 description: ADV signal is delayed by half GPMC clock
133 description: CS signal is delayed by half GPMC clock
149 description: OE signal is delayed by half GPMC clock
153 description: WE signal is delayed by half GPMC clock
/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.

1234567891011