Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/radeon/
Drv515.c683 int data_reg = 0x657c + crtc->crtc_offset; in atom_rv515_force_tv_scaler() local
693 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()
[all …]
/linux-6.1.9/drivers/usb/host/
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()
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
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()
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 …]
/linux-6.1.9/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.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-6.1.9/drivers/iio/adc/
Dad_sigma_delta.c281 unsigned int data_reg; in ad_sigma_delta_single_conversion() local
307 if (sigma_delta->info->data_reg != 0) in ad_sigma_delta_single_conversion()
308 data_reg = sigma_delta->info->data_reg; in ad_sigma_delta_single_conversion()
310 data_reg = AD_SD_REG_DATA; in ad_sigma_delta_single_conversion()
312 ret = ad_sd_read_reg(sigma_delta, data_reg, in ad_sigma_delta_single_conversion()
443 unsigned int data_reg; in ad_sd_trigger_handler() local
449 if (sigma_delta->info->data_reg != 0) in ad_sd_trigger_handler()
450 data_reg = sigma_delta->info->data_reg; in ad_sd_trigger_handler()
452 data_reg = AD_SD_REG_DATA; in ad_sd_trigger_handler()
465 ad_sd_read_reg_raw(sigma_delta, data_reg, transfer_size, &data[0]); in ad_sd_trigger_handler()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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.c549 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument
553 if (initialized || !data_reg) in register_led_driver()
561 LCD_DATA_REG = data_reg; in register_led_driver()
572 LED_DATA_REG = data_reg; in register_led_driver()
579 LED_DATA_REG = data_reg; in register_led_driver()
/linux-6.1.9/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()
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-6.1.9/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-6.1.9/drivers/mailbox/
Dti-msgmgr.c201 void __iomem *data_reg; in ti_msgmgr_queue_rx_data() local
227 for (data_reg = qinst->queue_buff_start, word_data = qinst->rx_buff, in ti_msgmgr_queue_rx_data()
229 num_words; num_words--, data_reg += sizeof(u32), word_data++) in ti_msgmgr_queue_rx_data()
230 *word_data = readl(data_reg); in ti_msgmgr_queue_rx_data()
398 void __iomem *data_reg; in ti_msgmgr_send_data() local
420 for (data_reg = qinst->queue_buff_start, in ti_msgmgr_send_data()
423 num_words; num_words--, data_reg += sizeof(u32), word_data++) in ti_msgmgr_send_data()
424 writel(*word_data, data_reg); in ti_msgmgr_send_data()
432 writel(data_trail, data_reg); in ti_msgmgr_send_data()
433 data_reg++; in ti_msgmgr_send_data()
[all …]
/linux-6.1.9/arch/powerpc/platforms/embedded6xx/
Dusbgecko_udbg.c49 u32 __iomem *data_reg = ug_io_base + EXI_DATA; in ug_io_transaction() local
59 out_be32(data_reg, data); in ug_io_transaction()
70 data = in_be32(data_reg); in ug_io_transaction()
/linux-6.1.9/drivers/iio/chemical/
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,
457 ret = regmap_bulk_read(data->regmap, data->chip->data_reg, in atlas_trigger_handler()
/linux-6.1.9/drivers/spi/
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()
/linux-6.1.9/drivers/tty/serial/
Dpmac_zilog.h55 volatile u8 __iomem *data_reg; member
91 return readb(port->data_reg); in read_zsdata()
96 writeb(data, port->data_reg); in write_zsdata()
/linux-6.1.9/drivers/net/dsa/hirschmann/
Dhellcreek_hwtstamp.c217 unsigned int status_reg, data_reg; in hellcreek_txtstamp_work() local
228 data_reg = PR_TS_TX_P1_DATA_C; in hellcreek_txtstamp_work()
232 data_reg = PR_TS_TX_P2_DATA_C; in hellcreek_txtstamp_work()
260 ns = hellcreek_ptp_hwtstamp_read(hellcreek, data_reg); in hellcreek_txtstamp_work()
/linux-6.1.9/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-6.1.9/drivers/pinctrl/
Dpinctrl-thunderbay.c529 u32 data_reg; in thb_read_gpio_data() local
535 data_reg = thb_gpio_read_reg(chip, data_offset); in thb_read_gpio_data()
537 return data_reg & BIT(offset % 32); in thb_read_gpio_data()
543 u32 data_reg; in thb_write_gpio_data() local
547 data_reg = thb_gpio_read_reg(chip, data_offset); in thb_write_gpio_data()
550 data_reg |= BIT(offset % 32); in thb_write_gpio_data()
552 data_reg &= ~BIT(offset % 32); in thb_write_gpio_data()
554 return thb_gpio_write_reg(chip, data_offset, data_reg); in thb_write_gpio_data()
/linux-6.1.9/drivers/iio/accel/
Dadxl355_core.c145 u8 data_reg; member
151 .data_reg = ADXL355_XDATA3_REG,
155 .data_reg = ADXL355_YDATA3_REG,
159 .data_reg = ADXL355_ZDATA3_REG,
449 chan->address].data_reg); in adxl355_read_raw()

12