/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_ring.c | 79 unsigned int half = 2048; local 82 ring = mock_ring(2 * half); 86 GEM_BUG_ON(ring->size != 2 * half); 89 for (step = 1; step < half; step <<= 1) { 91 err |= check_ring_offset(ring, half, step); 93 err |= check_ring_step(ring, 0, half - 64); 96 err |= check_ring_offset(ring, 0, 2 * half + 64); 97 err |= check_ring_offset(ring, 3 * half, 1);
|
/linux-master/arch/riscv/kernel/tests/module_test/ |
H A D | test_sub16.S | 20 .half 0
|
/linux-master/drivers/net/ethernet/8390/ |
H A D | stnic.c | 29 #define half unsigned short macro 97 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); 186 half buf[2]; 222 half val; 244 length -= sizeof (half); 270 *(vhalf *) PA_83902_IF = ((half) buf[1] << 8) | buf[0]; 272 *(vhalf *) PA_83902_IF = ((half) buf[0] << 8) | buf[1]; 275 buf += sizeof (half); 276 length -= sizeof (half);
|
/linux-master/drivers/soc/ixp4xx/ |
H A D | ixp4xx-qmgr.c | 188 int i, half = (irq == qmgr_irq_1 ? 0 : 1); local 189 u32 req_bitmap = __raw_readl(&qmgr_regs->irqstat[half]); 193 __raw_writel(req_bitmap, &qmgr_regs->irqstat[half]); /* ACK */ 198 i += half * HALF_QUEUES; 208 int half = queue / 32; local 212 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) | mask, 213 &qmgr_regs->irqen[half]); 220 int half = queue / 32; local 224 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) & ~mask, 225 &qmgr_regs->irqen[half]); [all...] |
/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sun4i_hdmi_tmds_clk.c | 31 bool *half) 57 if (div && half) { 59 *half = is_double; 147 bool half; local 152 &div, &half); 156 if (half) 27 sun4i_tmds_calc_divider(unsigned long rate, unsigned long parent_rate, u8 div_offset, u8 *div, bool *half) argument
|
/linux-master/drivers/clk/sunxi/ |
H A D | clk-sun4i-tcon-ch1.c | 101 bool *half) 127 if (div && half) { 129 *half = is_double; 191 bool half; local 195 tcon_ch1_calc_divider(rate, parent_rate, &div_m, &half); 202 if (half) 98 tcon_ch1_calc_divider(unsigned long rate, unsigned long parent_rate, u8 *div, bool *half) argument
|
/linux-master/arch/arm/vdso/ |
H A D | vdsomunge.c | 106 static Elf32_Half read_elf_half(Elf32_Half half, bool swap) argument 108 return swap ? swab16(half) : half;
|
/linux-master/drivers/hwmon/ |
H A D | max197.c | 124 int half = data->limit / 2; local 134 value = -half; 141 value = half; 150 } else if (value == -half) { 156 } else if (value == half) {
|
/linux-master/tools/testing/ktest/ |
H A D | config-bisect.pl | 12 # Compares a good config to a bad config, then takes half of the diffs 15 # good config and will try to make half of the differences of between 18 # exactly half of the configs that are different between the two config 31 # The algorithm will run, merging half of the differences between 464 # $phalf: half of the configs names you want to add 467 # $which: The name of which half that is updating (top / bottom) 472 my @half = @{$phalf}; 478 doprint "Settings bisect with $which half of $type configs:\n"; 479 foreach my $item (@half) { 533 my $half [all...] |
/linux-master/tools/testing/selftests/powerpc/math/ |
H A D | vsx_asm.S | 15 addi r3, r3, 16 * 12 #Second half of array
|
/linux-master/drivers/clk/rockchip/ |
H A D | Makefile | 11 clk-rockchip-y += clk-half-divider.o
|
/linux-master/drivers/auxdisplay/ |
H A D | lcd2s.c | 246 int half; local 249 half = hex_to_bin(*esc++); 250 if (half < 0) 253 value |= half << shift;
|
H A D | hd44780_common.c | 330 int half; local 333 half = hex_to_bin(*esc++); 334 if (half < 0) 337 value |= half << shift;
|
/linux-master/drivers/misc/sgi-gru/ |
H A D | grukservices.c | 643 int half, qlines; local 645 /* Determine if switching to first/second half of q */ 651 half = (limit != qlines); 653 if (half) 659 gru_gamir(cb, EOP_IR_CLR, HSTATUS(mqd->mq_gpa, half), XTYPE_DW, IMA); 670 gru_gamir(cb, EOP_IR_INC, HSTATUS(mqd->mq_gpa, half), 680 /* Then flip queuehead to other half of queue. */ 689 gru_gamir(cb, EOP_IR_INC, HSTATUS(mqd->mq_gpa, half), XTYPE_DW, 842 int half = -1; local 853 half [all...] |
/linux-master/drivers/mtd/spi-nor/ |
H A D | sfdp.c | 61 * The half-word at offset <setting_shift> in <setting_dword> BFPT DWORD 74 * The half-word at offset <shift> in DWORD <dword> encodes the 237 u16 half, 240 read->num_mode_clocks = (half >> 5) & 0x07; 241 read->num_wait_states = (half >> 0) & 0x1f; 242 read->opcode = (half >> 8) & 0xff; 333 * @l: member in the left half of the map's erase_type array 334 * @r: member in the right half of the map's erase_type array 443 u16 half; local 512 half 236 spi_nor_set_read_settings_from_bfpt(struct spi_nor_read_command *read, u16 half, enum spi_nor_protocol proto) argument [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | vecemu.c | 245 int exp, half; local 257 half = 0x400000 >> exp; 259 return (x + half) & ~(0x7fffff >> exp);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_sock_fields.c | 268 __u16 *half; local 271 half = (__u16 *)&sk->dst_port; 272 return half[0] == bpf_htons(0xcafe);
|
/linux-master/arch/xtensa/lib/ |
H A D | memset.S | 106 bbci.l a5, 0, .L20 # branch if dst alignment half-aligned 115 # dst half-aligned
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | nand_hynix.c | 160 int i, j, half = repeat / 2; local 163 * We only test the first half of the in array because we must ensure 170 for (i = 0; i < half; i++) { 181 if (cnt > half) {
|
/linux-master/drivers/soc/fsl/qe/ |
H A D | tsa.c | 236 resource_size_t half; local 239 half = tsa->si_ram_sz/2; 244 /* First half of si_ram */ 246 area->entries_next = area->entries_start + half; 249 /* Second half of si_ram */ 250 area->entries_start = tsa->si_ram + half; 251 area->entries_next = area->entries_start + half; 258 /* First half of first half of si_ram */ 263 /* First half o [all...] |
/linux-master/drivers/media/usb/usbtv/ |
H A D | usbtv-video.c | 377 int half; local 379 for (half = 0; half < 2; half++) { 380 int part_no = chunk_no * 2 + half;
|
/linux-master/arch/arm/mach-omap2/ |
H A D | sram242x.S | 145 cmp r0, #0x1 @ going to half speed? 150 cmp r0, #0x1 @ going to half speed (post branch link) 151 moveq r5, r5, lsr #1 @ divide by 2 if to half
|
H A D | sram243x.S | 145 cmp r0, #0x1 @ going to half speed? 150 cmp r0, #0x1 @ going to half speed (post branch link) 151 moveq r5, r5, lsr #1 @ divide by 2 if to half
|
/linux-master/arch/sparc/kernel/ |
H A D | head_32.S | 79 .half 0x0203 /* HdrS version */ 81 .half 1 83 .half 0 85 .half 0
|
/linux-master/arch/riscv/include/asm/ |
H A D | asm.h | 64 #define RISCV_SHORT __ASM_STR(.half)
|