Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.1.9/drivers/i2c/busses/
Di2c-wmt.c143 writew(0, i2c_dev->base + REG_CDR); in wmt_i2c_write()
145 writew(pmsg->buf[0] & 0xFF, i2c_dev->base + REG_CDR); in wmt_i2c_write()
151 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write()
155 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write()
167 writew(tcr_val, i2c_dev->base + REG_TCR); in wmt_i2c_write()
172 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write()
196 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write()
202 writew(CR_ENABLE, i2c_dev->base + REG_CR); in wmt_i2c_write()
204 writew(pmsg->buf[xfer_len] & 0xFF, i2c_dev->base + in wmt_i2c_write()
206 writew(CR_CPU_RDY | CR_ENABLE, i2c_dev->base + REG_CR); in wmt_i2c_write()
[all …]
/linux-6.1.9/sound/isa/msnd/
Dmsnd.c46 writew(PCTODSP_BASED(start), base + JQS_wStart); in snd_msnd_init_queue()
47 writew(PCTODSP_OFFSET(size) - 1, base + JQS_wSize); in snd_msnd_init_queue()
48 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()
318 writew(chip->play_period_bytes, DAQD + DAQDS_wSize); in snd_msnd_DAPQ()
327 writew(PCTODSP_BASED(offset), DAQD + DAQDS_wStart); in snd_msnd_DAPQ()
339 writew(DAPQ_tail, chip->DAPQ + JQS_wTail); in snd_msnd_DAPQ()
365 writew(PCTODSP_OFFSET(0 * DAQDS__size), chip->DAPQ + JQS_wHead); in snd_msnd_play_reset_queue()
[all …]
/linux-6.1.9/arch/arm/mach-spear/
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 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()
160 writew(val & ~CTRL_ENABLE, gpt_base + CR(CLKEVT)); in clockevent_next_event()
162 writew(cycles, gpt_base + LOAD(CLKEVT)); in clockevent_next_event()
165 writew(val, gpt_base + CR(CLKEVT)); in clockevent_next_event()
[all …]
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Daltr_tse_pcs.c69 writew(val, base + TSE_PCS_CONTROL_REG); in tse_pcs_reset()
91 writew(TSE_PCS_IF_USE_SGMII, base + TSE_PCS_IF_MODE_REG); in tse_pcs_init()
93 writew(TSE_PCS_CTRL_AUTONEG_SGMII, base + TSE_PCS_CONTROL_REG); in tse_pcs_init()
95 writew(TSE_PCS_SGMII_LINK_TIMER_0, base + TSE_PCS_LINK_TIMER_0_REG); in tse_pcs_init()
96 writew(TSE_PCS_SGMII_LINK_TIMER_1, base + TSE_PCS_LINK_TIMER_1_REG); in tse_pcs_init()
100 writew(SGMII_ADAPTER_ENABLE, in tse_pcs_init()
117 writew(SGMII_ADAPTER_ENABLE, in pcs_link_timer_callback()
174 writew(SGMII_ADAPTER_ENABLE, in auto_nego_timer_callback()
179 writew(val, tse_pcs_base + TSE_PCS_CONTROL_REG); in auto_nego_timer_callback()
208 writew(val, tse_pcs_base + TSE_PCS_CONTROL_REG); in tse_pcs_fix_mac_speed()
[all …]
/linux-6.1.9/arch/m68k/coldfire/
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()
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-6.1.9/drivers/comedi/drivers/
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()
298 writew(rear, dev->mmio + DPR_AD_BUF_REAR); in dt3k_ai_empty_fifo()
304 writew(DPR_SUBSYS_AI, dev->mmio + DPR_SUBSYS); in dt3k_ai_cancel()
[all …]
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()
218 writew(ICP_MULTI_INT_MASK, dev->mmio + ICP_MULTI_INT_STAT); 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()
[all …]
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()
196 writew(((s->state >> 16) & 0xffff), mmio_portb); in me_dio_insn_bits()
251 writew(devpriv->ctrl2, dev->mmio + ME_CTRL2_REG); in me_ai_insn_read()
253 writew(0x00, dev->mmio + ME_STATUS_REG); /* clear interrupts */ 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()
307 writew(devpriv->ctrl2, dev->mmio + ME_CTRL2_REG); in me_ao_insn_write()
[all …]
Ddaqboard2000.c261 writew(entry & 0x00ff, dev->mmio + DB2K_REG_ACQ_SCAN_LIST_FIFO); in db2k_write_acq_scan_list_entry()
262 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()
336 writew(0, dev->mmio + DB2K_REG_ACQ_PACER_CLOCK_DIV_HIGH); 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()
[all …]
/linux-6.1.9/drivers/watchdog/
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 …]
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()
Dsc520_wdt.c141 writew(0xAAAA, wdtmrctl); in wdt_timer_ping()
142 writew(0x5555, wdtmrctl); in wdt_timer_ping()
162 writew(0xAAAA, wdtmrctl); in wdt_config()
163 writew(0x5555, wdtmrctl); in wdt_config()
165 writew(0x3333, wdtmrctl); in wdt_config()
166 writew(0xCCCC, wdtmrctl); in wdt_config()
168 writew(writeval, wdtmrctl); in wdt_config()
/linux-6.1.9/drivers/scsi/arm/
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-6.1.9/drivers/pwm/
Dpwm-ep93xx.c75 writew(0x0, ep93xx_pwm->base + EP93XX_PWMx_ENABLE); in ep93xx_pwm_apply()
89 writew(0x1, ep93xx_pwm->base + EP93XX_PWMx_INVERT); in ep93xx_pwm_apply()
91 writew(0x0, ep93xx_pwm->base + EP93XX_PWMx_INVERT); in ep93xx_pwm_apply()
98 writew(0x0, ep93xx_pwm->base + EP93XX_PWMx_ENABLE); in ep93xx_pwm_apply()
130 writew(period_cycles, base + EP93XX_PWMx_TERM_COUNT); in ep93xx_pwm_apply()
131 writew(duty_cycles, base + EP93XX_PWMx_DUTY_CYCLE); in ep93xx_pwm_apply()
133 writew(duty_cycles, base + EP93XX_PWMx_DUTY_CYCLE); in ep93xx_pwm_apply()
134 writew(period_cycles, base + EP93XX_PWMx_TERM_COUNT); in ep93xx_pwm_apply()
152 writew(0x1, ep93xx_pwm->base + EP93XX_PWMx_ENABLE); in ep93xx_pwm_apply()
/linux-6.1.9/drivers/rtc/
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-6.1.9/drivers/input/keyboard/
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()
261 writew(reg_val, keypad->mmio_base + KPSR); in imx_keypad_check_for_events()
266 writew(reg_val, keypad->mmio_base + KPSR); in imx_keypad_check_for_events()
279 writew(reg_val, keypad->mmio_base + KPSR); in imx_keypad_check_for_events()
284 writew(reg_val, keypad->mmio_base + KPSR); in imx_keypad_check_for_events()
299 writew(reg_val, keypad->mmio_base + KPSR); in imx_keypad_irq_handler()
[all …]
/linux-6.1.9/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_i2c.c73 writew(reg & ~TWI_IRQEN, &i2c->regs->twi_ctrl0_stat); in netup_i2c_interrupt()
96 writew(tmp & ~FIFO_IRQEN, &i2c->regs->rx_fifo.stat_ctrl); in netup_i2c_interrupt()
104 writew(tmp & ~FIFO_IRQEN, &i2c->regs->tx_fifo.stat_ctrl); 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()
148 writew(readw(&i2c->regs->tx_fifo.stat_ctrl) | FIFO_IRQEN, in netup_i2c_fifo_tx()
[all …]
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-6.1.9/drivers/tty/
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()
812 writew(len - 7168 - 2, baseAddr + C320bapi_len); in moxa_load_320b()
868 writew(len2, baseAddr + loadlen); in moxa_real_load_code()
869 writew(0, baseAddr + key); in moxa_real_load_code()
878 writew(0, baseAddr + loadlen); in moxa_real_load_code()
879 writew(usum, baseAddr + checksum); in moxa_real_load_code()
880 writew(0, baseAddr + key); in moxa_real_load_code()
[all …]
Dnozomi.c449 writew(__cpu_to_le16(*buf16), ptr); in write_mem32()
465 writew(__cpu_to_le16(*buf16), ptr); in write_mem32()
645 writew(dc->last_ier, dc->reg_ier); in nozomi_read_config_table()
674 writew(MDM_UL | DIAG_DL | MDM_DL, dc->reg_fcr); in nozomi_read_config_table()
689 writew(dc->last_ier, dc->reg_ier); in enable_transmit_ul()
703 writew(dc->last_ier, dc->reg_ier); in disable_transmit_ul()
716 writew(dc->last_ier, dc->reg_ier); in enable_transmit_dl()
730 writew(dc->last_ier, dc->reg_ier); in disable_transmit_dl()
1020 writew(mask1, dc->reg_fcr); in handle_data_dl()
1026 writew(mask2, dc->reg_fcr); in handle_data_dl()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/
Dheadc57d.c138 writew(r + ri * i, mem + 0); in headc57d_olut_load_8()
139 writew(g + gi * i, mem + 2); in headc57d_olut_load_8()
140 writew(b + bi * i, mem + 4); in headc57d_olut_load_8()
147 writew(readw(mem - 8), mem + 0); in headc57d_olut_load_8()
148 writew(readw(mem - 6), mem + 2); in headc57d_olut_load_8()
149 writew(readw(mem - 4), mem + 4); in headc57d_olut_load_8()
159 writew(drm_color_lut_extract(in-> red, 16), mem + 0); in headc57d_olut_load()
160 writew(drm_color_lut_extract(in->green, 16), mem + 2); in headc57d_olut_load()
161 writew(drm_color_lut_extract(in-> blue, 16), mem + 4); in headc57d_olut_load()
167 writew(readw(mem - 8), mem + 0); in headc57d_olut_load()
[all …]
/linux-6.1.9/drivers/tty/serial/
Dmilbeaut_usio.c67 writew(readw(port->membase + MLB_USIO_REG_FCR) & ~MLB_USIO_FCR_FTIE, in mlb_usio_stop_tx()
78 writew(readw(port->membase + MLB_USIO_REG_FCR) & ~MLB_USIO_FCR_FTIE, in mlb_usio_tx_chars()
85 writew(port->x_char, port->membase + MLB_USIO_REG_DR); in mlb_usio_tx_chars()
99 writew(xmit->buf[xmit->tail], port->membase + MLB_USIO_REG_DR); in mlb_usio_tx_chars()
108 writew(readw(port->membase + MLB_USIO_REG_FCR) & ~MLB_USIO_FCR_FDRQ, in mlb_usio_tx_chars()
125 writew(fcr | MLB_USIO_FCR_FTIE, port->membase + MLB_USIO_REG_FCR); in mlb_usio_start_tx()
200 writew(readw(port->membase + MLB_USIO_REG_FCR) | in mlb_usio_rx_chars()
277 writew(0, port->membase + MLB_USIO_REG_FCR); in mlb_usio_startup()
278 writew(MLB_USIO_FCR_FCL1 | MLB_USIO_FCR_FCL2, in mlb_usio_startup()
280 writew(MLB_USIO_FCR_FE1 | MLB_USIO_FCR_FE2 | MLB_USIO_FCR_FRIIE, in mlb_usio_startup()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-omap-100k.c88 writew(val, spi100k->base + SPI_SETUP1); in spi100k_enable_clock()
99 writew(val, spi100k->base + SPI_SETUP1); in spi100k_disable_clock()
113 writew(data, spi100k->base + SPI_TX_MSB); in spi100k_write_data()
115 writew(SPI_CTRL_SEN(0) | in spi100k_write_data()
138 writew(SPI_CTRL_SEN(0) | in spi100k_read_data()
159 writew(SPI_SETUP1_INT_READ_ENABLE | in spi100k_open()
164 writew(SPI_SETUP2_ACTIVE_EDGE_FALLING | in spi100k_open()
172 writew(0x05fc, spi100k->base + SPI_CTRL); in omap1_spi100k_force_cs()
174 writew(0x05fd, spi100k->base + SPI_CTRL); in omap1_spi100k_force_cs()
249 writew(0x3e, spi100k->base + SPI_SETUP1); in omap1_spi100k_setup_transfer()
[all …]
/linux-6.1.9/drivers/net/ethernet/packetengines/
Dhamachi.c774 writew(0x0400, ioaddr + ANXchngCtrl); /* Enable legacy links. */ in hamachi_init_one()
775 writew(0x08e0, ioaddr + ANAdvertise); /* Set our advertise word. */ in hamachi_init_one()
776 writew(0x1000, ioaddr + ANCtrl); /* Enable negotiation */ in hamachi_init_one()
803 writew(location, ioaddr + EEAddr); in read_eeprom()
827 writew((phy_id<<8) + location, ioaddr + MII_Addr); in mdio_read()
828 writew(0x0001, ioaddr + MII_Cmd); in mdio_read()
845 writew((phy_id<<8) + location, ioaddr + MII_Addr); in mdio_write()
846 writew(value, ioaddr + MII_Wr_Data); in mdio_write()
895 writew(0x0000, ioaddr + FIFOcfg); in hamachi_open()
899 writew(0x0028, ioaddr + FIFOcfg); in hamachi_open()
[all …]

12345678910>>...13