Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/gpu/drm/radeon/
Drv515.c563 int data_reg = 0x657c + crtc->crtc_offset; in atom_rv515_force_tv_scaler() local
573 WREG32(data_reg, 0x841880A8); in atom_rv515_force_tv_scaler()
575 WREG32(data_reg, 0x84208680); in atom_rv515_force_tv_scaler()
577 WREG32(data_reg, 0xBFF880B0); in atom_rv515_force_tv_scaler()
579 WREG32(data_reg, 0x83D88088); in atom_rv515_force_tv_scaler()
581 WREG32(data_reg, 0x84608680); in atom_rv515_force_tv_scaler()
583 WREG32(data_reg, 0xBFF080D0); in atom_rv515_force_tv_scaler()
585 WREG32(data_reg, 0x83988068); in atom_rv515_force_tv_scaler()
587 WREG32(data_reg, 0x84A08680); in atom_rv515_force_tv_scaler()
589 WREG32(data_reg, 0xBFF080F8); in atom_rv515_force_tv_scaler()
[all …]
/linux-3.4.99/arch/mips/pmc-sierra/yosemite/
Dht.c58 uint32_t address_reg, data_reg; in titan_ht_config_read_dword() local
73 data_reg = RM9000x2_OCD_HTCFGD; in titan_ht_config_read_dword()
76 RM9K_READ(data_reg, val); in titan_ht_config_read_dword()
86 uint32_t address_reg, data_reg; in titan_ht_config_read_word() local
101 data_reg = RM9000x2_OCD_HTCFGD; in titan_ht_config_read_word()
109 RM9K_READ_16(data_reg + offset, val); in titan_ht_config_read_word()
132 uint32_t address_reg, data_reg; in titan_ht_config_read_byte() local
148 data_reg = RM9000x2_OCD_HTCFGD; in titan_ht_config_read_byte()
164 RM9K_READ_8(data_reg + offset1, val); in titan_ht_config_read_byte()
174 uint32_t address_reg, data_reg; in titan_ht_config_write_dword() local
[all …]
/linux-3.4.99/drivers/usb/host/
Dsl811.h123 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()
Dsl811-hcd.c146 void __iomem *data_reg; in setup_packet() local
150 data_reg = sl811->data_reg; in setup_packet()
155 writeb(len, data_reg); in setup_packet()
156 writeb(SL_SETUP /* | ep->epnum */, data_reg); in setup_packet()
157 writeb(usb_pipedevice(urb->pipe), data_reg); in setup_packet()
176 void __iomem *data_reg; in status_packet() local
179 data_reg = sl811->data_reg; in status_packet()
183 writeb(0, data_reg); in status_packet()
184 writeb((do_out ? SL_OUT : SL_IN) /* | ep->epnum */, data_reg); in status_packet()
185 writeb(usb_pipedevice(urb->pipe), data_reg); in status_packet()
[all …]
Disp116x.h258 void __iomem *data_reg; member
376 writew(val, isp116x->data_reg); in isp116x_write_data16()
382 __raw_writew(val, isp116x->data_reg); in isp116x_raw_write_data16()
390 val = readw(isp116x->data_reg); in isp116x_read_data16()
399 val = __raw_readw(isp116x->data_reg); in isp116x_raw_read_data16()
406 writew(val & 0xffff, isp116x->data_reg); in isp116x_write_data32()
408 writew(val >> 16, isp116x->data_reg); in isp116x_write_data32()
416 val = (u32) readw(isp116x->data_reg); in isp116x_read_data32()
418 val |= ((u32) readw(isp116x->data_reg)) << 16; in isp116x_read_data32()
Disp1362.h484 void __iomem *data_reg; member
661 writew(val, isp1362_hcd->data_reg); in isp1362_write_data16()
670 val = readw(isp1362_hcd->data_reg); in isp1362_read_data16()
680 writel(val, isp1362_hcd->data_reg); in isp1362_write_data32()
683 writew((u16)val, isp1362_hcd->data_reg); in isp1362_write_data32()
685 writew(val >> 16, isp1362_hcd->data_reg); in isp1362_write_data32()
696 val = readl(isp1362_hcd->data_reg); in isp1362_read_data32()
699 val = (u32)readw(isp1362_hcd->data_reg); in isp1362_read_data32()
701 val |= (u32)readw(isp1362_hcd->data_reg) << 16; in isp1362_read_data32()
722 readsl(isp1362_hcd->data_reg, dp, len >> 2); in isp1362_read_fifo()
[all …]
Disp116x-hcd.c1549 iounmap(isp116x->data_reg); in isp116x_remove()
1566 void __iomem *data_reg; in isp116x_probe() local
1610 data_reg = ioremap(data->start, resource_size(data)); in isp116x_probe()
1611 if (data_reg == NULL) { in isp116x_probe()
1625 isp116x->data_reg = data_reg; in isp116x_probe()
1661 iounmap(data_reg); in isp116x_probe()
/linux-3.4.99/drivers/gpio/
Dgpio-rdc321x.c35 u32 data_reg[2]; member
55 gpch->data_reg[gpio < 32 ? 0 : 1]); in rdc_gpio_get_value()
71 gpch->data_reg[reg] |= 1 << (gpio & 0x1f); in rdc_gpio_set_value_impl()
73 gpch->data_reg[reg] &= ~(1 << (gpio & 0x1f)); in rdc_gpio_set_value_impl()
77 gpch->data_reg[reg]); in rdc_gpio_set_value_impl()
187 &rdc321x_gpio_dev->data_reg[0]); in rdc321x_gpio_probe()
193 &rdc321x_gpio_dev->data_reg[1]); in rdc321x_gpio_probe()
/linux-3.4.99/arch/sparc/include/asm/
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-3.4.99/arch/mips/pmc-sierra/msp71xx/
Dgpio.c41 void __iomem *data_reg; member
57 return __raw_readl(msp_chip->data_reg) & (1 << offset); in msp71xx_gpio_get()
77 data = __raw_readl(msp_chip->data_reg); in msp71xx_gpio_set()
82 __raw_writel(data, msp_chip->data_reg); in msp71xx_gpio_set()
185 .data_reg = (void __iomem *)(MSP71XX_GPIO_BASE + dr), \
/linux-3.4.99/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-3.4.99/arch/powerpc/boot/
Dugecon.c46 u32 *data_reg = ug_io_base + EXI_DATA; in ug_io_transaction() local
56 out_be32(data_reg, data); in ug_io_transaction()
66 data = in_be32(data_reg); in ug_io_transaction()
/linux-3.4.99/drivers/parisc/
Dlba_pci.c350 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in lba_rd_cfg() local
354 case 1: data = (u32) READ_REG8(data_reg + (reg & 3)); break; in lba_rd_cfg()
355 case 2: data = (u32) READ_REG16(data_reg+ (reg & 2)); break; in lba_rd_cfg()
356 case 4: data = READ_REG32(data_reg); break; in lba_rd_cfg()
369 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in elroy_cfg_read() local
396 case 1: *data = READ_REG8 (data_reg + (pos & 3)); break; in elroy_cfg_read()
397 case 2: *data = READ_REG16(data_reg + (pos & 2)); break; in elroy_cfg_read()
398 case 4: *data = READ_REG32(data_reg); break; in elroy_cfg_read()
412 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in lba_wr_cfg() local
417 case 1: WRITE_REG8 (data, data_reg + (reg & 3)); break; in lba_wr_cfg()
[all …]
Dled.c551 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument
555 if (initialized || !data_reg) in register_led_driver()
563 LCD_DATA_REG = data_reg; in register_led_driver()
571 LED_DATA_REG = data_reg; in register_led_driver()
578 LED_DATA_REG = data_reg; in register_led_driver()
/linux-3.4.99/arch/powerpc/platforms/embedded6xx/
Dusbgecko_udbg.c53 u32 __iomem *data_reg = ug_io_base + EXI_DATA; in ug_io_transaction() local
63 out_be32(data_reg, data); in ug_io_transaction()
74 data = in_be32(data_reg); in ug_io_transaction()
/linux-3.4.99/drivers/sh/
Dpfc.c238 struct pinmux_data_reg *data_reg; in setup_data_reg() local
246 data_reg = gpioc->data_regs + k; in setup_data_reg()
248 if (!data_reg->reg_width) in setup_data_reg()
251 data_reg->mapped_reg = pfc_phys_to_virt(gpioc, data_reg->reg); in setup_data_reg()
253 for (n = 0; n < data_reg->reg_width; n++) { in setup_data_reg()
254 if (data_reg->enum_ids[n] == gpiop->enum_id) { in setup_data_reg()
/linux-3.4.99/drivers/tty/serial/
Dpmac_zilog.h55 volatile u8 __iomem *data_reg; member
100 return readb(port->data_reg); in read_zsdata()
105 writeb(data, port->data_reg); in write_zsdata()
/linux-3.4.99/drivers/gpu/drm/gma500/
Dmdfld_dsi_pkg_sender.c259 u32 data_reg; in send_long_pkg() local
268 data_reg = sender->mipi_hs_gen_data_reg; in send_long_pkg()
273 data_reg = sender->mipi_lp_gen_data_reg; in send_long_pkg()
285 REG_WRITE(data_reg, b4 << 24 | b3 << 16 | b2 << 8 | b1); in send_long_pkg()
307 REG_WRITE(data_reg, b3 << 16 | b2 << 8 | b1); in send_long_pkg()
/linux-3.4.99/arch/mips/lasat/
Dds1603.h12 volatile u32 *data_reg; member
Dds1603.c37 unsigned long tmp = *ds1603->data_reg; in rtc_datareg_read()
/linux-3.4.99/arch/parisc/include/asm/
Dled.h27 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg);
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c113 unsigned int data_reg, u32 *vals, in t4_read_indirect() argument
118 *vals++ = t4_read_reg(adap, data_reg); in t4_read_indirect()
147 static void dump_mbox(struct adapter *adap, int mbox, u32 data_reg) in dump_mbox() argument
151 (unsigned long long)t4_read_reg64(adap, data_reg), in dump_mbox()
152 (unsigned long long)t4_read_reg64(adap, data_reg + 8), in dump_mbox()
153 (unsigned long long)t4_read_reg64(adap, data_reg + 16), in dump_mbox()
154 (unsigned long long)t4_read_reg64(adap, data_reg + 24), in dump_mbox()
155 (unsigned long long)t4_read_reg64(adap, data_reg + 32), in dump_mbox()
156 (unsigned long long)t4_read_reg64(adap, data_reg + 40), in dump_mbox()
157 (unsigned long long)t4_read_reg64(adap, data_reg + 48), in dump_mbox()
[all …]
/linux-3.4.99/sound/soc/omap/
Dmcbsp.c193 int data_reg; in omap_mcbsp_dma_reg_params() local
197 data_reg = OMAP_MCBSP_REG_DRR1; in omap_mcbsp_dma_reg_params()
199 data_reg = OMAP_MCBSP_REG_DXR1; in omap_mcbsp_dma_reg_params()
202 data_reg = OMAP_MCBSP_REG_DRR; in omap_mcbsp_dma_reg_params()
204 data_reg = OMAP_MCBSP_REG_DXR; in omap_mcbsp_dma_reg_params()
207 return mcbsp->phys_dma_base + data_reg * mcbsp->pdata->reg_step; in omap_mcbsp_dma_reg_params()
/linux-3.4.99/drivers/staging/comedi/drivers/
Dme4000.h351 unsigned long data_reg; member
/linux-3.4.99/drivers/net/can/
Dpch_can.c654 u16 data_reg; in pch_can_rx_normal() local
703 data_reg = ioread16(&priv->regs->ifregs[0].data[i / 2]); in pch_can_rx_normal()
704 cf->data[i] = data_reg; in pch_can_rx_normal()
705 cf->data[i + 1] = data_reg >> 8; in pch_can_rx_normal()

12