| /drivers/gpu/drm/i915/gt/ |
| A D | selftest_ring.c | 79 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()
|
| /drivers/net/ethernet/8390/ |
| A D | stnic.c | 29 #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()
|
| /drivers/soc/ixp4xx/ |
| A D | ixp4xx-qmgr.c | 188 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 …]
|
| /drivers/gpu/drm/sun4i/ |
| A D | sun4i_hdmi_tmds_clk.c | 31 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()
|
| /drivers/clk/sunxi/ |
| A D | clk-sun4i-tcon-ch1.c | 101 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()
|
| /drivers/hwmon/ |
| A D | max197.c | 124 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()
|
| /drivers/misc/sgi-gru/ |
| A D | grukservices.c | 641 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 …]
|
| /drivers/auxdisplay/ |
| A D | lcd2s.c | 246 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()
|
| A D | hd44780_common.c | 330 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()
|
| /drivers/mtd/spi-nor/ |
| A D | sfdp.c | 237 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()
|
| /drivers/soc/fsl/qe/ |
| A D | tsa.c | 353 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()
|
| /drivers/media/usb/usbtv/ |
| A D | usbtv-video.c | 381 int half; in usbtv_chunk_to_vbuf() local 383 for (half = 0; half < 2; half++) { in usbtv_chunk_to_vbuf() 384 int part_no = chunk_no * 2 + half; in usbtv_chunk_to_vbuf()
|
| /drivers/mtd/nand/raw/ |
| A D | nand_hynix.c | 160 int i, j, half = repeat / 2; in hynix_get_majority() local 170 for (i = 0; i < half; i++) { in hynix_get_majority() 181 if (cnt > half) { in hynix_get_majority()
|
| /drivers/net/ethernet/actions/ |
| A D | Kconfig | 24 both half-duplex and full-duplex operation modes at 10/100 Mb/s.
|
| /drivers/clk/rockchip/ |
| A D | Makefile | 12 clk-rockchip-y += clk-half-divider.o
|
| /drivers/hid/intel-thc-hid/ |
| A D | Kconfig | 13 is comprised of 3 key functional blocks: A natively half-duplex
|
| /drivers/net/ethernet/qualcomm/ |
| A D | Kconfig | 58 supports IEEE 802.3-2002, half-duplex mode at 10/100 Mb/s,
|
| /drivers/net/hamradio/ |
| A D | Kconfig | 94 driver, "BAYCOM ser12 half-duplex driver for AX.25" is the old 111 ser12 design in half-duplex mode. This is the old driver. It is
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_dpll_mgr.c | 1546 unsigned int half = p / 2; in skl_wrpll_get_multipliers() local 1548 if (half == 1 || half == 2 || half == 3 || half == 5) { in skl_wrpll_get_multipliers() 1551 *p2 = half; in skl_wrpll_get_multipliers() 1552 } else if (half % 2 == 0) { in skl_wrpll_get_multipliers() 1554 *p1 = half / 2; in skl_wrpll_get_multipliers() 1556 } else if (half % 3 == 0) { in skl_wrpll_get_multipliers() 1558 *p1 = half / 3; in skl_wrpll_get_multipliers() 1560 } else if (half % 7 == 0) { in skl_wrpll_get_multipliers() 1562 *p1 = half / 7; in skl_wrpll_get_multipliers()
|
| /drivers/iio/trigger/ |
| A D | Kconfig | 54 Uses a tight loop in a kthread. Will only work with lower half only
|
| /drivers/input/joystick/ |
| A D | adi.c | 382 static int adi_init_input(struct adi *adi, struct adi_port *port, int half) in adi_init_input() argument 396 snprintf(adi->phys, ADI_MAX_PHYS_LENGTH, "%s/input%d", port->gameport->phys, half); in adi_init_input()
|
| /drivers/media/platform/qcom/venus/ |
| A D | venc_ctrls.c | 27 u32 half = (gop_size - 1) >> 1; in venc_calc_bpframes() local 41 b = p = half; in venc_calc_bpframes()
|
| /drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | Kconfig | 79 DSI is a high speed half-duplex serial interface between the host
|
| /drivers/mtd/devices/ |
| A D | Kconfig | 77 one-time-programmable (OTP) data. The first half may be written 79 other key product data. The second half is programmed with a
|
| /drivers/gpu/drm/omapdrm/ |
| A D | Kconfig | 103 DSI is a high speed half-duplex serial interface between the host
|