Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/gpu/drm/radeon/
Drv515.c715 int data_reg = 0x657c + crtc->crtc_offset; in atom_rv515_force_tv_scaler() local
725 WREG32(data_reg, 0x841880A8); in atom_rv515_force_tv_scaler()
727 WREG32(data_reg, 0x84208680); in atom_rv515_force_tv_scaler()
729 WREG32(data_reg, 0xBFF880B0); in atom_rv515_force_tv_scaler()
731 WREG32(data_reg, 0x83D88088); in atom_rv515_force_tv_scaler()
733 WREG32(data_reg, 0x84608680); in atom_rv515_force_tv_scaler()
735 WREG32(data_reg, 0xBFF080D0); in atom_rv515_force_tv_scaler()
737 WREG32(data_reg, 0x83988068); in atom_rv515_force_tv_scaler()
739 WREG32(data_reg, 0x84A08680); in atom_rv515_force_tv_scaler()
741 WREG32(data_reg, 0xBFF080F8); in atom_rv515_force_tv_scaler()
[all …]
/Linux-v5.4/drivers/usb/host/
Dsl811.h124 void __iomem *data_reg; member
201 return readb(sl811->data_reg); in sl811_read()
207 writeb(val, sl811->data_reg); in sl811_write()
214 void __iomem *data_reg; in sl811_write_buf() local
221 data_reg = sl811->data_reg; in sl811_write_buf()
223 writeb(*data++, data_reg); in sl811_write_buf()
231 void __iomem *data_reg; in sl811_read_buf() local
238 data_reg = sl811->data_reg; in sl811_read_buf()
240 *data++ = readb(data_reg); in sl811_read_buf()
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()
154 writeb(SL_SETUP /* | ep->epnum */, data_reg); in setup_packet()
155 writeb(usb_pipedevice(urb->pipe), data_reg); in setup_packet()
174 void __iomem *data_reg; in status_packet() local
177 data_reg = sl811->data_reg; in status_packet()
181 writeb(0, data_reg); in status_packet()
182 writeb((do_out ? SL_OUT : SL_IN) /* | ep->epnum */, data_reg); in status_packet()
183 writeb(usb_pipedevice(urb->pipe), data_reg); in status_packet()
[all …]
Disp116x.h259 void __iomem *data_reg; member
366 writew(val, isp116x->data_reg); in isp116x_write_data16()
372 __raw_writew(val, isp116x->data_reg); in isp116x_raw_write_data16()
380 val = readw(isp116x->data_reg); in isp116x_read_data16()
389 val = __raw_readw(isp116x->data_reg); in isp116x_raw_read_data16()
396 writew(val & 0xffff, isp116x->data_reg); in isp116x_write_data32()
398 writew(val >> 16, isp116x->data_reg); in isp116x_write_data32()
406 val = (u32) readw(isp116x->data_reg); in isp116x_read_data32()
408 val |= ((u32) readw(isp116x->data_reg)) << 16; in isp116x_read_data32()
Disp1362.h434 void __iomem *data_reg; member
598 writew(val, isp1362_hcd->data_reg); in isp1362_write_data16()
606 val = readw(isp1362_hcd->data_reg); in isp1362_read_data16()
615 writel(val, isp1362_hcd->data_reg); in isp1362_write_data32()
618 writew((u16)val, isp1362_hcd->data_reg); in isp1362_write_data32()
620 writew(val >> 16, isp1362_hcd->data_reg); in isp1362_write_data32()
630 val = readl(isp1362_hcd->data_reg); in isp1362_read_data32()
633 val = (u32)readw(isp1362_hcd->data_reg); in isp1362_read_data32()
635 val |= (u32)readw(isp1362_hcd->data_reg) << 16; in isp1362_read_data32()
654 readsl(isp1362_hcd->data_reg, dp, len >> 2); in isp1362_read_fifo()
[all …]
/Linux-v5.4/drivers/gpio/
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()
173 u8 data = inb(block->runtime_reg + block->data_reg); in __sch311x_gpio_set()
[all …]
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()
Dgpio-altera.c119 unsigned int data_reg; in altera_gpio_set() local
125 data_reg = readl(mm_gc->regs + ALTERA_GPIO_DATA); in altera_gpio_set()
127 data_reg |= BIT(offset); in altera_gpio_set()
129 data_reg &= ~BIT(offset); in altera_gpio_set()
130 writel(data_reg, mm_gc->regs + ALTERA_GPIO_DATA); in altera_gpio_set()
160 unsigned int data_reg, gpio_ddr; in altera_gpio_direction_output() local
167 data_reg = readl(mm_gc->regs + ALTERA_GPIO_DATA); in altera_gpio_direction_output()
169 data_reg |= BIT(offset); in altera_gpio_direction_output()
171 data_reg &= ~BIT(offset); in altera_gpio_direction_output()
172 writel(data_reg, mm_gc->regs + ALTERA_GPIO_DATA); in altera_gpio_direction_output()
/Linux-v5.4/drivers/iio/adc/
Dad_sigma_delta.c283 unsigned int data_reg; in ad_sigma_delta_single_conversion() local
309 if (sigma_delta->info->data_reg != 0) in ad_sigma_delta_single_conversion()
310 data_reg = sigma_delta->info->data_reg; in ad_sigma_delta_single_conversion()
312 data_reg = AD_SD_REG_DATA; in ad_sigma_delta_single_conversion()
314 ret = ad_sd_read_reg(sigma_delta, data_reg, in ad_sigma_delta_single_conversion()
406 unsigned int data_reg; in ad_sd_trigger_handler() local
416 if (sigma_delta->info->data_reg != 0) in ad_sd_trigger_handler()
417 data_reg = sigma_delta->info->data_reg; in ad_sd_trigger_handler()
419 data_reg = AD_SD_REG_DATA; in ad_sd_trigger_handler()
425 ret = ad_sd_read_reg_raw(sigma_delta, data_reg, reg_size, in ad_sd_trigger_handler()
[all …]
/Linux-v5.4/drivers/media/dvb-frontends/
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-v5.4/arch/sparc/include/asm/
Dide.h25 #define __ide_insl(data_reg, buffer, wcount) \ argument
26 __ide_insw(data_reg, buffer, (wcount)<<1)
27 #define __ide_outsl(data_reg, buffer, wcount) \ argument
28 __ide_outsw(data_reg, buffer, (wcount)<<1)
/Linux-v5.4/drivers/scsi/pcmcia/
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-v5.4/arch/powerpc/boot/
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-v5.4/drivers/parisc/
Dlba_pci.c349 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in lba_rd_cfg() local
353 case 1: data = (u32) READ_REG8(data_reg + (reg & 3)); break; in lba_rd_cfg()
354 case 2: data = (u32) READ_REG16(data_reg+ (reg & 2)); break; in lba_rd_cfg()
355 case 4: data = READ_REG32(data_reg); break; in lba_rd_cfg()
368 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in elroy_cfg_read() local
395 case 1: *data = READ_REG8 (data_reg + (pos & 3)); break; in elroy_cfg_read()
396 case 2: *data = READ_REG16(data_reg + (pos & 2)); break; in elroy_cfg_read()
397 case 4: *data = READ_REG32(data_reg); break; in elroy_cfg_read()
411 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in lba_wr_cfg() local
416 case 1: WRITE_REG8 (data, data_reg + (reg & 3)); break; in lba_wr_cfg()
[all …]
Dled.c547 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument
551 if (initialized || !data_reg) in register_led_driver()
559 LCD_DATA_REG = data_reg; in register_led_driver()
570 LED_DATA_REG = data_reg; in register_led_driver()
577 LED_DATA_REG = data_reg; in register_led_driver()
/Linux-v5.4/drivers/mailbox/
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-v5.4/drivers/rtc/
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()
248 info->data_reg = devm_ioremap_resource(&pdev->dev, res); in m48t86_rtc_probe()
249 if (IS_ERR(info->data_reg)) in m48t86_rtc_probe()
250 return PTR_ERR(info->data_reg); in m48t86_rtc_probe()
/Linux-v5.4/arch/powerpc/platforms/embedded6xx/
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-v5.4/drivers/spi/
Dspi-jcore.c102 void __iomem *data_reg = hw->base + DATA_REG; in jcore_spi_txrx() local
122 writel(tx ? *tx++ : 0, data_reg); in jcore_spi_txrx()
129 *rx++ = readl(data_reg); in jcore_spi_txrx()
/Linux-v5.4/drivers/tty/serial/
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-v5.4/drivers/gpu/drm/gma500/
Dmdfld_dsi_pkg_sender.c248 u32 data_reg; in send_long_pkg() local
257 data_reg = sender->mipi_hs_gen_data_reg; in send_long_pkg()
262 data_reg = sender->mipi_lp_gen_data_reg; in send_long_pkg()
274 REG_WRITE(data_reg, b4 << 24 | b3 << 16 | b2 << 8 | b1); in send_long_pkg()
296 REG_WRITE(data_reg, b3 << 16 | b2 << 8 | b1); in send_long_pkg()
/Linux-v5.4/drivers/iio/chemical/
Datlas-ph-sensor.c261 int data_reg; member
271 .data_reg = ATLAS_REG_PH_DATA,
278 .data_reg = ATLAS_REG_EC_DATA,
285 .data_reg = ATLAS_REG_ORP_DATA,
360 ret = regmap_bulk_read(data->regmap, data->chip->data_reg, in atlas_trigger_handler()
/Linux-v5.4/drivers/scsi/csiostor/
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()
1480 uint32_t data_reg = PF_REG(hw->pfn, CIM_PF_MAILBOX_DATA_A); in csio_mb_isr_handler() local
1506 CSIO_DUMP_MB(hw, hw->pfn, data_reg); in csio_mb_isr_handler()
[all …]
/Linux-v5.4/arch/mips/lasat/
Dds1603.h13 volatile u32 *data_reg; member
/Linux-v5.4/arch/parisc/include/asm/
Dled.h28 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg);

12