Searched refs:nwi (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/fs/ncpfs/
H A Dinode.c143 static void ncp_update_dates(struct inode *inode, struct nw_info_struct *nwi) ncp_update_dates() argument
146 ncp_dbg(1, "(%s) nfs.mode=0%o\n", nwi->entryName, nwi->nfs.mode); ncp_update_dates()
147 if (nwi->nfs.mode) { ncp_update_dates()
149 inode->i_mode = nwi->nfs.mode; ncp_update_dates()
154 inode->i_mtime.tv_sec = ncp_date_dos2unix(nwi->modifyTime, nwi->modifyDate); ncp_update_dates()
155 inode->i_ctime.tv_sec = ncp_date_dos2unix(nwi->creationTime, nwi->creationDate); ncp_update_dates()
156 inode->i_atime.tv_sec = ncp_date_dos2unix(0, nwi->lastAccessDate); ncp_update_dates()
164 struct nw_info_struct *nwi = &nwinfo->i; ncp_update_attrs() local
167 if (nwi->attributes & aDIR) { ncp_update_attrs()
176 size = le32_to_cpu(nwi->dataStreamSize); ncp_update_attrs()
180 && (nwi->attributes & aSHARED)) { ncp_update_attrs()
181 switch (nwi->attributes & (aHIDDEN|aSYSTEM)) { ncp_update_attrs()
208 if (nwi->attributes & aRONLY) inode->i_mode &= ~S_IWUGO; ncp_update_attrs()
/linux-4.4.14/drivers/staging/wilc1000/
H A Dlinux_wlan.c998 void linux_to_wlan(wilc_wlan_inp_t *nwi, struct wilc *nic) linux_to_wlan() argument
1003 nwi->os_context.os_private = (void *)nic; linux_to_wlan()
1006 nwi->io_func.io_type = HIF_SDIO; linux_to_wlan()
1007 nwi->io_func.io_init = linux_sdio_init; linux_to_wlan()
1008 nwi->io_func.io_deinit = linux_sdio_deinit; linux_to_wlan()
1009 nwi->io_func.u.sdio.sdio_cmd52 = linux_sdio_cmd52; linux_to_wlan()
1010 nwi->io_func.u.sdio.sdio_cmd53 = linux_sdio_cmd53; linux_to_wlan()
1011 nwi->io_func.u.sdio.sdio_set_max_speed = linux_sdio_set_max_speed; linux_to_wlan()
1012 nwi->io_func.u.sdio.sdio_set_default_speed = linux_sdio_set_default_speed; linux_to_wlan()
1014 nwi->io_func.io_type = HIF_SPI; linux_to_wlan()
1015 nwi->io_func.io_init = linux_spi_init; linux_to_wlan()
1016 nwi->io_func.io_deinit = linux_spi_deinit; linux_to_wlan()
1017 nwi->io_func.u.spi.spi_tx = linux_spi_write; linux_to_wlan()
1018 nwi->io_func.u.spi.spi_rx = linux_spi_read; linux_to_wlan()
1019 nwi->io_func.u.spi.spi_trx = linux_spi_write_read; linux_to_wlan()
1020 nwi->io_func.u.spi.spi_max_speed = linux_spi_set_max_speed; linux_to_wlan()
1077 wilc_wlan_inp_t nwi; wilc1000_wlan_init() local
1088 linux_to_wlan(&nwi, wl); wilc1000_wlan_init()
1090 ret = wilc_wlan_init(&nwi); wilc1000_wlan_init()

Completed in 136 milliseconds