Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/aw88395/
Daw88395_lib.c727 static int aw_get_dde_type_info(struct aw_device *aw_dev, struct aw_container *aw_cfg) in aw_get_dde_type_info() argument
729 struct aw_cfg_hdr *cfg_hdr = (struct aw_cfg_hdr *)aw_cfg->data; in aw_get_dde_type_info()
731 (struct aw_cfg_dde_v1 *)(aw_cfg->data + cfg_hdr->hdr_offset); in aw_get_dde_type_info()
756 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
759 struct aw_cfg_hdr *cfg_hdr = (struct aw_cfg_hdr *)aw_cfg->data; in aw_get_dev_scene_count_v1()
761 (struct aw_cfg_dde_v1 *)(aw_cfg->data + cfg_hdr->hdr_offset); in aw_get_dev_scene_count_v1()
783 struct aw_container *aw_cfg, in aw_get_default_scene_count_v1() argument
786 struct aw_cfg_hdr *cfg_hdr = (struct aw_cfg_hdr *)aw_cfg->data; in aw_get_default_scene_count_v1()
788 (struct aw_cfg_dde_v1 *)(aw_cfg->data + cfg_hdr->hdr_offset); in aw_get_default_scene_count_v1()
810 struct aw_container *aw_cfg, in aw_dev_parse_scene_count_v1() argument
[all …]
Daw88395_device.h177 int aw88395_dev_init(struct aw_device *aw_dev, struct aw_container *aw_cfg);
189 int aw88395_dev_load_acf_check(struct aw_device *aw_dev, struct aw_container *aw_cfg);
190 int aw88395_dev_cfg_load(struct aw_device *aw_dev, struct aw_container *aw_cfg);
Daw88395.c482 aw88395->aw_cfg = devm_kzalloc(aw88395->aw_pa->dev, cont->size + sizeof(int), GFP_KERNEL); in aw88395_request_firmware_file()
483 if (!aw88395->aw_cfg) { in aw88395_request_firmware_file()
487 aw88395->aw_cfg->len = (int)cont->size; in aw88395_request_firmware_file()
488 memcpy(aw88395->aw_cfg->data, cont->data, cont->size); in aw88395_request_firmware_file()
491 ret = aw88395_dev_load_acf_check(aw88395->aw_pa, aw88395->aw_cfg); in aw88395_request_firmware_file()
501 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.c1540 int aw88395_dev_init(struct aw_device *aw_dev, struct aw_container *aw_cfg) in aw88395_dev_init() argument
1544 if ((!aw_dev) || (!aw_cfg)) { in aw88395_dev_init()
1548 ret = aw88395_dev_cfg_load(aw_dev, aw_cfg); in aw88395_dev_init()
/linux-6.12.1/sound/soc/codecs/
Daw87390.c268 aw87390->aw_cfg = devm_kzalloc(aw87390->aw_pa->dev, in aw87390_request_firmware_file()
269 struct_size(aw87390->aw_cfg, data, cont->size), GFP_KERNEL); in aw87390_request_firmware_file()
270 if (!aw87390->aw_cfg) { in aw87390_request_firmware_file()
275 aw87390->aw_cfg->len = cont->size; in aw87390_request_firmware_file()
276 memcpy(aw87390->aw_cfg->data, cont->data, cont->size); in aw87390_request_firmware_file()
279 ret = aw88395_dev_load_acf_check(aw87390->aw_pa, aw87390->aw_cfg); in aw87390_request_firmware_file()
287 ret = aw88395_dev_cfg_load(aw87390->aw_pa, aw87390->aw_cfg); in aw87390_request_firmware_file()
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()
Daw87390.h82 struct aw_container *aw_cfg; member
Daw88399.c1622 static int aw88399_dev_init(struct aw88399 *aw88399, struct aw_container *aw_cfg) in aw88399_dev_init() argument
1627 ret = aw88395_dev_cfg_load(aw_dev, aw_cfg); in aw88399_dev_init()
1676 aw88399->aw_cfg = devm_kzalloc(aw88399->aw_pa->dev, in aw88399_request_firmware_file()
1677 struct_size(aw88399->aw_cfg, data, cont->size), GFP_KERNEL); in aw88399_request_firmware_file()
1678 if (!aw88399->aw_cfg) { in aw88399_request_firmware_file()
1682 aw88399->aw_cfg->len = (int)cont->size; in aw88399_request_firmware_file()
1683 memcpy(aw88399->aw_cfg->data, cont->data, cont->size); in aw88399_request_firmware_file()
1686 ret = aw88395_dev_load_acf_check(aw88399->aw_pa, aw88399->aw_cfg); in aw88399_request_firmware_file()
1694 ret = aw88399_dev_init(aw88399, aw88399->aw_cfg); in aw88399_request_firmware_file()
Daw88261.h449 struct aw_container *aw_cfg; member
Daw88399.h592 struct aw_container *aw_cfg; member