Home
last modified time | relevance | path

Searched refs:ifr (Results 1 – 3 of 3) sorted by relevance

/u-boot/arch/sandbox/cpu/
A Deth-raw-os.c42 struct ifreq ifr; in sandbox_eth_raw_os_is_local() local
47 memset(&ifr, 0, sizeof(ifr)); in sandbox_eth_raw_os_is_local()
48 strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in sandbox_eth_raw_os_is_local()
49 ret = ioctl(fd, SIOCGIFFLAGS, &ifr); in sandbox_eth_raw_os_is_local()
54 ret = !!(ifr.ifr_flags & IFF_LOOPBACK); in sandbox_eth_raw_os_is_local()
114 struct ifreq ifr; in _raw_packet_start() local
124 strncpy(ifr.ifr_name, priv->host_ifname, IFNAMSIZ); in _raw_packet_start()
125 if (ioctl(priv->sd, SIOCGIFFLAGS, &ifr) < 0) { in _raw_packet_start()
130 ifr.ifr_flags |= IFF_PROMISC; in _raw_packet_start()
131 if (ioctl(priv->sd, SIOCSIFFLAGS, &ifr) < 0) { in _raw_packet_start()
/u-boot/drivers/spi/
A Datmel-quadspi.c292 u32 iar, icr, ifr; in atmel_qspi_set_cfg() local
298 ifr = QSPI_IFR_INSTEN; in atmel_qspi_set_cfg()
303 ifr |= atmel_qspi_modes[mode].config; in atmel_qspi_set_cfg()
330 ifr &= ~QSPI_IFR_INSTEN; in atmel_qspi_set_cfg()
331 ifr |= QSPI_IFR_ADDREN; in atmel_qspi_set_cfg()
335 ifr |= QSPI_IFR_ADDREN; in atmel_qspi_set_cfg()
341 ifr |= QSPI_IFR_ADDREN; in atmel_qspi_set_cfg()
358 ifr |= QSPI_IFR_NBDUM(dummy_cycles); in atmel_qspi_set_cfg()
362 ifr |= QSPI_IFR_DATAEN; in atmel_qspi_set_cfg()
378 ifr |= QSPI_IFR_APBTFRTYP_READ; in atmel_qspi_set_cfg()
[all …]
/u-boot/drivers/serial/
A Datmel_usart.h30 u32 ifr; member

Completed in 7 milliseconds