摘要: https://www.kernel.org/doc/html/latest/sound/soc/dpcm.html 由machine驱动实现的be_hw_params_fixup callback可以重新配置 hw params来设置BE CPU DAI和codec DAI。我们把重新配置的硬件参 阅读全文
posted @ 2022-05-29 16:07 bobfly1984 阅读(141) 评论(0) 推荐(0) 编辑
摘要: snd_soc_dapm_put_volsw →dapm_kcontrol_set_value // 判断设置值和kontrol保存值是否相等 →soc_dapm_test_bits // 判断设置值和dapm kontrol寄存器值是否相等 →soc_dapm_mixer_update_power 阅读全文
posted @ 2022-05-29 16:06 bobfly1984 阅读(47) 评论(0) 推荐(0) 编辑
摘要: be cpu dai snd_soc_dai_driver.snd_soc_dai_ops.startup machine snd_soc_dai_link.snd_soc_ops.startup be cpu dai snd_soc_dai_driver.snd_soc_dai_ops.set_f 阅读全文
posted @ 2022-05-29 16:03 bobfly1984 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 单模块编译 cd poky source build/conf/set_bb_env.sh bitbake -fc clean 模块名 (注意这里指定的模块名字是 其bb文件所在的目录名) bitbake -fv 模块名 生成的bin文件路径:/poky/build/tmp-glibc/work/m 阅读全文
posted @ 2021-03-30 15:46 bobfly1984 阅读(1080) 评论(1) 推荐(0) 编辑
摘要: common api atoi sleep usleep mknod isdigit getpwuid struct passwd getgrgid struct group system sync getopt_long 应用程序命令行参数解析函数 sem_init sem_wait sem_po 阅读全文
posted @ 2021-03-30 15:10 bobfly1984 阅读(171) 评论(0) 推荐(0) 编辑
摘要: common API sprintf snprintf sscanf strcmp strncmp strcpy strlcpy kstrtol strtol __raw_writel __raw_readl memset memcpy memcmp container_of udelay msle 阅读全文
posted @ 2021-03-30 14:47 bobfly1984 阅读(605) 评论(0) 推荐(0) 编辑
摘要: Until now we have had a 1:1 mapping between storage device physical block size and the logical block sized used when addressing the device. With SATA 阅读全文
posted @ 2021-03-12 10:29 bobfly1984 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 大端(Big-Endian)和小端(little-Endian)的起源 关于大端小端名词的由来,有一个有趣的故事,来自于Jonathan Swift的《格利佛游记》:Lilliput和Blefuscu这两个强国在过去的36个月中一直在苦战。战争的原因:大家都知道,吃鸡蛋的时候,原始的方法是打破鸡蛋较 阅读全文
posted @ 2021-03-11 09:24 bobfly1984 阅读(1567) 评论(0) 推荐(0) 编辑
摘要: 驱动init()函数已经打开控件如下 #left line output adb shell amix 'Left DAC Mux' DAC_L1 adb shell amix 'Left Line Mixer DACL1 Switch' 1 #right line output adb shell 阅读全文
posted @ 2021-03-05 09:55 bobfly1984 阅读(723) 评论(0) 推荐(0) 编辑
摘要: input path 数字增益 Register 15: Left-ADC PGA Gain Control Register Register 16: Right-ADC PGA Gain Control Register 输入端模拟增益 Register 17: MIC2L/R to Left- 阅读全文
posted @ 2021-03-05 09:31 bobfly1984 阅读(656) 评论(0) 推荐(0) 编辑