/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.h | 456 #define vxge_debug_ll_config(level, fmt, ...) \ argument 457 vxge_debug_ll(level, VXGE_DEBUG_LL_CONFIG, fmt, __VA_ARGS__) 459 #define vxge_debug_ll_config(level, fmt, ...) argument 463 #define vxge_debug_init(level, fmt, ...) \ argument 464 vxge_debug_ll(level, VXGE_DEBUG_INIT, fmt, __VA_ARGS__) 466 #define vxge_debug_init(level, fmt, ...) argument 470 #define vxge_debug_tx(level, fmt, ...) \ argument 471 vxge_debug_ll(level, VXGE_DEBUG_TX, fmt, __VA_ARGS__) 473 #define vxge_debug_tx(level, fmt, ...) argument 477 #define vxge_debug_rx(level, fmt, ...) \ argument [all …]
|
/drivers/scsi/esas2r/ |
D | esas2r_log.c | 85 static const char *translate_esas2r_event_level_to_kernel(const long level) in translate_esas2r_event_level_to_kernel() argument 87 switch (level) { in translate_esas2r_event_level_to_kernel() 116 static int esas2r_log_master(const long level, in esas2r_log_master() argument 121 if (level <= event_log_level) { in esas2r_log_master() 129 translate_esas2r_event_level_to_kernel(level); in esas2r_log_master() 187 int esas2r_log(const long level, const char *format, ...) in esas2r_log() argument 194 retval = esas2r_log_master(level, NULL, format, args); in esas2r_log() 212 int esas2r_log_dev(const long level, in esas2r_log_dev() argument 222 retval = esas2r_log_master(level, dev, format, args); in esas2r_log_dev() 239 int esas2r_log_hexdump(const long level, in esas2r_log_hexdump() argument [all …]
|
/drivers/s390/crypto/ |
D | zcrypt_debug.h | 20 #define ZCRYPT_DBF_COMMON(level, text...) \ argument 22 if (debug_level_enabled(zcrypt_dbf_common, level)) { \ 25 debug_text_event(zcrypt_dbf_common, level, \ 30 #define ZCRYPT_DBF_DEVICES(level, text...) \ argument 32 if (debug_level_enabled(zcrypt_dbf_devices, level)) { \ 35 debug_text_event(zcrypt_dbf_devices, level, \ 40 #define ZCRYPT_DBF_DEV(level, device, text...) \ argument 42 if (debug_level_enabled(device->dbf_area, level)) { \ 45 debug_text_event(device->dbf_area, level, \
|
/drivers/gpu/drm/nouveau/nvkm/core/ |
D | option.c | 97 int mode = 1, level = CONFIG_NOUVEAU_DEBUG_DEFAULT; in nvkm_dbgopt() local 110 level = NV_DBG_FATAL; in nvkm_dbgopt() 112 level = NV_DBG_ERROR; in nvkm_dbgopt() 114 level = NV_DBG_WARN; in nvkm_dbgopt() 116 level = NV_DBG_INFO; in nvkm_dbgopt() 118 level = NV_DBG_DEBUG; in nvkm_dbgopt() 120 level = NV_DBG_TRACE; in nvkm_dbgopt() 122 level = NV_DBG_PARANOIA; in nvkm_dbgopt() 124 level = NV_DBG_SPAM; in nvkm_dbgopt() 133 return level; in nvkm_dbgopt() [all …]
|
/drivers/md/ |
D | dm-cache-policy-smq.c | 41 unsigned level:7; member 285 l_add_tail(q->es, q->qs + e->level, e); in q_push() 293 l_add_before(q->es, q->qs + e->level, old, e); in q_push_before() 298 l_del(q->es, q->qs + e->level, e); in q_del() 308 unsigned level; in q_peek() local 313 for (level = 0; level < max_level; level++) in q_peek() 314 for (e = l_head(q->es, q->qs + level); e; e = l_next(q->es, e)) { in q_peek() 356 static struct entry *__redist_pop_from(struct queue *q, unsigned level) in __redist_pop_from() argument 360 for (; level < q->nr_levels; level++) in __redist_pop_from() 361 for (e = l_head(q->es, q->qs + level); e; e = l_next(q->es, e)) in __redist_pop_from() [all …]
|
/drivers/macintosh/ |
D | via-pmu-backlight.c | 39 int level = (FB_BACKLIGHT_LEVELS - 1); in pmu_backlight_curve_lookup() local 51 level = i; in pmu_backlight_curve_lookup() 54 return level; in pmu_backlight_curve_lookup() 57 static int pmu_backlight_get_level_brightness(int level) in pmu_backlight_get_level_brightness() argument 62 pmulevel = bl_curve[level] * FB_BACKLIGHT_MAX / MAX_PMU_LEVEL; in pmu_backlight_get_level_brightness() 74 int level = bd->props.brightness; in __pmu_backlight_update_status() local 79 level = 0; in __pmu_backlight_update_status() 81 if (level > 0) { in __pmu_backlight_update_status() 82 int pmulevel = pmu_backlight_get_level_brightness(level); in __pmu_backlight_update_status() 144 int level, autosave; in pmu_backlight_init() local [all …]
|
/drivers/isdn/hisax/ |
D | hisax_debug.h | 28 #define DBG(level, format, arg...) do { \ argument 29 if (level & __debug_variable) \ 33 #define DBG_PACKET(level, data, count) \ argument 34 if (level & __debug_variable) dump_packet(__func__, data, count) 36 #define DBG_SKB(level, skb) \ argument 37 if ((level & __debug_variable) && skb) dump_packet(__func__, skb->data, skb->len) 74 #define DBG(level, format, arg...) do {} while (0) argument 75 #define DBG_PACKET(level, data, count) do {} while (0) argument 76 #define DBG_SKB(level, skb) do {} while (0) argument
|
/drivers/net/wireless/ath/ath5k/ |
D | ani.c | 66 ath5k_ani_set_noise_immunity_level(struct ath5k_hw *ah, int level) in ath5k_ani_set_noise_immunity_level() argument 85 if (level < 0 || level >= ARRAY_SIZE(sz)) { in ath5k_ani_set_noise_immunity_level() 87 level); in ath5k_ani_set_noise_immunity_level() 92 AR5K_PHY_DESIRED_SIZE_TOT, sz[level]); in ath5k_ani_set_noise_immunity_level() 94 AR5K_PHY_AGCCOARSE_LO, lo[level]); in ath5k_ani_set_noise_immunity_level() 96 AR5K_PHY_AGCCOARSE_HI, hi[level]); in ath5k_ani_set_noise_immunity_level() 98 AR5K_PHY_SIG_FIRPWR, fr[level]); in ath5k_ani_set_noise_immunity_level() 100 ah->ani_state.noise_imm_level = level; in ath5k_ani_set_noise_immunity_level() 101 ATH5K_DBG_UNLIMIT(ah, ATH5K_DEBUG_ANI, "new level %d", level); in ath5k_ani_set_noise_immunity_level() 111 ath5k_ani_set_spur_immunity_level(struct ath5k_hw *ah, int level) in ath5k_ani_set_spur_immunity_level() argument [all …]
|
/drivers/thermal/int340x_thermal/ |
D | int3406_thermal.c | 33 static int int3406_thermal_to_raw(int level, struct int3406_thermal_data *d) in int3406_thermal_to_raw() argument 38 return level * raw_max / max_level; in int3406_thermal_to_raw() 41 static int int3406_thermal_to_acpi(int level, struct int3406_thermal_data *d) in int3406_thermal_to_acpi() argument 46 return level * max_level / raw_max; in int3406_thermal_to_acpi() 65 int level, raw_level; in int3406_thermal_set_cur_state() local 71 level = d->br->levels[state]; in int3406_thermal_set_cur_state() 73 if ((d->upper_limit && level > d->upper_limit) || in int3406_thermal_set_cur_state() 74 (d->lower_limit && level < d->lower_limit)) in int3406_thermal_set_cur_state() 77 raw_level = int3406_thermal_to_raw(level, d); in int3406_thermal_set_cur_state() 86 int raw_level, level, i; in int3406_thermal_get_cur_state() local [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_dp_aux_backlight.c | 57 uint16_t level = 0; in intel_dp_aux_get_backlight() local 65 level = read_val[0]; in intel_dp_aux_get_backlight() 67 level = (read_val[0] << 8 | read_val[1]); in intel_dp_aux_get_backlight() 69 return level; in intel_dp_aux_get_backlight() 77 intel_dp_aux_set_backlight(struct intel_connector *connector, u32 level) in intel_dp_aux_set_backlight() argument 82 vals[0] = level; in intel_dp_aux_set_backlight() 86 vals[0] = (level & 0xFF00) >> 8; in intel_dp_aux_set_backlight() 87 vals[1] = (level & 0xFF); in intel_dp_aux_set_backlight() 130 panel->backlight.level = intel_dp_aux_get_backlight(connector); in intel_dp_aux_setup_backlight() 132 panel->backlight.enabled = panel->backlight.level != 0; in intel_dp_aux_setup_backlight()
|
D | intel_pm.c | 960 int level) in vlv_compute_wm_level() argument 965 if (dev_priv->wm.pri_latency[level] == 0) in vlv_compute_wm_level() 988 dev_priv->wm.pri_latency[level] * 10); in vlv_compute_wm_level() 1064 int level; in vlv_invert_wms() local 1066 for (level = 0; level < wm_state->num_levels; level++) { in vlv_invert_wms() 1071 wm_state->sr[level].plane = sr_fifo_size - wm_state->sr[level].plane; in vlv_invert_wms() 1072 wm_state->sr[level].cursor = 63 - wm_state->sr[level].cursor; in vlv_invert_wms() 1078 wm_state->wm[level].cursor = plane->wm.fifo_size - in vlv_invert_wms() 1079 wm_state->wm[level].cursor; in vlv_invert_wms() 1082 wm_state->wm[level].primary = plane->wm.fifo_size - in vlv_invert_wms() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | gk20a.c | 74 int cur_level, level; in gk20a_pmu_dvfs_get_target_state() local 77 level = cur_level = clk->pstate; in gk20a_pmu_dvfs_get_target_state() 80 level = min(clk->state_nr - 1, level + (clk->state_nr / 3)); in gk20a_pmu_dvfs_get_target_state() 82 level += ((load - data->p_load_target) * 10 / in gk20a_pmu_dvfs_get_target_state() 84 level = max(0, level); in gk20a_pmu_dvfs_get_target_state() 85 level = min(clk->state_nr - 1, level); in gk20a_pmu_dvfs_get_target_state() 89 cur_level, level); in gk20a_pmu_dvfs_get_target_state() 91 *state = level; in gk20a_pmu_dvfs_get_target_state() 93 if (level == cur_level) in gk20a_pmu_dvfs_get_target_state()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-debug.h | 35 static inline bool iwl_have_debug_level(u32 level) in iwl_have_debug_level() argument 38 return iwlwifi_mod_params.debug_level & level; in iwl_have_debug_level() 80 u32 level, bool limit, const char *function, 85 u32 level, bool limit, const char *function, in __iwl_dbg() argument 96 #define __IWL_DEBUG_DEV(dev, level, limit, fmt, args...) \ argument 99 __iwl_dbg(dev, level, limit, __func__, fmt, ##args); \ 101 #define IWL_DEBUG(m, level, fmt, args...) \ argument 102 __IWL_DEBUG_DEV((m)->dev, level, false, fmt, ##args) 103 #define IWL_DEBUG_DEV(dev, level, fmt, args...) \ argument 104 __IWL_DEBUG_DEV(dev, level, false, fmt, ##args) [all …]
|
/drivers/net/wireless/ti/wlcore/ |
D | debug.h | 78 #define wl1271_debug(level, fmt, arg...) \ argument 80 if (unlikely(level & wl12xx_debug_level)) \ 84 #define wl1271_debug(level, fmt, arg...) \ argument 86 if (unlikely(level & wl12xx_debug_level)) \ 92 #define wl1271_dump(level, prefix, buf, len) \ argument 94 if (level & wl12xx_debug_level) \ 102 #define wl1271_dump_ascii(level, prefix, buf, len) \ argument 104 if (level & wl12xx_debug_level) \
|
/drivers/acpi/acpica/ |
D | nswalk.c | 197 u32 level; in acpi_ns_walk_namespace() local 213 level = 1; in acpi_ns_walk_namespace() 220 while (level > 0 && child_node) { in acpi_ns_walk_namespace() 265 level, context, in acpi_ns_walk_namespace() 272 level, context, in acpi_ns_walk_namespace() 313 (level < max_depth) && (status != AE_CTRL_DEPTH)) { in acpi_ns_walk_namespace() 318 level++; in acpi_ns_walk_namespace() 347 level--; in acpi_ns_walk_namespace()
|
D | nsdump.c | 58 u32 level, void *context, void **return_value); 65 u32 level, void *context, void **return_value); 69 u32 level, void *context, void **return_value); 138 const char *msg, u32 level, u32 component) in acpi_ns_dump_pathname() argument 145 if (!ACPI_IS_DEBUG_ENABLED(level, component)) { in acpi_ns_dump_pathname() 175 u32 level, void *context, void **return_value) in acpi_ns_dump_one_object() argument 219 acpi_os_printf("%2d%*s", (u32) level - 1, (int)level * 2, " "); in acpi_ns_dump_one_object() 709 u32 level, void *context, void **return_value) in acpi_ns_dump_one_object_path() argument 731 if (level <= max_level) { in acpi_ns_dump_one_object_path() 732 path_indent = max_level - level + 1; in acpi_ns_dump_one_object_path() [all …]
|
D | nsalloc.c | 353 u32 level = 1; in acpi_ns_delete_namespace_subtree() local 373 while (level > 0) { in acpi_ns_delete_namespace_subtree() 391 level++; in acpi_ns_delete_namespace_subtree() 400 level--; in acpi_ns_delete_namespace_subtree() 443 u32 level; in acpi_ns_delete_namespace_by_owner() local 462 level = 1; in acpi_ns_delete_namespace_by_owner() 468 while (level > 0) { in acpi_ns_delete_namespace_by_owner() 496 level++; in acpi_ns_delete_namespace_by_owner() 507 level--; in acpi_ns_delete_namespace_by_owner() 508 if (level != 0) { in acpi_ns_delete_namespace_by_owner()
|
/drivers/s390/net/ |
D | ctcm_dbug.h | 59 int level; member 67 void ctcm_dbf_longtext(enum ctcm_dbf_names dbf_nix, int level, char *text, ...); 77 #define CTCM_DBF_TEXT(name, level, text) \ argument 79 debug_text_event(ctcm_dbf[CTCM_DBF_##name].id, level, text); \ 82 #define CTCM_DBF_HEX(name, level, addr, len) \ argument 85 level, (void *)(addr), len); \ 88 #define CTCM_DBF_TEXT_(name, level, text...) \ argument 89 ctcm_dbf_longtext(CTCM_DBF_##name, level, text)
|
/drivers/edac/ |
D | edac_core.h | 49 #define edac_printk(level, prefix, fmt, arg...) \ argument 50 printk(level "EDAC " prefix ": " fmt, ##arg) 52 #define edac_mc_printk(mci, level, fmt, arg...) \ argument 53 printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg) 55 #define edac_mc_chipset_printk(mci, level, prefix, fmt, arg...) \ argument 56 printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg) 58 #define edac_device_printk(ctl, level, fmt, arg...) \ argument 59 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg) 61 #define edac_pci_printk(ctl, level, fmt, arg...) \ argument 62 printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg) [all …]
|
/drivers/md/persistent-data/ |
D | dm-btree.c | 165 unsigned level; member 205 return f->level < (info->levels - 1); in is_internal_level() 208 static int push_frame(struct del_stack *s, dm_block_t b, unsigned level) in push_frame() argument 240 f->level = level; in push_frame() 304 r = push_frame(s, b, f->level); in dm_btree_del() 311 r = push_frame(s, b, f->level + 1); in dm_btree_del() 372 unsigned level, last_level = info->levels - 1; in dm_btree_lookup() local 379 for (level = 0; level < info->levels; level++) { in dm_btree_lookup() 383 if (level == last_level) { in dm_btree_lookup() 392 r = btree_lookup_raw(&spine, root, keys[level], in dm_btree_lookup() [all …]
|
/drivers/scsi/lpfc/ |
D | lpfc_logmsg.h | 43 #define lpfc_printf_vlog(vport, level, mask, fmt, arg...) \ argument 45 { if (((mask) & (vport)->cfg_log_verbose) || (level[1] <= '3')) \ 46 dev_printk(level, &((vport)->phba->pcidev)->dev, "%d:(%d):" \ 50 #define lpfc_printf_log(phba, level, mask, fmt, arg...) \ argument 55 if (((mask) & log_verbose) || (level[1] <= '3')) \ 56 dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
|
/drivers/leds/ |
D | leds-tca6507.c | 156 static inline int TO_BRIGHT(int level) in TO_BRIGHT() argument 158 if (level) in TO_BRIGHT() 159 return (level << 4) | 0xf; in TO_BRIGHT() 171 int level; member 309 static void set_level(struct tca6507_chip *tca, int bank, int level) in set_level() argument 314 set_code(tca, TCA6507_MAX_INTENSITY, bank, level); in set_level() 317 set_code(tca, TCA6507_MASTER_INTENSITY, 0, level); in set_level() 320 tca->bank[bank].level = level; in set_level() 393 int level = TO_LEVEL(led->led_cdev.brightness); in led_prepare() local 400 led->led_cdev.brightness = TO_BRIGHT(level); in led_prepare() [all …]
|
/drivers/platform/x86/ |
D | toshiba_haps.c | 52 static int toshiba_haps_protection_level(acpi_handle handle, int level) in toshiba_haps_protection_level() argument 56 status = acpi_execute_simple_method(handle, "PTLV", level); in toshiba_haps_protection_level() 62 pr_debug("HDD protection level set to: %d\n", level); in toshiba_haps_protection_level() 81 int level; in protection_level_store() local 84 ret = kstrtoint(buf, 0, &level); in protection_level_store() 91 if (level < 0 || level > 3) in protection_level_store() 95 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level); in protection_level_store() 99 haps->protection_level = level; in protection_level_store()
|
/drivers/video/fbdev/nvidia/ |
D | nv_backlight.c | 32 int level) in nvidia_bl_get_level_brightness() argument 39 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in nvidia_bl_get_level_brightness() 55 int level; in nvidia_bl_update_status() local 62 level = 0; in nvidia_bl_update_status() 64 level = bd->props.brightness; in nvidia_bl_update_status() 70 if (level > 0) { in nvidia_bl_update_status() 73 tmp_pmc |= nvidia_bl_get_level_brightness(par, level) << 16; in nvidia_bl_update_status()
|
/drivers/net/fddi/skfp/ |
D | smtdef.c | 75 void smt_reset_defaults(struct s_smc *smc, int level); 76 static void smt_init_mib(struct s_smc *smc, int level); 82 void smt_reset_defaults(struct s_smc *smc, int level) in smt_reset_defaults() argument 89 smt_init_mib(smc,level) ; in smt_reset_defaults() 132 if (level == 0) { in smt_reset_defaults() 147 smt_init_sba(smc,level) ; in smt_reset_defaults() 151 if (level == 0) { in smt_reset_defaults() 164 static void smt_init_mib(struct s_smc *smc, int level) in smt_init_mib() argument 172 if (level == 0) { in smt_init_mib() 191 if (level == 0) { in smt_init_mib() [all …]
|