• Home
  • Raw
  • Download

Lines Matching refs:hw_info

42 static void update_hardware_info_8x16(struct hardware_info *hw_info, const char *snd_card_name)  in update_hardware_info_8x16()  argument
46 strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name)); in update_hardware_info_8x16()
49 strlcpy(hw_info->name, "msm8909", sizeof(hw_info->name)); in update_hardware_info_8x16()
51 strlcpy(hw_info->name, "msm8909", sizeof(hw_info->name)); in update_hardware_info_8x16()
54 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); in update_hardware_info_8x16()
56 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); in update_hardware_info_8x16()
64 struct hardware_info *hw_info; in hw_info_init() local
66 hw_info = malloc(sizeof(struct hardware_info)); in hw_info_init()
67 if (!hw_info) { in hw_info_init()
77 strlcpy(hw_info->type, "", sizeof(hw_info->type)); in hw_info_init()
78 strlcpy(hw_info->name, "", sizeof(hw_info->name)); in hw_info_init()
79 hw_info->snd_devices = NULL; in hw_info_init()
80 hw_info->num_snd_devices = 0; in hw_info_init()
81 strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn)); in hw_info_init()
83 update_hardware_info_8x16(hw_info, snd_card_name); in hw_info_init()
86 free(hw_info); in hw_info_init()
87 hw_info = NULL; in hw_info_init()
90 return hw_info; in hw_info_init()
93 void hw_info_deinit(void *hw_info) in hw_info_deinit() argument
95 struct hardware_info *my_data = (struct hardware_info*) hw_info; in hw_info_deinit()
101 void hw_info_append_hw_type(void *hw_info, snd_device_t snd_device, in hw_info_append_hw_type() argument
104 struct hardware_info *my_data = (struct hardware_info*) hw_info; in hw_info_append_hw_type()