Home
last modified time | relevance | path

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

12345678910

/linux/drivers/gpu/drm/i915/gt/
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/
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/
A Dstnic.c32 #define half unsigned short macro
100 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); in STNIC_WRITE()
189 half buf[2]; in stnic_get_hdr()
225 half val; in stnic_block_input()
247 length -= sizeof (half); in stnic_block_input()
273 *(vhalf *) PA_83902_IF = ((half) buf[1] << 8) | buf[0]; in stnic_block_output()
275 *(vhalf *) PA_83902_IF = ((half) buf[0] << 8) | buf[1]; in stnic_block_output()
278 buf += sizeof (half); in stnic_block_output()
279 length -= sizeof (half); in stnic_block_output()
/linux/drivers/soc/ixp4xx/
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/
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/
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/
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/
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/
A Dgrukservices.c643 int half, qlines; in send_message_queue_full() local
651 half = (limit != qlines); in send_message_queue_full()
653 if (half) in send_message_queue_full()
659 gru_gamir(cb, EOP_IR_CLR, HSTATUS(mqd->mq_gpa, half), XTYPE_DW, IMA); in send_message_queue_full()
670 gru_gamir(cb, EOP_IR_INC, HSTATUS(mqd->mq_gpa, half), in send_message_queue_full()
689 gru_gamir(cb, EOP_IR_INC, HSTATUS(mqd->mq_gpa, half), XTYPE_DW, in send_message_queue_full()
842 int half = -1; in gru_free_message() local
853 half = 1; in gru_free_message()
855 half = 0; in gru_free_message()
858 if (half >= 0) in gru_free_message()
[all …]
/linux/tools/testing/ktest/
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/
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/drivers/mtd/spi-nor/
A Dsfdp.c233 u16 half, in spi_nor_set_read_settings_from_bfpt() argument
236 read->num_mode_clocks = (half >> 5) & 0x07; in spi_nor_set_read_settings_from_bfpt()
237 read->num_wait_states = (half >> 0) & 0x1f; in spi_nor_set_read_settings_from_bfpt()
238 read->opcode = (half >> 8) & 0xff; in spi_nor_set_read_settings_from_bfpt()
442 u16 half; in spi_nor_parse_bfpt() local
508 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt()
509 spi_nor_set_read_settings_from_bfpt(read, half, rd->proto); in spi_nor_parse_bfpt()
523 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt()
524 erasesize = half & 0xff; in spi_nor_parse_bfpt()
531 opcode = (half >> 8) & 0xff; in spi_nor_parse_bfpt()
/linux/Documentation/driver-api/iio/
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/
A Dhd44780_common.c322 int half; in hd44780_common_redefine_char() local
325 half = hex_to_bin(*esc++); in hd44780_common_redefine_char()
326 if (half < 0) in hd44780_common_redefine_char()
329 value |= half << shift; in hd44780_common_redefine_char()
A Dlcd2s.c245 int half; in lcd2s_redefine_char() local
248 half = hex_to_bin(*esc++); in lcd2s_redefine_char()
249 if (half < 0) in lcd2s_redefine_char()
252 value |= half << shift; in lcd2s_redefine_char()
/linux/Documentation/devicetree/bindings/sound/
A Dingenic,aic.yaml48 - const: pll half
88 clock-names = "aic", "i2s", "ext", "pll half";
/linux/Documentation/driver-api/serial/
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/devicetree/bindings/serial/
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/phy/
A Dphy-ocelot-serdes.txt13 half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports
14 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode.
/linux/arch/powerpc/kernel/
A Dvecemu.c245 int exp, half; in rfin() local
257 half = 0x400000 >> exp; in rfin()
259 return (x + half) & ~(0x7fffff >> exp); in rfin()
/linux/Documentation/riscv/
A Dvm-layout.rst27 big hole, the lower half is where the userspace resides, the upper half is where
/linux/Documentation/networking/device_drivers/ethernet/dlink/
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/Documentation/devicetree/bindings/input/
A Drotary-encoder.txt27 - rotary-encoder,half-period: Makes the driver work on half-period mode.
/linux/Documentation/devicetree/bindings/memory-controllers/
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/tools/testing/selftests/rcutorture/doc/
A DTREE_RCU-kconfig.txt12 CONFIG_PREEMPT -- Do half. (First three and #8.)
21 CONFIG_RCU_TRACE -- Do half.

Completed in 52 milliseconds

12345678910