Home
last modified time | relevance | path

Searched refs:tempword (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/staging/ft1000/ft1000-pcmcia/
Dft1000_hw.c279 u16 tempword; in ft1000_enable_interrupts() local
282 tempword = ft1000_read_reg(dev, FT1000_REG_SUP_IMASK); in ft1000_enable_interrupts()
283 pr_debug("current interrupt enable mask = 0x%x\n", tempword); in ft1000_enable_interrupts()
298 u16 tempword; in ft1000_disable_interrupts() local
301 tempword = ft1000_read_reg(dev, FT1000_REG_SUP_IMASK); in ft1000_disable_interrupts()
302 pr_debug("current interrupt enable mask = 0x%x\n", tempword); in ft1000_disable_interrupts()
355 u16 tempword; in ft1000_reset_asic() local
376 tempword = ft1000_read_reg(dev, FT1000_REG_SUP_ISR); in ft1000_reset_asic()
377 pr_debug("interrupt status register = 0x%x\n", tempword); in ft1000_reset_asic()
378 ft1000_write_reg(dev, FT1000_REG_SUP_ISR, tempword); in ft1000_reset_asic()
[all …]
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
Dft1000_hw.c288 u16 tempword; in card_reset_dsp() local
292 status = ft1000_read_register(ft1000dev, &tempword, in card_reset_dsp()
297 status = ft1000_read_register(ft1000dev, &tempword, in card_reset_dsp()
299 tempword |= DSP_RESET_BIT; in card_reset_dsp()
300 status = ft1000_write_register(ft1000dev, tempword, in card_reset_dsp()
304 status = ft1000_read_register(ft1000dev, &tempword, in card_reset_dsp()
306 tempword |= DSP_ENCRYPTED; in card_reset_dsp()
307 tempword &= ~DSP_UNENCRYPTED; in card_reset_dsp()
308 status = ft1000_write_register(ft1000dev, tempword, in card_reset_dsp()
310 status = ft1000_read_register(ft1000dev, &tempword, in card_reset_dsp()
[all …]
Dft1000_download.c204 u16 tempword; in put_handshake() local
210 tempword = (u16)(tempx & 0xffff); in put_handshake()
212 tempword, 0); in put_handshake()
213 tempword = (u16)(tempx >> 16); in put_handshake()
215 tempword, 1); in put_handshake()
279 u16 tempword; in get_request_type() local
289 DWNLD_MAG1_TYPE_LOC, (u8 *)&tempword, 1); in get_request_type()
290 tempx |= (tempword << 16); in get_request_type()
302 u16 tempword; in get_request_type_usb() local
312 tempword = ft1000dev->tempbuf[3]; in get_request_type_usb()
[all …]
Dft1000_debug.c413 u16 tempword; in ft1000_ioctl() local
444 result = get_user(tempword, (__u16 __user *)argp); in ft1000_ioctl()
449 if (tempword == DSPBCMSGID) { in ft1000_ioctl()
595 status = ft1000_read_register(ft1000dev, &tempword, FT1000_REG_DOORBELL); in ft1000_ioctl()
597 if (tempword & FT1000_DB_DPRAM_TX) { in ft1000_ioctl()
600 status = ft1000_read_register(ft1000dev, &tempword, FT1000_REG_DOORBELL); in ft1000_ioctl()
601 if (tempword & FT1000_DB_DPRAM_TX) { in ft1000_ioctl()
604 status = ft1000_read_register(ft1000dev, &tempword, FT1000_REG_DOORBELL); in ft1000_ioctl()
605 if (tempword & FT1000_DB_DPRAM_TX) { in ft1000_ioctl()
606 status = ft1000_read_register(ft1000dev, &tempword, FT1000_REG_DOORBELL); in ft1000_ioctl()
[all …]