Searched refs:aw_cfg (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/sound/soc/codecs/aw88395/ |
D | aw88395_lib.c | 754 static int aw_get_dde_type_info(struct aw_device *aw_dev, struct aw_container *aw_cfg) in aw_get_dde_type_info() argument 756 struct aw_cfg_hdr *cfg_hdr = (struct aw_cfg_hdr *)aw_cfg->data; in aw_get_dde_type_info() 758 (struct aw_cfg_dde_v1 *)(aw_cfg->data + cfg_hdr->hdr_offset); in aw_get_dde_type_info() 783 static int aw_get_dev_scene_count_v1(struct aw_device *aw_dev, struct aw_container *aw_cfg, in aw_get_dev_scene_count_v1() argument 786 struct aw_cfg_hdr *cfg_hdr = (struct aw_cfg_hdr *)aw_cfg->data; in aw_get_dev_scene_count_v1() 788 (struct aw_cfg_dde_v1 *)(aw_cfg->data + cfg_hdr->hdr_offset); in aw_get_dev_scene_count_v1() 824 struct aw_container *aw_cfg, in aw_get_default_scene_count_v1() argument 827 struct aw_cfg_hdr *cfg_hdr = (struct aw_cfg_hdr *)aw_cfg->data; in aw_get_default_scene_count_v1() 829 (struct aw_cfg_dde_v1 *)(aw_cfg->data + cfg_hdr->hdr_offset); in aw_get_default_scene_count_v1() 863 struct aw_container *aw_cfg, in aw_dev_parse_scene_count_v1() argument [all …]
|
D | aw88395_device.h | 178 int aw88395_dev_init(struct aw_device *aw_dev, struct aw_container *aw_cfg); 190 int aw88395_dev_load_acf_check(struct aw_device *aw_dev, struct aw_container *aw_cfg); 191 int aw88395_dev_cfg_load(struct aw_device *aw_dev, struct aw_container *aw_cfg);
|
D | aw88395.c | 483 aw88395->aw_cfg = devm_kzalloc(aw88395->aw_pa->dev, cont->size + sizeof(int), GFP_KERNEL); in aw88395_request_firmware_file() 484 if (!aw88395->aw_cfg) { in aw88395_request_firmware_file() 488 aw88395->aw_cfg->len = (int)cont->size; in aw88395_request_firmware_file() 489 memcpy(aw88395->aw_cfg->data, cont->data, cont->size); in aw88395_request_firmware_file() 492 ret = aw88395_dev_load_acf_check(aw88395->aw_pa, aw88395->aw_cfg); in aw88395_request_firmware_file() 502 ret = aw88395_dev_init(aw88395->aw_pa, aw88395->aw_cfg); in aw88395_request_firmware_file()
|
D | aw88395.h | 55 struct aw_container *aw_cfg; member
|
D | aw88395_device.c | 1548 int aw88395_dev_init(struct aw_device *aw_dev, struct aw_container *aw_cfg) in aw88395_dev_init() argument 1552 if ((!aw_dev) || (!aw_cfg)) { in aw88395_dev_init() 1556 ret = aw88395_dev_cfg_load(aw_dev, aw_cfg); in aw88395_dev_init()
|
/linux-6.6.21/sound/soc/codecs/ |
D | aw88261.c | 1045 static int aw88261_dev_init(struct aw88261 *aw88261, struct aw_container *aw_cfg) in aw88261_dev_init() argument 1050 ret = aw88395_dev_cfg_load(aw_dev, aw_cfg); in aw88261_dev_init() 1109 aw88261->aw_cfg = devm_kzalloc(aw88261->aw_pa->dev, cont->size + sizeof(int), GFP_KERNEL); in aw88261_request_firmware_file() 1110 if (!aw88261->aw_cfg) { in aw88261_request_firmware_file() 1114 aw88261->aw_cfg->len = (int)cont->size; in aw88261_request_firmware_file() 1115 memcpy(aw88261->aw_cfg->data, cont->data, cont->size); in aw88261_request_firmware_file() 1118 ret = aw88395_dev_load_acf_check(aw88261->aw_pa, aw88261->aw_cfg); in aw88261_request_firmware_file() 1126 ret = aw88261_dev_init(aw88261, aw88261->aw_cfg); in aw88261_request_firmware_file()
|
D | aw88261.h | 449 struct aw_container *aw_cfg; member
|