Home
last modified time | relevance | path

Searched refs:data_reg (Results 1 – 25 of 44) sorted by relevance

12

/linux/drivers/gpu/drm/radeon/
A Drv515.c693 WREG32(data_reg, 0x841880A8); in atom_rv515_force_tv_scaler()
695 WREG32(data_reg, 0x84208680); in atom_rv515_force_tv_scaler()
697 WREG32(data_reg, 0xBFF880B0); in atom_rv515_force_tv_scaler()
699 WREG32(data_reg, 0x83D88088); in atom_rv515_force_tv_scaler()
701 WREG32(data_reg, 0x84608680); in atom_rv515_force_tv_scaler()
703 WREG32(data_reg, 0xBFF080D0); in atom_rv515_force_tv_scaler()
705 WREG32(data_reg, 0x83988068); in atom_rv515_force_tv_scaler()
707 WREG32(data_reg, 0x84A08680); in atom_rv515_force_tv_scaler()
709 WREG32(data_reg, 0xBFF080F8); in atom_rv515_force_tv_scaler()
711 WREG32(data_reg, 0x83588058); in atom_rv515_force_tv_scaler()
[all …]
/linux/drivers/usb/host/
A Dsl811.h124 void __iomem *data_reg; member
200 return readb(sl811->data_reg); in sl811_read()
206 writeb(val, sl811->data_reg); in sl811_write()
213 void __iomem *data_reg; in sl811_write_buf() local
220 data_reg = sl811->data_reg; in sl811_write_buf()
222 writeb(*data++, data_reg); in sl811_write_buf()
230 void __iomem *data_reg; in sl811_read_buf() local
237 data_reg = sl811->data_reg; in sl811_read_buf()
239 *data++ = readb(data_reg); in sl811_read_buf()
A Dsl811-hcd.c144 void __iomem *data_reg; in setup_packet() local
148 data_reg = sl811->data_reg; in setup_packet()
153 writeb(len, data_reg); in setup_packet()
177 data_reg = sl811->data_reg; in status_packet()
181 writeb(0, data_reg); in status_packet()
217 data_reg = sl811->data_reg; in in_packet()
221 writeb(len, data_reg); in in_packet()
258 data_reg = sl811->data_reg; in out_packet()
264 writeb(len, data_reg); in out_packet()
1676 sl811->data_reg = data_reg; in sl811h_probe()
[all …]
A Disp1362.h434 void __iomem *data_reg; member
597 writew(val, isp1362_hcd->data_reg); in isp1362_write_data16()
605 val = readw(isp1362_hcd->data_reg); in isp1362_read_data16()
614 writel(val, isp1362_hcd->data_reg); in isp1362_write_data32()
617 writew((u16)val, isp1362_hcd->data_reg); in isp1362_write_data32()
619 writew(val >> 16, isp1362_hcd->data_reg); in isp1362_write_data32()
629 val = readl(isp1362_hcd->data_reg); in isp1362_read_data32()
632 val = (u32)readw(isp1362_hcd->data_reg); in isp1362_read_data32()
634 val |= (u32)readw(isp1362_hcd->data_reg) << 16; in isp1362_read_data32()
653 readsl(isp1362_hcd->data_reg, dp, len >> 2); in isp1362_read_fifo()
[all …]
A Disp116x.h259 void __iomem *data_reg; member
365 writew(val, isp116x->data_reg); in isp116x_write_data16()
371 __raw_writew(val, isp116x->data_reg); in isp116x_raw_write_data16()
379 val = readw(isp116x->data_reg); in isp116x_read_data16()
388 val = __raw_readw(isp116x->data_reg); in isp116x_raw_read_data16()
395 writew(val & 0xffff, isp116x->data_reg); in isp116x_write_data32()
397 writew(val >> 16, isp116x->data_reg); in isp116x_write_data32()
405 val = (u32) readw(isp116x->data_reg); in isp116x_read_data32()
407 val |= ((u32) readw(isp116x->data_reg)) << 16; in isp116x_read_data32()
/linux/drivers/gpio/
A Dgpio-sch311x.c41 unsigned short data_reg; /* from definition below */ member
52 unsigned short data_reg; member
61 .data_reg = 0x4b, /* GP1 */
66 .data_reg = 0x4c, /* GP2 */
71 .data_reg = 0x4d, /* GP3 */
76 .data_reg = 0x4e, /* GP4 */
81 .data_reg = 0x4f, /* GP5 */
86 .data_reg = 0x50, /* GP6 */
164 data = inb(block->runtime_reg + block->data_reg); in sch311x_gpio_get()
178 outb(data, block->runtime_reg + block->data_reg); in __sch311x_gpio_set()
[all …]
A Dgpio-rdc321x.c21 u32 data_reg[2]; member
41 gpch->data_reg[gpio < 32 ? 0 : 1]); in rdc_gpio_get_value()
57 gpch->data_reg[reg] |= 1 << (gpio & 0x1f); in rdc_gpio_set_value_impl()
59 gpch->data_reg[reg] &= ~(1 << (gpio & 0x1f)); in rdc_gpio_set_value_impl()
63 gpch->data_reg[reg]); in rdc_gpio_set_value_impl()
171 &rdc321x_gpio_dev->data_reg[0]); in rdc321x_gpio_probe()
177 &rdc321x_gpio_dev->data_reg[1]); in rdc321x_gpio_probe()
A Dgpio-altera.c120 unsigned int data_reg; in altera_gpio_set() local
126 data_reg = readl(mm_gc->regs + ALTERA_GPIO_DATA); in altera_gpio_set()
128 data_reg |= BIT(offset); in altera_gpio_set()
130 data_reg &= ~BIT(offset); in altera_gpio_set()
131 writel(data_reg, mm_gc->regs + ALTERA_GPIO_DATA); in altera_gpio_set()
161 unsigned int data_reg, gpio_ddr; in altera_gpio_direction_output() local
168 data_reg = readl(mm_gc->regs + ALTERA_GPIO_DATA); in altera_gpio_direction_output()
170 data_reg |= BIT(offset); in altera_gpio_direction_output()
172 data_reg &= ~BIT(offset); in altera_gpio_direction_output()
173 writel(data_reg, mm_gc->regs + ALTERA_GPIO_DATA); in altera_gpio_direction_output()
/linux/drivers/iio/adc/
A Dad_sigma_delta.c280 unsigned int data_reg; in ad_sigma_delta_single_conversion() local
306 if (sigma_delta->info->data_reg != 0) in ad_sigma_delta_single_conversion()
307 data_reg = sigma_delta->info->data_reg; in ad_sigma_delta_single_conversion()
309 data_reg = AD_SD_REG_DATA; in ad_sigma_delta_single_conversion()
311 ret = ad_sd_read_reg(sigma_delta, data_reg, in ad_sigma_delta_single_conversion()
400 unsigned int data_reg; in ad_sd_trigger_handler() local
406 if (sigma_delta->info->data_reg != 0) in ad_sd_trigger_handler()
407 data_reg = sigma_delta->info->data_reg; in ad_sd_trigger_handler()
409 data_reg = AD_SD_REG_DATA; in ad_sd_trigger_handler()
415 ad_sd_read_reg_raw(sigma_delta, data_reg, reg_size, &data[0]); in ad_sd_trigger_handler()
[all …]
/linux/drivers/media/dvb-frontends/
A Dlnbh29.c82 u8 data_reg; in lnbh29_set_voltage() local
93 data_reg = LNBH29_VSEL_0; in lnbh29_set_voltage()
96 data_reg = LNBH29_VSEL_13; in lnbh29_set_voltage()
99 data_reg = LNBH29_VSEL_18; in lnbh29_set_voltage()
105 priv->config[1] |= data_reg; in lnbh29_set_voltage()
/linux/arch/sparc/include/asm/
A Dide.h24 #define __ide_insl(data_reg, buffer, wcount) \ argument
25 __ide_insw(data_reg, buffer, (wcount)<<1)
26 #define __ide_outsl(data_reg, buffer, wcount) \ argument
27 __ide_outsw(data_reg, buffer, (wcount)<<1)
/linux/drivers/parisc/
A Dlba_pci.c355 case 4: data = READ_REG32(data_reg); break; in lba_rd_cfg()
397 case 4: *data = READ_REG32(data_reg); break; in elroy_cfg_read()
416 case 1: WRITE_REG8 (data, data_reg + (reg & 3)); break; in lba_wr_cfg()
417 case 2: WRITE_REG16(data, data_reg + (reg & 2)); break; in lba_wr_cfg()
418 case 4: WRITE_REG32(data, data_reg); break; in lba_wr_cfg()
493 *data = READ_REG8(data_reg + (pos & 3)); in mercury_cfg_read()
496 *data = READ_REG16(data_reg + (pos & 2)); in mercury_cfg_read()
499 *data = READ_REG32(data_reg); break; in mercury_cfg_read()
527 WRITE_REG8 (data, data_reg + (pos & 3)); in mercury_cfg_write()
530 WRITE_REG16(data, data_reg + (pos & 2)); in mercury_cfg_write()
[all …]
A Dled.c546 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument
550 if (initialized || !data_reg) in register_led_driver()
558 LCD_DATA_REG = data_reg; in register_led_driver()
569 LED_DATA_REG = data_reg; in register_led_driver()
576 LED_DATA_REG = data_reg; in register_led_driver()
/linux/drivers/mailbox/
A Dti-msgmgr.c211 void __iomem *data_reg; in ti_msgmgr_queue_rx_interrupt() local
263 for (data_reg = qinst->queue_buff_start, word_data = qinst->rx_buff, in ti_msgmgr_queue_rx_interrupt()
265 num_words; num_words--, data_reg += sizeof(u32), word_data++) in ti_msgmgr_queue_rx_interrupt()
266 *word_data = readl(data_reg); in ti_msgmgr_queue_rx_interrupt()
354 void __iomem *data_reg; in ti_msgmgr_send_data() local
375 for (data_reg = qinst->queue_buff_start, in ti_msgmgr_send_data()
378 num_words; num_words--, data_reg += sizeof(u32), word_data++) in ti_msgmgr_send_data()
379 writel(*word_data, data_reg); in ti_msgmgr_send_data()
387 writel(data_trail, data_reg); in ti_msgmgr_send_data()
388 data_reg++; in ti_msgmgr_send_data()
[all …]
/linux/drivers/scsi/pcmcia/
A Dnsp_message.c15 unsigned char data_reg, control_reg; in nsp_message_in() local
30 data_reg = nsp_index_read(base, SCSIDATAIN); in nsp_message_in()
38 data->MsgBuffer[len] = data_reg; len++; in nsp_message_in()
/linux/drivers/rtc/
A Drtc-m48t86.c42 void __iomem *data_reg; member
52 value = readb(info->data_reg); in m48t86_readb()
63 writeb(value, info->data_reg); in m48t86_writeb()
241 info->data_reg = devm_platform_ioremap_resource(pdev, 1); in m48t86_rtc_probe()
242 if (IS_ERR(info->data_reg)) in m48t86_rtc_probe()
243 return PTR_ERR(info->data_reg); in m48t86_rtc_probe()
/linux/arch/powerpc/boot/
A Dugecon.c41 u32 *data_reg = ug_io_base + EXI_DATA; in ug_io_transaction() local
51 out_be32(data_reg, data); in ug_io_transaction()
61 data = in_be32(data_reg); in ug_io_transaction()
/linux/arch/powerpc/platforms/embedded6xx/
A Dusbgecko_udbg.c48 u32 __iomem *data_reg = ug_io_base + EXI_DATA; in ug_io_transaction() local
58 out_be32(data_reg, data); in ug_io_transaction()
69 data = in_be32(data_reg); in ug_io_transaction()
/linux/drivers/iio/chemical/
A Datlas-sensor.c350 int data_reg; member
360 .data_reg = ATLAS_REG_PH_DATA,
367 .data_reg = ATLAS_REG_EC_DATA,
374 .data_reg = ATLAS_REG_ORP_DATA,
381 .data_reg = ATLAS_REG_DO_DATA,
388 .data_reg = ATLAS_REG_RTD_DATA,
460 ret = regmap_bulk_read(data->regmap, data->chip->data_reg, in atlas_trigger_handler()
/linux/drivers/spi/
A Dspi-jcore.c103 void __iomem *data_reg = hw->base + DATA_REG; in jcore_spi_txrx() local
123 writel(tx ? *tx++ : 0, data_reg); in jcore_spi_txrx()
130 *rx++ = readl(data_reg); in jcore_spi_txrx()
A Dspi-npcm-fiu.c321 u32 data_reg[4]; in npcm_fiu_uma_read() local
362 &data_reg[i]); in npcm_fiu_uma_read()
363 memcpy(data, data_reg, data_size); in npcm_fiu_uma_read()
376 u32 data_reg[4] = {0}; in npcm_fiu_uma_write() local
389 memcpy(data_reg, data, data_size); in npcm_fiu_uma_write()
392 data_reg[i]); in npcm_fiu_uma_write()
/linux/drivers/tty/serial/
A Dpmac_zilog.h56 volatile u8 __iomem *data_reg; member
101 return readb(port->data_reg); in read_zsdata()
106 writeb(data, port->data_reg); in write_zsdata()
/linux/drivers/net/dsa/hirschmann/
A Dhellcreek_hwtstamp.c221 unsigned int status_reg, data_reg; in hellcreek_txtstamp_work() local
232 data_reg = PR_TS_TX_P1_DATA_C; in hellcreek_txtstamp_work()
236 data_reg = PR_TS_TX_P2_DATA_C; in hellcreek_txtstamp_work()
264 ns = hellcreek_ptp_hwtstamp_read(hellcreek, data_reg); in hellcreek_txtstamp_work()
/linux/drivers/scsi/csiostor/
A Dcsio_mb.c1163 uint32_t data_reg = PF_REG(hw->pfn, CIM_PF_MAILBOX_DATA_A); in csio_mb_debug_cmd_handler() local
1168 cmd[i / 8] = cpu_to_be64(csio_rd_reg64(hw, data_reg + i)); in csio_mb_debug_cmd_handler()
1197 uint32_t data_reg = PF_REG(hw->pfn, CIM_PF_MAILBOX_DATA_A); in csio_mb_issue() local
1270 csio_wr_reg64(hw, be64_to_cpu(*cmd), data_reg + i); in csio_mb_issue()
1274 CSIO_DUMP_MB(hw, hw->pfn, data_reg); in csio_mb_issue()
1310 CSIO_DUMP_MB(hw, hw->pfn, data_reg); in csio_mb_issue()
1312 hdr = cpu_to_be64(csio_rd_reg64(hw, data_reg)); in csio_mb_issue()
1324 (hw, data_reg + i)); in csio_mb_issue()
1506 CSIO_DUMP_MB(hw, hw->pfn, data_reg); in csio_mb_isr_handler()
1518 hdr = cpu_to_be64(csio_rd_reg64(hw, data_reg)); in csio_mb_isr_handler()
[all …]
/linux/drivers/iio/accel/
A Dadxl355_core.c146 u8 data_reg; member
152 .data_reg = ADXL355_XDATA3_REG,
156 .data_reg = ADXL355_YDATA3_REG,
160 .data_reg = ADXL355_ZDATA3_REG,
450 chan->address].data_reg); in adxl355_read_raw()

Completed in 53 milliseconds

12