Home
last modified time | relevance | path

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

12345678910>>...15

/openbmc/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()
/openbmc/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
/openbmc/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()
/openbmc/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 …]
/openbmc/u-boot/drivers/sound/
H A Dsound.c15 const int half = period / 2; in sound_create_square_wave() local
26 for (i = 0; size && i < half; i++) { in sound_create_square_wave()
31 for (i = 0; size && i < period - half; i++) { in sound_create_square_wave()
/openbmc/u-boot/doc/
H A DREADME.t1040-l2switch53 0 enabled down 10 half
54 1 enabled down 10 half
55 2 enabled down 10 half
57 4 disabled down - half
58 5 disabled down - half
59 6 disabled down - half
60 7 disabled down - half
/openbmc/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()
/openbmc/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()
/openbmc/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
/openbmc/linux/arch/s390/mm/
H A Dpgalloc.c312 unsigned int half, unsigned int mask) in page_table_release_check() argument
322 table, half, mask); in page_table_release_check()
337 unsigned int mask, bit, half; in page_table_free() local
367 half = 0x01U << bit; in page_table_free()
369 half = 0x03U; in page_table_free()
374 page_table_release_check(ptdesc_page(ptdesc), table, half, mask); in page_table_free()
423 unsigned int mask = (unsigned long) _table & 0x03U, half = mask; in __tlb_remove_table() local
427 switch (half) { in __tlb_remove_table()
444 page_table_release_check(ptdesc_page(ptdesc), table, half, mask); in __tlb_remove_table()
/openbmc/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()
/openbmc/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];
/openbmc/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()
/openbmc/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 …]
/openbmc/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.
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-sipe/
H A D0001-Migrate-to-use-g_memdup2.patch163 gsize half = (secret_length + 1) / 2;
165 /* secret: used as S1; secret2: last half of original secret (S2) */
166 - guchar *secret2 = g_memdup(secret + secret_length - half, half);
167 + guchar *secret2 = g_memdup2(secret + secret_length - half, half);
/openbmc/linux/drivers/auxdisplay/
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()
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()
/openbmc/qemu/target/hexagon/imported/
H A Dshift.idef742 "Vector sign extend byte to half",
751 "Vector zero extend byte to half",
760 "Vector saturate half to unsigned byte",
773 "Vector saturate half to unsigned byte",
782 "Vector saturate half to signed byte",
792 "Vector saturate half to signed byte",
858 "Vector sign extend half to word",
867 "Vector zero extend half to word",
877 "Vector saturate word to signed half",
886 "Vector saturate word to unsigned half",
[all …]
H A Dmacros.def721 fMPY8UU, /* multiply half integer */
726 fMPY8US, /* multiply half integer */
731 fMPY8SU, /* multiply half integer */
737 fMPY8SS, /* multiply half integer */
743 fMPY16SS, /* multiply half integer */
755 fMPY16SU, /* multiply half integer */
761 fMPY16US, /* multiply half integer */
767 fMPY32SS, /* multiply half integer */
773 fMPY32UU, /* multiply half integer */
779 fMPY32SU, /* multiply half integer */
[all …]
/openbmc/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()
447 u16 half; in spi_nor_parse_bfpt() local
515 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt()
516 spi_nor_set_read_settings_from_bfpt(read, half, rd->proto); in spi_nor_parse_bfpt()
530 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt()
531 erasesize = half & 0xff; in spi_nor_parse_bfpt()
538 opcode = (half >> 8) & 0xff; in spi_nor_parse_bfpt()
/openbmc/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.
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Drotary-encoder.txt27 - rotary-encoder,half-period: Makes the driver work on half-period mode.
/openbmc/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.
/openbmc/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()

12345678910>>...15