Home
last modified time | relevance | path

Searched refs:key_data (Results 1 – 16 of 16) sorted by relevance

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/lradc/
Dsunxi-lradc.c109 static inline void sunxi_keyboard_save_regs(struct sunxi_key_data *key_data) in sunxi_keyboard_save_regs() argument
114 key_data->regs_backup[i] = readl(key_data->reg_base + sunxi_keyboard_regs_offset[i]); in sunxi_keyboard_save_regs()
117 static inline void sunxi_keyboard_restore_regs(struct sunxi_key_data *key_data) in sunxi_keyboard_restore_regs() argument
122 writel(key_data->regs_backup[i], key_data->reg_base + sunxi_keyboard_regs_offset[i]); in sunxi_keyboard_restore_regs()
129 struct sunxi_key_data *key_data = platform_get_drvdata(pdev); in sunxi_keyboard_suspend() local
136 if (key_data->wakeup) in sunxi_keyboard_suspend()
137 enable_irq_wake(key_data->irq_num); in sunxi_keyboard_suspend()
139 disable_irq_nosync(key_data->irq_num); in sunxi_keyboard_suspend()
141 sunxi_keyboard_save_regs(key_data); in sunxi_keyboard_suspend()
143 clk_disable_unprepare(key_data->mclk); in sunxi_keyboard_suspend()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/smc/
Dsunxi-sysinfo.c173 u32 *key_data = NULL; in key_info_show() local
176 key_data = vmalloc(256); in key_info_show()
177 if (key_data == NULL) in key_info_show()
180 memset(key_data, 0, 256*4); in key_info_show()
181 sunxi_efuse_readn(key_name, key_data, 256); in key_info_show()
183 if ((i > 0) && (key_data[i] == 0)) in key_info_show()
188 size += sprintf(buf + size, "%08x ", key_data[i]); in key_info_show()
192 vfree(key_data); in key_info_show()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/efuse/
Defuse.c251 hi_u32 hi_efuse_usr_read(hi_u16 start_bit, hi_u16 size, hi_u8 *key_data) in hi_efuse_usr_read() argument
255 …if ((start_bit >= EFUSE_PGM_ADDR_SIZE) || ((start_bit & 0x7) != 0) || (key_data == HI_NULL) || (si… in hi_efuse_usr_read()
268 return efuse_read_bits(start_bit, real_size, key_data); in hi_efuse_usr_read()
271 hi_u32 hi_efuse_usr_write(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data) in hi_efuse_usr_write() argument
277 if (size > (EFUSE_MAX_INDEX_SIZE * SIZE_8_BITS) || key_data == HI_NULL || size == 0) { in hi_efuse_usr_write()
283 ret = efuse_write_bits(start_bit, size, key_data, (hi_u8 *)&usr_err_stat[0]); in hi_efuse_usr_write()
Defuse_drv.h69 hi_u32 efuse_read_bits(hi_u16 start_bit, hi_u16 size, hi_u8 *key_data);
70 hi_u32 efuse_write_bits(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data, hi_u8 *err_state);
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/efuse/
Defuse_drv.c151 hi_u32 efuse_read_bits(hi_u16 start_bit, hi_u16 size, hi_u8 *key_data) in efuse_read_bits() argument
195 key_data[i - free_area_addr_start] = (hi_u8)val; in efuse_read_bits()
214 hi_u32 efuse_write_bits(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data, hi_u8 *err_state) in efuse_write_bits() argument
228 if (key_data[a] & (hi_u8)(1 << b)) { in efuse_write_bits()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/
Defuse_drv.h66 hi_u32 efuse_read_bits(hi_u16 start_bit, hi_u16 size, hi_u8 *key_data);
67 hi_u32 efuse_write_bits(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data, hi_u8 *err_state);
Defuse.h31 hi_u32 efuse_bits_write(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data);
Dhi_boot_rom.h918 hi_u32 hi_efuse_usr_read(hi_u16 start_bit, hi_u16 size, hi_u8 *key_data);
938 hi_u32 hi_efuse_usr_write(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data);
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_efuse.h261 hi_u32 hi_efuse_usr_read(hi_u16 start_bit, hi_u16 size, hi_u8 *key_data);
287 hi_u32 hi_efuse_usr_write(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data);
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/drivers/efuse/
Defuse.c181 hi_u32 efuse_bits_write(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data) in efuse_bits_write() argument
187 if (size > (EFUSE_MAX_INDEX_SIZE * SIZE_8_BITS) || key_data == HI_NULL || size == 0) { in efuse_bits_write()
193 ret = efuse_write_bits(start_bit, size, key_data, (hi_u8 *)&usr_err_stat[0]); in efuse_bits_write()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/
Dhi_flashboot.h455 hi_u32 hi_efuse_usr_read(hi_u16 start_bit, hi_u16 size, hi_u8 *key_data);
481 hi_u32 hi_efuse_usr_write(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data);
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
Dat_demo_hks.c277 …hi_u8 key_data[KEY_DATA_MAX_LEN] = {0}; /* The data on the flash memory cannot be directly used he… in hks_encrypt_conn_para() local
278 …ret = hi_flash_read(key_save_partition_addr + KYY_PARAM_MAX_LEN + LEN_BYTE, key_size, &key_data[0]… in hks_encrypt_conn_para()
283 key_data_blob.data = &key_data[0]; in hks_encrypt_conn_para()
552 hi_u8 key_data[KEY_DATA_MAX_LEN] = {0}; /* 此处不能直接使用flash上数据 */ in hks_encrypt_cert() local
553 …ret = hi_flash_read(key_save_partition_addr + KYY_PARAM_MAX_LEN + LEN_BYTE, key_size, &key_data[0]… in hks_encrypt_cert()
558 key_data_blob.data = &key_data[0]; in hks_encrypt_cert()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/sid/
Dsunxi-sid.c77 uint64_t key_data; member
627 nfcr->key_store.key_data, in sunxi_efuse_ioctl()
639 nfcr->key_store.key_data, in sunxi_efuse_ioctl()
648 temp_key.key_data = in sunxi_efuse_ioctl()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dkey.c500 const u8 *key_data, in ieee80211_key_alloc() argument
557 key_data, key_len, IEEE80211_CCMP_MIC_LEN); in ieee80211_key_alloc()
575 key_data, key_len, IEEE80211_CCMP_256_MIC_LEN); in ieee80211_key_alloc()
598 ieee80211_aes_cmac_key_setup(key_data, key_len); in ieee80211_key_alloc()
617 ieee80211_aes_gmac_key_setup(key_data, key_len); in ieee80211_key_alloc()
635 key->u.gcmp.tfm = ieee80211_aes_gcm_key_setup_encrypt(key_data, in ieee80211_key_alloc()
659 memcpy(key->conf.key, key_data, key_len); in ieee80211_key_alloc()
Dkey.h139 const u8 *key_data,
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/ctp/gslx680new/
DgslX680.c117 struct key_data { struct
133 struct key_data gsl_key_data[MAX_KEY_NUM] = { argument