Symbol: aw_bin
drivers/iio/proximity/aw96103.c
232
static void aw96103_parsing_bin_file(struct aw_bin *bin)
drivers/iio/proximity/aw96103.c
458
struct aw_bin *aw_bin)
drivers/iio/proximity/aw96103.c
472
if ((fw_ver != AW96103A) || (aw_bin->chip_type[7] != '\0'))
drivers/iio/proximity/aw96103.c
495
struct aw_bin *aw_bin_data_s)
drivers/iio/proximity/aw96103.c
556
struct aw_bin *aw_bin __free(kfree) =
drivers/iio/proximity/aw96103.c
557
kzalloc(cont->size + sizeof(*aw_bin), GFP_KERNEL);
drivers/iio/proximity/aw96103.c
558
if (!aw_bin)
drivers/iio/proximity/aw96103.c
561
aw_bin->len = cont->size;
drivers/iio/proximity/aw96103.c
562
memcpy(aw_bin->data, cont->data, cont->size);
drivers/iio/proximity/aw96103.c
564
aw96103_parsing_bin_file(aw_bin);
drivers/iio/proximity/aw96103.c
566
return aw96103_bin_valid_loaded(aw96103, aw_bin);
sound/soc/codecs/aw88395/aw88395_lib.c
122
static int aw_check_soc_app_num(struct aw_device *aw_dev, struct aw_bin *bin, int bin_num)
sound/soc/codecs/aw88395/aw88395_lib.c
151
static void aw_get_single_bin_header(struct aw_bin *bin)
sound/soc/codecs/aw88395/aw88395_lib.c
160
int bin_serial_num, struct aw_bin *bin)
sound/soc/codecs/aw88395/aw88395_lib.c
190
static int aw_get_multi_bin_header(struct aw_device *aw_dev, struct aw_bin *bin)
sound/soc/codecs/aw88395/aw88395_lib.c
212
static int aw_parse_bin_header(struct aw_device *aw_dev, struct aw_bin *bin)
sound/soc/codecs/aw88395/aw88395_lib.c
247
static int aw_check_bin_header_version(struct aw_device *aw_dev, struct aw_bin *bin)
sound/soc/codecs/aw88395/aw88395_lib.c
25
static int aw_parse_bin_header(struct aw_device *aw_dev, struct aw_bin *bin);
sound/soc/codecs/aw88395/aw88395_lib.c
263
static int aw_parsing_bin_file(struct aw_device *aw_dev, struct aw_bin *bin)
sound/soc/codecs/aw88395/aw88395_lib.c
27
static int aw_check_sum(struct aw_device *aw_dev, struct aw_bin *bin, int bin_num)
sound/soc/codecs/aw88395/aw88395_lib.c
368
struct aw_bin *aw_bin __free(kfree) = kzalloc(data_len + sizeof(struct aw_bin),
sound/soc/codecs/aw88395/aw88395_lib.c
370
if (!aw_bin)
sound/soc/codecs/aw88395/aw88395_lib.c
373
aw_bin->info.len = data_len;
sound/soc/codecs/aw88395/aw88395_lib.c
374
memcpy(aw_bin->info.data, data, data_len);
sound/soc/codecs/aw88395/aw88395_lib.c
376
ret = aw_parsing_bin_file(aw_dev, aw_bin);
sound/soc/codecs/aw88395/aw88395_lib.c
382
for (i = 0; i < aw_bin->all_bin_parse_num; i++) {
sound/soc/codecs/aw88395/aw88395_lib.c
383
switch (aw_bin->header_info[i].bin_data_type) {
sound/soc/codecs/aw88395/aw88395_lib.c
386
aw_bin->header_info[i].valid_data_len;
sound/soc/codecs/aw88395/aw88395_lib.c
388
data + aw_bin->header_info[i].valid_data_addr;
sound/soc/codecs/aw88395/aw88395_lib.c
391
if (aw_bin->header_info[i].valid_data_len & 0x01)
sound/soc/codecs/aw88395/aw88395_lib.c
394
swab16_array((u16 *)(data + aw_bin->header_info[i].valid_data_addr),
sound/soc/codecs/aw88395/aw88395_lib.c
395
aw_bin->header_info[i].valid_data_len >> 1);
sound/soc/codecs/aw88395/aw88395_lib.c
398
aw_bin->header_info[i].valid_data_len;
sound/soc/codecs/aw88395/aw88395_lib.c
400
data + aw_bin->header_info[i].valid_data_addr;
sound/soc/codecs/aw88395/aw88395_lib.c
404
if (aw_bin->header_info[i].valid_data_len & 0x01)
sound/soc/codecs/aw88395/aw88395_lib.c
407
swab16_array((u16 *)(data + aw_bin->header_info[i].valid_data_addr),
sound/soc/codecs/aw88395/aw88395_lib.c
408
aw_bin->header_info[i].valid_data_len >> 1);
sound/soc/codecs/aw88395/aw88395_lib.c
410
prof_desc->fw_ver = aw_bin->header_info[i].app_version;
sound/soc/codecs/aw88395/aw88395_lib.c
412
aw_bin->header_info[i].valid_data_len;
sound/soc/codecs/aw88395/aw88395_lib.c
414
data + aw_bin->header_info[i].valid_data_addr;
sound/soc/codecs/aw88395/aw88395_lib.c
431
struct aw_bin *aw_bin __free(kfree) = kzalloc(data_len + sizeof(*aw_bin),
sound/soc/codecs/aw88395/aw88395_lib.c
433
if (!aw_bin)
sound/soc/codecs/aw88395/aw88395_lib.c
436
aw_bin->info.len = data_len;
sound/soc/codecs/aw88395/aw88395_lib.c
437
memcpy(aw_bin->info.data, data, data_len);
sound/soc/codecs/aw88395/aw88395_lib.c
439
ret = aw_parsing_bin_file(aw_dev, aw_bin);
sound/soc/codecs/aw88395/aw88395_lib.c
445
if ((aw_bin->all_bin_parse_num != 1) ||
sound/soc/codecs/aw88395/aw88395_lib.c
446
(aw_bin->header_info[0].bin_data_type != DATA_TYPE_REGISTER)) {
sound/soc/codecs/aw88395/aw88395_lib.c
452
data + aw_bin->header_info[0].valid_data_addr;
sound/soc/codecs/aw88395/aw88395_lib.c
454
aw_bin->header_info[0].valid_data_len;
sound/soc/codecs/aw88395/aw88395_lib.c
53
static int aw_check_data_version(struct aw_device *aw_dev, struct aw_bin *bin, int bin_num)
sound/soc/codecs/aw88395/aw88395_lib.c
64
static int aw_check_register_num(struct aw_device *aw_dev, struct aw_bin *bin, int bin_num)
sound/soc/codecs/aw88395/aw88395_lib.c
91
static int aw_check_dsp_reg_num(struct aw_device *aw_dev, struct aw_bin *bin, int bin_num)