Searched refs:u32Val (Results 1 – 10 of 10) sorted by relevance
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/source/ |
D | m2m_ate_mode.c | 194 uint32_t u32Val = 0; in m2m_ate_set_fw_state() local 198 u32Val = nm_read_reg(rNMI_GLB_RESET); in m2m_ate_set_fw_state() 199 u32Val &= ~(1 << 10); in m2m_ate_set_fw_state() 200 s8Ret = nm_write_reg(rNMI_GLB_RESET, u32Val); in m2m_ate_set_fw_state() 207 u32Val = nm_read_reg(rNMI_BOOT_RESET_MUX); in m2m_ate_set_fw_state() 208 u32Val |= (1 << 0); in m2m_ate_set_fw_state() 209 s8Ret = nm_write_reg(rNMI_BOOT_RESET_MUX, u32Val); in m2m_ate_set_fw_state() 225 u32Val = nm_read_reg(rNMI_GLB_RESET); in m2m_ate_set_fw_state() 226 if((u32Val & (1ul << 10)) == (1ul << 10)) in m2m_ate_set_fw_state() 228 u32Val &= ~(1ul << 10); in m2m_ate_set_fw_state() [all …]
|
D | nmi2c.c | 139 sint8 nm_i2c_write_reg(uint32 u32Addr, uint32 u32Val) in nm_i2c_write_reg() argument 148 b[2] = (uint8)(u32Val); in nm_i2c_write_reg() 157 b[6] = (uint8)u32Val; in nm_i2c_write_reg() 158 b[7] = (uint8)(u32Val >> 8); in nm_i2c_write_reg() 159 b[8] = (uint8)(u32Val >> 16); in nm_i2c_write_reg() 160 b[9] = (uint8)(u32Val >> 24); in nm_i2c_write_reg()
|
D | nmbus.c | 178 sint8 nm_write_reg(uint32 u32Addr, uint32 u32Val) in nm_write_reg() argument 181 return nm_uart_write_reg(u32Addr,u32Val); in nm_write_reg() 183 return nm_spi_write_reg(u32Addr,u32Val); in nm_write_reg() 185 return nm_i2c_write_reg(u32Addr,u32Val); in nm_write_reg()
|
D | nmuart.c | 215 sint8 nm_uart_write_reg(uint32 u32Addr, uint32 u32Val) in nm_uart_write_reg() argument 231 b[9] = (uint8)(u32Val & 0x000000ff); in nm_uart_write_reg() 232 b[10] = (uint8)((u32Val & 0x0000ff00)>>8); in nm_uart_write_reg() 233 b[11] = (uint8)((u32Val & 0x00ff0000)>>16); in nm_uart_write_reg() 234 b[12] = (uint8)((u32Val & 0xff000000)>>24); in nm_uart_write_reg()
|
D | nmi2c.h | 76 sint8 nm_i2c_write_reg(uint32 u32Addr, uint32 u32Val);
|
D | nmuart.h | 82 sint8 nm_uart_write_reg(uint32 u32Addr, uint32 u32Val);
|
D | nmspi.h | 100 sint8 nm_spi_write_reg(uint32 u32Addr, uint32 u32Val);
|
D | nmbus.h | 112 sint8 nm_write_reg(uint32 u32Addr, uint32 u32Val);
|
D | nmspi.c | 1287 uint32 u32Val; in nm_spi_read_reg() local 1289 spi_read_reg(u32Addr, &u32Val); in nm_spi_read_reg() 1291 return u32Val; in nm_spi_read_reg() 1330 sint8 nm_spi_write_reg(uint32 u32Addr, uint32 u32Val) in nm_spi_write_reg() argument 1334 s8Ret = spi_write_reg(u32Addr, u32Val); in nm_spi_write_reg()
|
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/spi_flash/source/ |
D | spi_flash.c | 544 uint32 u32Val; in spi_flash_enable() local 547 s8Ret = nm_read_reg_with_ret(0x1410, &u32Val); in spi_flash_enable() 552 u32Val &= ~((0x7777ul) << 12); in spi_flash_enable() 553 u32Val |= ((0x1111ul) << 12); in spi_flash_enable() 554 nm_write_reg(0x1410, u32Val); in spi_flash_enable() 561 u32Val &= ~((0x7777ul) << 12); in spi_flash_enable() 562 u32Val |= ((0x0010ul) << 12); in spi_flash_enable() 563 nm_write_reg(0x1410, u32Val); in spi_flash_enable()
|