Lines Matching refs:dev
80 static int iwl_acpi_get_handle(struct device *dev, acpi_string method, in iwl_acpi_get_handle() argument
86 root_handle = ACPI_HANDLE(dev); in iwl_acpi_get_handle()
88 IWL_DEBUG_DEV_RADIO(dev, in iwl_acpi_get_handle()
95 IWL_DEBUG_DEV_RADIO(dev, in iwl_acpi_get_handle()
102 static void *iwl_acpi_get_object(struct device *dev, acpi_string method) in iwl_acpi_get_object() argument
109 ret = iwl_acpi_get_handle(dev, method, &handle); in iwl_acpi_get_object()
116 IWL_DEBUG_DEV_RADIO(dev, in iwl_acpi_get_object()
129 static void *iwl_acpi_get_dsm_object(struct device *dev, int rev, int func, in iwl_acpi_get_dsm_object() argument
135 obj = acpi_evaluate_dsm(ACPI_HANDLE(dev), guid, rev, func, in iwl_acpi_get_dsm_object()
138 IWL_DEBUG_DEV_RADIO(dev, in iwl_acpi_get_dsm_object()
153 static int iwl_acpi_get_dsm_integer(struct device *dev, int rev, int func, in iwl_acpi_get_dsm_integer() argument
160 obj = iwl_acpi_get_dsm_object(dev, rev, func, NULL, guid); in iwl_acpi_get_dsm_integer()
162 IWL_DEBUG_DEV_RADIO(dev, in iwl_acpi_get_dsm_integer()
178 IWL_DEBUG_DEV_RADIO(dev, in iwl_acpi_get_dsm_integer()
187 IWL_DEBUG_DEV_RADIO(dev, in iwl_acpi_get_dsm_integer()
194 IWL_DEBUG_DEV_RADIO(dev, in iwl_acpi_get_dsm_integer()
205 int iwl_acpi_get_dsm_u8(struct device *dev, int rev, int func, in iwl_acpi_get_dsm_u8() argument
211 ret = iwl_acpi_get_dsm_integer(dev, rev, func, in iwl_acpi_get_dsm_u8()
226 int iwl_acpi_get_dsm_u32(struct device *dev, int rev, int func, in iwl_acpi_get_dsm_u32() argument
232 ret = iwl_acpi_get_dsm_integer(dev, rev, func, in iwl_acpi_get_dsm_u32()
245 iwl_acpi_get_wifi_pkg_range(struct device *dev, in iwl_acpi_get_wifi_pkg_range() argument
271 IWL_DEBUG_DEV_RADIO(dev, "Invalid packages structure\n"); in iwl_acpi_get_wifi_pkg_range()
302 iwl_acpi_get_wifi_pkg(struct device *dev, in iwl_acpi_get_wifi_pkg() argument
306 return iwl_acpi_get_wifi_pkg_range(dev, data, data_size, data_size, in iwl_acpi_get_wifi_pkg()
317 data = iwl_acpi_get_object(fwrt->dev, ACPI_WTAS_METHOD); in iwl_acpi_get_tas()
322 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_tas()
408 int iwl_acpi_get_mcc(struct device *dev, char *mcc) in iwl_acpi_get_mcc() argument
414 data = iwl_acpi_get_object(dev, ACPI_WRDD_METHOD); in iwl_acpi_get_mcc()
418 wifi_pkg = iwl_acpi_get_wifi_pkg(dev, data, ACPI_WRDD_WIFI_DATA_SIZE, in iwl_acpi_get_mcc()
444 u64 iwl_acpi_get_pwr_limit(struct device *dev) in iwl_acpi_get_pwr_limit() argument
450 data = iwl_acpi_get_object(dev, ACPI_SPLC_METHOD); in iwl_acpi_get_pwr_limit()
456 wifi_pkg = iwl_acpi_get_wifi_pkg(dev, data, in iwl_acpi_get_pwr_limit()
472 int iwl_acpi_get_eckv(struct device *dev, u32 *extl_clk) in iwl_acpi_get_eckv() argument
477 data = iwl_acpi_get_object(dev, ACPI_ECKV_METHOD); in iwl_acpi_get_eckv()
481 wifi_pkg = iwl_acpi_get_wifi_pkg(dev, data, ACPI_ECKV_WIFI_DATA_SIZE, in iwl_acpi_get_eckv()
611 data = iwl_acpi_get_object(fwrt->dev, ACPI_WRDS_METHOD); in iwl_sar_get_wrds_table()
616 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_sar_get_wrds_table()
632 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_sar_get_wrds_table()
648 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_sar_get_wrds_table()
700 data = iwl_acpi_get_object(fwrt->dev, ACPI_EWRD_METHOD); in iwl_sar_get_ewrd_table()
705 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_sar_get_ewrd_table()
721 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_sar_get_ewrd_table()
737 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_sar_get_ewrd_table()
834 data = iwl_acpi_get_object(fwrt->dev, ACPI_WGDS_METHOD); in iwl_sar_get_wgds_table()
853 wifi_pkg = iwl_acpi_get_wifi_pkg_range(fwrt->dev, data, in iwl_sar_get_wgds_table()
1022 ret = iwl_acpi_get_dsm_u8(fwrt->dev, 0, in iwl_acpi_get_lari_config_bitmap()
1033 ret = iwl_acpi_get_dsm_u8(fwrt->dev, 0, in iwl_acpi_get_lari_config_bitmap()
1059 data = iwl_acpi_get_object(fwrt->dev, ACPI_PPAG_METHOD); in iwl_acpi_get_ppag_table()
1064 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_ppag_table()
1081 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_ppag_table()
1270 data = iwl_acpi_get_object(fwrt->dev, ACPI_WPFC_METHOD); in iwl_acpi_get_phy_filters()
1274 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_phy_filters()