Home
last modified time | relevance | path

Searched refs:pCfg (Results 1 - 4 of 4) sorted by relevance

/kernel/liteos_m/components/fs/littlefs/
H A Dlfs_adapter.c151 void LfsConfigAdapter(struct PartitionCfg *pCfg, struct lfs_config *lfsCfg) in LfsConfigAdapter() argument
153 lfsCfg->context = (void *)pCfg->partNo; in LfsConfigAdapter()
155 lfsCfg->read_size = pCfg->readSize; in LfsConfigAdapter()
156 lfsCfg->prog_size = pCfg->writeSize; in LfsConfigAdapter()
157 lfsCfg->cache_size = pCfg->cacheSize; in LfsConfigAdapter()
158 lfsCfg->block_cycles = pCfg->blockCycles; in LfsConfigAdapter()
159 lfsCfg->lookahead_size = pCfg->lookaheadSize; in LfsConfigAdapter()
160 lfsCfg->block_size = pCfg->blockSize; in LfsConfigAdapter()
161 lfsCfg->block_count = pCfg->blockCount; in LfsConfigAdapter()
168 g_partitionCfg.readFunc = pCfg in LfsConfigAdapter()
[all...]
/kernel/uniproton/src/fs/littlefs/
H A Dlfs_adapter.c129 static void OsLfsConfigAdapter(struct PartitionCfg *pCfg, struct lfs_config *lfsCfg) in OsLfsConfigAdapter() argument
131 lfsCfg->context = (void *)pCfg->partNo; in OsLfsConfigAdapter()
133 lfsCfg->read_size = pCfg->readSize; in OsLfsConfigAdapter()
134 lfsCfg->prog_size = pCfg->writeSize; in OsLfsConfigAdapter()
135 lfsCfg->cache_size = pCfg->cacheSize; in OsLfsConfigAdapter()
136 lfsCfg->block_cycles = pCfg->blockCycles; in OsLfsConfigAdapter()
137 lfsCfg->lookahead_size = pCfg->lookaheadSize; in OsLfsConfigAdapter()
138 lfsCfg->block_size = pCfg->blockSize; in OsLfsConfigAdapter()
139 lfsCfg->block_count = pCfg->blockCount; in OsLfsConfigAdapter()
146 g_partitionCfg.readFunc = pCfg in OsLfsConfigAdapter()
[all...]
/kernel/linux/linux-5.10/drivers/message/fusion/
H A Dmptbase.c6333 * @pCfg: Pointer to a configuration structure. Struct contains
6344 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg) in mpt_config() argument
6407 pReq->Action = pCfg->action; in mpt_config()
6420 pReq->Header.PageVersion = pCfg->cfghdr.hdr->PageVersion; in mpt_config()
6421 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6422 pReq->Header.PageNumber = pCfg->cfghdr.hdr->PageNumber; in mpt_config()
6423 pReq->Header.PageType = (pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK); in mpt_config()
6425 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == MPI_CONFIG_PAGETYPE_EXTENDED) { in mpt_config()
6426 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr; in mpt_config()
6437 pReq->PageAddress = cpu_to_le32(pCfg in mpt_config()
[all...]
/kernel/linux/linux-6.6/drivers/message/fusion/
H A Dmptbase.c6345 * @pCfg: Pointer to a configuration structure. Struct contains
6355 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg) in mpt_config() argument
6409 pReq->Action = pCfg->action; in mpt_config()
6422 pReq->Header.PageVersion = pCfg->cfghdr.hdr->PageVersion; in mpt_config()
6423 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6424 pReq->Header.PageNumber = pCfg->cfghdr.hdr->PageNumber; in mpt_config()
6425 pReq->Header.PageType = (pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK); in mpt_config()
6427 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == MPI_CONFIG_PAGETYPE_EXTENDED) { in mpt_config()
6428 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr; in mpt_config()
6439 pReq->PageAddress = cpu_to_le32(pCfg in mpt_config()
[all...]

Completed in 15 milliseconds