Home
last modified time | relevance | path

Searched refs:aw_cfg (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/sound/soc/codecs/aw88395/
Daw88395_lib.c754 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 …]
Daw88395_device.h178 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);
Daw88395.c483 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()
Daw88395.h55 struct aw_container *aw_cfg; member
Daw88395_device.c1548 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/
Daw88261.c1045 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()
Daw88261.h449 struct aw_container *aw_cfg; member