Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/aw88395/
H A Daw88395_lib.c824 struct aw_container *aw_cfg, in aw_get_default_scene_count_v1() argument
863 struct aw_container *aw_cfg, in aw_dev_parse_scene_count_v1() argument
1010 struct aw_container *aw_cfg) in aw_dev_load_cfg_by_hdr_v1() argument
1095 if (hdr_ddt_len > aw_cfg->len) { in aw_dev_check_cfg_by_hdr()
1097 cfg_hdr->hdr_offset, aw_cfg->len); in aw_dev_check_cfg_by_hdr()
1107 if (act_data != aw_cfg->len) { in aw_dev_check_cfg_by_hdr()
1109 act_data, aw_cfg->len); in aw_dev_check_cfg_by_hdr()
1154 if (hdr_ddt_len > aw_cfg->len) { in aw_dev_check_acf_by_hdr_v1()
1166 if (act_data != aw_cfg->len) { in aw_dev_check_acf_by_hdr_v1()
1168 act_data, aw_cfg->len); in aw_dev_check_acf_by_hdr_v1()
[all …]
H A 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);
H A 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()
H A Daw88395.h55 struct aw_container *aw_cfg; member
H A 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()
/openbmc/linux/sound/soc/codecs/
H A 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()
H A Daw88261.h449 struct aw_container *aw_cfg; member