Home
last modified time | relevance | path

Searched refs:smc (Results 1 – 2 of 2) sorted by relevance

/include/linux/mfd/
A Dmacsmc.h165 int apple_smc_enter_atomic(struct apple_smc *smc);
222 static inline bool apple_smc_key_exists(struct apple_smc *smc, smc_key key) in apple_smc_key_exists() argument
224 return apple_smc_get_key_info(smc, key, NULL) >= 0; in apple_smc_key_exists()
230 int ret = apple_smc_read(smc, key, p, sizeof(*p)); \
235 return apple_smc_write(smc, key, &p, sizeof(p)); \
239 return apple_smc_write_atomic(smc, key, &p, sizeof(p)); \
241 static inline int apple_smc_rw_##type(struct apple_smc *smc, smc_key key, \
244 int ret = apple_smc_rw(smc, key, &w, sizeof(w), r, sizeof(*r)); \
260 int ret = apple_smc_read_u8(smc, key, &val); in APPLE_SMC_TYPE_OPS()
271 return apple_smc_write_u8(smc, key, state ? 1 : 0); in apple_smc_write_flag()
[all …]
/include/net/
A Dnet_namespace.h193 struct netns_smc smc; member

Completed in 7 milliseconds