Home
last modified time | relevance | path

Searched refs:writew (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/linux/sound/isa/msnd/
H A Dmsnd.c48 writew(0, base + JQS_wHead); in snd_msnd_init_queue()
49 writew(0, base + JQS_wTail); in snd_msnd_init_queue()
266 writew(PCTODSP_BASED(offset), pDAQ); in snd_msnd_DARQ()
269 writew(wTmp, chip->DARQ + JQS_wTail); in snd_msnd_DARQ()
333 writew(DAPQ_tail, chip->DAPQ + JQS_wTail); in snd_msnd_DAPQ()
363 writew(0, pDAQ + DAQDS_wSize); in snd_msnd_play_reset_queue()
364 writew(1, pDAQ + DAQDS_wFormat); in snd_msnd_play_reset_queue()
369 writew(n, pDAQ + DAQDS_wFlags); in snd_msnd_play_reset_queue()
407 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue()
408 writew(1, pDAQ + DAQDS_wFormat); in snd_msnd_capture_reset_queue()
[all …]
/linux/arch/arm/mach-spear/
H A Dtime.c75 writew(CTRL_PRESCALER256, gpt_base + CR(CLKSRC)); in spear_clocksource_init()
81 writew(0xFFFF, gpt_base + LOAD(CLKSRC)); in spear_clocksource_init()
86 writew(val, gpt_base + CR(CLKSRC)); in spear_clocksource_init()
99 writew(val, gpt_base + CR(CLKEVT)); in spear_timer_shutdown()
118 writew(val, gpt_base + CR(CLKEVT)); in spear_set_oneshot()
133 writew(period, gpt_base + LOAD(CLKEVT)); in spear_set_periodic()
138 writew(val, gpt_base + CR(CLKEVT)); in spear_set_periodic()
162 writew(cycles, gpt_base + LOAD(CLKEVT)); in clockevent_next_event()
165 writew(val, gpt_base + CR(CLKEVT)); in clockevent_next_event()
174 writew(INT_STATUS, gpt_base + IR(CLKEVT)); in spear_timer_interrupt()
[all …]
/linux/arch/m68k/coldfire/
H A Dnettel.c109 writew(1, NETTEL_SMC0_ADDR + SMC91xx_BANKSELECT); in nettel_smc91x_setmac()
110 writew(macp[0], ioaddr + SMC91xx_BASEMAC); in nettel_smc91x_setmac()
111 writew(macp[1], ioaddr + SMC91xx_BASEMAC + 2); in nettel_smc91x_setmac()
112 writew(macp[2], ioaddr + SMC91xx_BASEMAC + 4); in nettel_smc91x_setmac()
125 writew(0x00ec, MCFSIM_PADDR); in nettel_smc91x_init()
127 writew(1, NETTEL_SMC0_ADDR + SMC91xx_BANKSELECT); in nettel_smc91x_init()
128 writew(0x0067, NETTEL_SMC0_ADDR + SMC91xx_BASEADDR); in nettel_smc91x_init()
132 writew(0x1180, MCFSIM_CSCR3); in nettel_smc91x_init()
H A Dm527x.c61 writew(par, MCFGPIO_PAR_TIMER); in m527x_qspi_init()
64 writew(0x003e, MCFGPIO_PAR_QSPI); in m527x_qspi_init()
89 writew(par, MCFGPIO_PAR_FECI2C); in m527x_i2c_init()
105 writew(sepmask, MCFGPIO_PAR_UART); in m527x_uarts_init()
122 writew(par | 0xf00, MCFGPIO_PAR_FECI2C); in m527x_fec_init()
128 writew(par | 0xa0, MCFGPIO_PAR_FECI2C); in m527x_fec_init()
/linux/drivers/comedi/drivers/
H A Ddt3000.c231 writew(cmd, dev->mmio + DPR_CMD_MBX); in dt3k_send_cmd()
250 writew(subsys, dev->mmio + DPR_SUBSYS); in dt3k_readsingle()
252 writew(chan, dev->mmio + DPR_PARAMS(0)); in dt3k_readsingle()
253 writew(gain, dev->mmio + DPR_PARAMS(1)); in dt3k_readsingle()
263 writew(subsys, dev->mmio + DPR_SUBSYS); in dt3k_writesingle()
265 writew(chan, dev->mmio + DPR_PARAMS(0)); in dt3k_writesingle()
266 writew(0, dev->mmio + DPR_PARAMS(1)); in dt3k_writesingle()
267 writew(data, dev->mmio + DPR_PARAMS(2)); in dt3k_writesingle()
307 writew(0, dev->mmio + DPR_INT_MASK); in dt3k_ai_cancel()
544 writew(bits, dev->mmio + DPR_PARAMS(0)); in dt3k_dio_config()
[all …]
H A Dicp_multi.c120 writew(adc_csr, dev->mmio + ICP_MULTI_ADC_CSR); in icp_multi_ai_insn_read()
124 writew(adc_csr | ICP_MULTI_ADC_CSR_ST, in icp_multi_ai_insn_read()
166 writew(dac_csr, dev->mmio + ICP_MULTI_DAC_CSR); in icp_multi_ao_insn_write()
177 writew(val, dev->mmio + ICP_MULTI_AO); in icp_multi_ao_insn_write()
180 writew(dac_csr | ICP_MULTI_DAC_CSR_ST, in icp_multi_ao_insn_write()
205 writew(s->state, dev->mmio + ICP_MULTI_DO); in icp_multi_do_insn_bits()
217 writew(0, dev->mmio + ICP_MULTI_INT_EN); in icp_multi_reset()
225 writew(dac_csr, dev->mmio + ICP_MULTI_DAC_CSR); in icp_multi_reset()
228 writew(0, dev->mmio + ICP_MULTI_AO); in icp_multi_reset()
231 writew(dac_csr | ICP_MULTI_DAC_CSR_ST, in icp_multi_reset()
[all …]
H A Dme_daq.c176 writew(devpriv->ctrl2, dev->mmio + ME_CTRL2_REG); in me_dio_insn_config()
194 writew((s->state & 0xffff), mmio_porta); in me_dio_insn_bits()
251 writew(devpriv->ctrl2, dev->mmio + ME_CTRL2_REG); in me_ai_insn_read()
257 writew(devpriv->ctrl2, dev->mmio + ME_CTRL2_REG); in me_ai_insn_read()
265 writew(val, dev->mmio + ME_AI_FIFO_REG); in me_ai_insn_read()
269 writew(devpriv->ctrl1, dev->mmio + ME_CTRL1_REG); in me_ai_insn_read()
289 writew(devpriv->ctrl1, dev->mmio + ME_CTRL1_REG); in me_ai_insn_read()
328 writew(val, dev->mmio + ME_AO_DATA_REG(chan)); in me_ao_insn_write()
413 writew(0x00, dev->mmio + ME_CTRL1_REG); in me_reset()
414 writew(0x00, dev->mmio + ME_CTRL2_REG); in me_reset()
[all …]
H A Ddaqboard2000.c262 writew((entry >> 8) & 0x00ff, in db2k_write_acq_scan_list_entry()
325 writew(DB2K_ACQ_CONTROL_RESET_SCAN_LIST_FIFO | in db2k_ai_insn_read()
350 writew(DB2K_ACQ_CONTROL_SEQ_START_SCAN_LIST, in db2k_ai_insn_read()
358 writew(DB2K_ACQ_CONTROL_ADC_PACER_ENABLE, in db2k_ai_insn_read()
373 writew(DB2K_ACQ_CONTROL_ADC_PACER_DISABLE, in db2k_ai_insn_read()
375 writew(DB2K_ACQ_CONTROL_SEQ_STOP_SCAN_LIST, in db2k_ai_insn_read()
405 writew(val, dev->mmio + DB2K_REG_DAC_SETTING(chan)); in db2k_ao_insn_write()
506 writew(data, dev->mmio + DB2K_REG_CPLD_WDATA); in db2k_write_cpld()
609 writew(DB2K_ACQ_CONTROL_SEQ_STOP_SCAN_LIST, in db2k_adc_disarm()
614 writew(DB2K_ACQ_CONTROL_ADC_PACER_DISABLE, in db2k_adc_disarm()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-viai2c-common.c34 writew(0, i2c->base + VIAI2C_REG_CDR); in viai2c_write()
36 writew(pmsg->buf[0] & 0xFF, i2c->base + VIAI2C_REG_CDR); in viai2c_write()
43 writew(val, i2c->base + VIAI2C_REG_CR); in viai2c_write()
50 writew(tcr_val, i2c->base + VIAI2C_REG_TCR); in viai2c_write()
55 writew(val, i2c->base + VIAI2C_REG_CR); in viai2c_write()
77 writew(val, i2c->base + VIAI2C_REG_CR); in viai2c_read()
83 writew(tcr_val, i2c->base + VIAI2C_REG_TCR); in viai2c_read()
89 writew(val, i2c->base + VIAI2C_REG_CR); in viai2c_read()
148 writew(val, base + VIAI2C_REG_CR); in viai2c_irq_xfer()
157 writew(val, base + VIAI2C_REG_CR); in viai2c_irq_xfer()
[all …]
H A Di2c-viai2c-wmt.c59 writew(0, i2c->base + VIAI2C_REG_CR); in wmt_i2c_reset_hardware()
60 writew(MCR_APB_166M, i2c->base + VIAI2C_REG_MCR); in wmt_i2c_reset_hardware()
61 writew(VIAI2C_ISR_MASK_ALL, i2c->base + VIAI2C_REG_ISR); in wmt_i2c_reset_hardware()
62 writew(VIAI2C_IMR_ENABLE_ALL, i2c->base + VIAI2C_REG_IMR); in wmt_i2c_reset_hardware()
63 writew(VIAI2C_CR_ENABLE, i2c->base + VIAI2C_REG_CR); in wmt_i2c_reset_hardware()
65 writew(VIAI2C_ISR_MASK_ALL, i2c->base + VIAI2C_REG_ISR); in wmt_i2c_reset_hardware()
68 writew(SCL_TIMEOUT(128) | TR_HS, i2c->base + VIAI2C_REG_TR); in wmt_i2c_reset_hardware()
70 writew(SCL_TIMEOUT(128) | TR_STD, i2c->base + VIAI2C_REG_TR); in wmt_i2c_reset_hardware()
82 writew(status, i2c->base + VIAI2C_REG_ISR); in wmt_i2c_isr()
160 writew(0, i2c->base + VIAI2C_REG_IMR); in wmt_i2c_remove()
/linux/drivers/watchdog/
H A Drza_wdt.c79 writew(WTCSR_MAGIC | 0, priv->base + WTCSR); in rza_wdt_start()
83 writew(WRCSR_CLEAR_WOVF, priv->base + WRCSR); in rza_wdt_start()
87 writew(WRCSR_MAGIC | WRCSR_RSTE, priv->base + WRCSR); in rza_wdt_start()
88 writew(WTCNT_MAGIC | priv->count, priv->base + WTCNT); in rza_wdt_start()
89 writew(WTCSR_MAGIC | WTSCR_WT | WTSCR_TME | in rza_wdt_start()
99 writew(WTCSR_MAGIC | 0, priv->base + WTCSR); in rza_wdt_stop()
108 writew(WTCNT_MAGIC | priv->count, priv->base + WTCNT); in rza_wdt_ping()
128 writew(WTCSR_MAGIC | 0, priv->base + WTCSR); in rza_wdt_restart()
132 writew(WRCSR_CLEAR_WOVF, priv->base + WRCSR); in rza_wdt_restart()
138 writew(WRCSR_MAGIC | WRCSR_RSTE, priv->base + WRCSR); in rza_wdt_restart()
[all …]
H A Dmsc313e_wdt.c46 writew(timeout & 0xffff, priv->base + REG_WDT_MAX_PRD_L); in msc313e_wdt_start()
47 writew((timeout >> 16) & 0xffff, priv->base + REG_WDT_MAX_PRD_H); in msc313e_wdt_start()
48 writew(1, priv->base + REG_WDT_CLR); in msc313e_wdt_start()
56 writew(1, priv->base + REG_WDT_CLR); in msc313e_wdt_ping()
64 writew(0, priv->base + REG_WDT_MAX_PRD_L); in msc313e_wdt_stop()
65 writew(0, priv->base + REG_WDT_MAX_PRD_H); in msc313e_wdt_stop()
66 writew(0, priv->base + REG_WDT_CLR); in msc313e_wdt_stop()
/linux/drivers/scsi/arm/
H A Dcumana_1.c64 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
65 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
66 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
67 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
68 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
69 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
70 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
71 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
/linux/drivers/pwm/
H A Dpwm-ep93xx.c59 writew(0x0, ep93xx_pwm->base + EP93XX_PWMx_ENABLE); in ep93xx_pwm_apply()
73 writew(0x1, ep93xx_pwm->base + EP93XX_PWMx_INVERT); in ep93xx_pwm_apply()
75 writew(0x0, ep93xx_pwm->base + EP93XX_PWMx_INVERT); in ep93xx_pwm_apply()
82 writew(0x0, ep93xx_pwm->base + EP93XX_PWMx_ENABLE); in ep93xx_pwm_apply()
114 writew(period_cycles, base + EP93XX_PWMx_TERM_COUNT); in ep93xx_pwm_apply()
115 writew(duty_cycles, base + EP93XX_PWMx_DUTY_CYCLE); in ep93xx_pwm_apply()
117 writew(duty_cycles, base + EP93XX_PWMx_DUTY_CYCLE); in ep93xx_pwm_apply()
118 writew(period_cycles, base + EP93XX_PWMx_TERM_COUNT); in ep93xx_pwm_apply()
136 writew(0x1, ep93xx_pwm->base + EP93XX_PWMx_ENABLE); in ep93xx_pwm_apply()
/linux/drivers/rtc/
H A Drtc-ssd202d.c104 writew(val | field, priv->base + reg); in ssd202d_rtc_read_reg()
106 writew(val & ~field, priv->base + reg); in ssd202d_rtc_read_reg()
121 writew(val | field, priv->base + reg); in ssd202d_rtc_write_reg()
122 writew(base, priv->base + REG_WRDATA_L); in ssd202d_rtc_write_reg()
123 writew(base >> 16, priv->base + REG_WRDATA_H); in ssd202d_rtc_write_reg()
125 writew(val & ~field, priv->base + reg); in ssd202d_rtc_write_reg()
134 writew(val | CNT_RD_BIT, priv->base + REG_CTRL1); in ssd202d_rtc_read_counter()
136 writew(val & ~CNT_RD_BIT, priv->base + REG_CTRL1); in ssd202d_rtc_read_counter()
139 writew(val | CNT_RD_TRIG_BIT, priv->base + REG_CNT_TRIG); in ssd202d_rtc_read_counter()
181 writew(val | CNT_RST_BIT, priv->base + REG_CTRL); in ssd202d_rtc_reset_counter()
[all …]
H A Drtc-msc313.c76 writew(reg, priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_alarm_irq_enable()
86 writew((seconds & 0xFFFF), priv->rtc_base + REG_RTC_MATCH_VAL_L); in msc313_rtc_set_alarm()
87 writew((seconds >> 16) & 0xFFFF, priv->rtc_base + REG_RTC_MATCH_VAL_H); in msc313_rtc_set_alarm()
105 writew(reg, priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_set_enabled()
118 writew(reg | READ_EN_BIT, priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_read_time()
139 writew(seconds & 0xFFFF, priv->rtc_base + REG_RTC_LOAD_VAL_L); in msc313_rtc_set_time()
140 writew((seconds >> 16) & 0xFFFF, priv->rtc_base + REG_RTC_LOAD_VAL_H); in msc313_rtc_set_time()
144 writew(reg | LOAD_EN_BIT, priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_set_time()
173 writew(reg, priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_interrupt()
222 writew(rate & 0xFFFF, priv->rtc_base + REG_RTC_FREQ_CW_L); in msc313_rtc_probe()
[all …]
/linux/drivers/input/keyboard/
H A Dimx_keypad.c96 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
100 writew(reg_val, keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
106 writew(reg_val, keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
115 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
137 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
299 writew(reg_val, keypad->mmio_base + KPSR); in imx_keypad_irq_handler()
324 writew(reg_val, keypad->mmio_base + KPCR); in imx_keypad_config()
329 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_config()
332 writew(0xff00, keypad->mmio_base + KDDR); in imx_keypad_config()
341 writew(reg_val, keypad->mmio_base + KPSR); in imx_keypad_config()
[all …]
/linux/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_i2c.c73 writew(reg & ~TWI_IRQEN, &i2c->regs->twi_ctrl0_stat); in netup_i2c_interrupt()
123 writew(TWI_SOFT_RESET, &i2c->regs->twi_addr_ctrl1); in netup_i2c_reset()
124 writew(TWI_CLKDIV, &i2c->regs->clkdiv); in netup_i2c_reset()
125 writew(FIFO_RESET, &i2c->regs->tx_fifo.stat_ctrl); in netup_i2c_reset()
126 writew(FIFO_RESET, &i2c->regs->rx_fifo.stat_ctrl); in netup_i2c_reset()
127 writew(0x800, &i2c->regs->tx_fifo.stat_ctrl); in netup_i2c_reset()
128 writew(0x800, &i2c->regs->rx_fifo.stat_ctrl); in netup_i2c_reset()
182 writew(TWI_IRQEN | reg, &i2c->regs->twi_ctrl0_stat); in netup_i2c_start_xfer()
183 writew(i2c->msg->len, &i2c->regs->length); in netup_i2c_start_xfer()
184 writew(TWI_TRANSFER | (i2c->msg->addr << 1) | rdflag, in netup_i2c_start_xfer()
[all …]
H A Dnetup_unidvb_spi.c85 writew(reg | NETUP_SPI_CTRL_IRQ, &spi->regs->control_stat); in netup_spi_interrupt()
87 writew(reg & ~NETUP_SPI_CTRL_IMASK, &spi->regs->control_stat); in netup_spi_interrupt()
105 writew(NETUP_SPI_CTRL_LAST_CS, &spi->regs->control_stat); in netup_spi_transfer()
106 writew(0, &spi->regs->control_stat); in netup_spi_transfer()
129 writew((frag_size & 0x3ff) | in netup_spi_transfer()
195 writew(2, &nspi->regs->clock_divider); in netup_spi_init()
196 writew(NETUP_UNIDVB_IRQ_SPI, ndev->bmmio0 + REG_IMASK_SET); in netup_spi_init()
233 writew(reg | NETUP_SPI_CTRL_IRQ, &spi->regs->control_stat); in netup_spi_release()
235 writew(reg & ~NETUP_SPI_CTRL_IMASK, &spi->regs->control_stat); in netup_spi_release()
/linux/drivers/tty/
H A Dmoxa.c549 writew(arg, ofsAddr + FuncArg); in moxafunc()
550 writew(cmd, ofsAddr + FuncCode); in moxafunc()
560 writew(arg, ofsAddr + FuncArg); in moxafuncret()
561 writew(cmd, ofsAddr + FuncCode); in moxafuncret()
869 writew(0, baseAddr + key); in moxa_real_load_code()
878 writew(0, baseAddr + loadlen); in moxa_real_load_code()
880 writew(0, baseAddr + key); in moxa_real_load_code()
891 writew(0, baseAddr + key); in moxa_real_load_code()
912 writew(0, baseAddr + Magic_no); in moxa_real_load_code()
1701 writew(0, ip); /* ACK port */ in moxa_poll_port()
[all …]
H A Dnozomi.c1001 writew(mask1, dc->reg_fcr); in handle_data_dl()
1007 writew(mask2, dc->reg_fcr); in handle_data_dl()
1013 writew(mask2, dc->reg_fcr); in handle_data_dl()
1019 writew(mask1, dc->reg_fcr); in handle_data_dl()
1044 writew(MDM_UL1, dc->reg_fcr); in handle_data_ul()
1065 writew(MDM_UL2, dc->reg_fcr); in handle_data_ul()
1124 writew(RESET, dc->reg_fcr); in interrupt_handler()
1134 writew(CTRL_UL, dc->reg_fcr); in interrupt_handler()
1141 writew(CTRL_DL, dc->reg_fcr); in interrupt_handler()
1169 writew(DIAG_UL, dc->reg_fcr); in interrupt_handler()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dheadc57d.c151 writew(r + ri * i, mem + 0); in headc57d_olut_load_8()
152 writew(g + gi * i, mem + 2); in headc57d_olut_load_8()
153 writew(b + bi * i, mem + 4); in headc57d_olut_load_8()
160 writew(readw(mem - 8), mem + 0); in headc57d_olut_load_8()
161 writew(readw(mem - 6), mem + 2); in headc57d_olut_load_8()
162 writew(readw(mem - 4), mem + 4); in headc57d_olut_load_8()
172 writew(drm_color_lut_extract(in-> red, 16), mem + 0); in headc57d_olut_load()
173 writew(drm_color_lut_extract(in->green, 16), mem + 2); in headc57d_olut_load()
180 writew(readw(mem - 8), mem + 0); in headc57d_olut_load()
181 writew(readw(mem - 6), mem + 2); in headc57d_olut_load()
[all …]
/linux/drivers/tty/serial/
H A Dmilbeaut_usio.c104 writew(ch, port->membase + MLB_USIO_REG_DR); in mlb_usio_tx_chars()
199 writew(readw(port->membase + MLB_USIO_REG_FCR) | in mlb_usio_rx_chars()
276 writew(0, port->membase + MLB_USIO_REG_FCR); in mlb_usio_startup()
277 writew(MLB_USIO_FCR_FCL1 | MLB_USIO_FCR_FCL2, in mlb_usio_startup()
281 writew(0, port->membase + MLB_USIO_REG_FBYTE); in mlb_usio_startup()
282 writew(BIT(12), port->membase + MLB_USIO_REG_FBYTE); in mlb_usio_startup()
359 writew(0, port->membase + MLB_USIO_REG_FCR); in mlb_usio_set_termios()
362 writew(quot, port->membase + MLB_USIO_REG_BGR); in mlb_usio_set_termios()
363 writew(0, port->membase + MLB_USIO_REG_FCR); in mlb_usio_set_termios()
367 writew(0, port->membase + MLB_USIO_REG_FBYTE); in mlb_usio_set_termios()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dmxc_nand.c325 writew(tmp, NFC_V1_V2_CONFIG1); in irq_control_v1_v2()
513 writew(cmd, NFC_V1_V2_FLASH_CMD); in send_cmd_v1_v2()
514 writew(NFC_CMD, NFC_V1_V2_CONFIG2); in send_cmd_v1_v2()
583 writew(ops, NFC_V1_V2_CONFIG2); in send_page_v2()
605 writew(ops, NFC_V1_V2_CONFIG2); in send_page_v1()
628 writew(NFC_ID, NFC_V1_V2_CONFIG2); in send_read_id_v1_v2()
638 writew(NFC_STATUS, NFC_V3_LAUNCH); in get_dev_status_v3()
1016 writew(0x2, NFC_V1_V2_CONFIG); in preset_v1()
1023 writew(0x4, NFC_V1_V2_WRPROT); in preset_v1()
1133 writew(0x2, NFC_V1_V2_CONFIG); in preset_v2()
[all …]
/linux/drivers/net/ethernet/packetengines/
H A Dhamachi.c803 writew(location, ioaddr + EEAddr); in read_eeprom()
828 writew(0x0001, ioaddr + MII_Cmd); in mdio_read()
895 writew(0x0000, ioaddr + FIFOcfg); in hamachi_open()
899 writew(0x0028, ioaddr + FIFOcfg); in hamachi_open()
903 writew(0x004C, ioaddr + FIFOcfg); in hamachi_open()
907 writew(0x006C, ioaddr + FIFOcfg); in hamachi_open()
913 writew(0x0000, ioaddr + FIFOcfg); in hamachi_open()
930 writew(0x215F, ioaddr + MACCnfg); in hamachi_open()
931 writew(0x000C, ioaddr + FrameGap0); in hamachi_open()
981 writew(0x0001, ioaddr + RxCmd); in hamachi_open()
[all …]

12345678910>>...14