/drivers/media/video/zc0301/ |
D | zc0301.h | 155 # define DBG(level, fmt, args...) \ argument 157 if (debug >= (level)) { \ 158 if ((level) == 1) \ 160 else if ((level) == 2) \ 162 else if ((level) >= 3) \ 167 # define KDBG(level, fmt, args...) \ argument 169 if (debug >= (level)) { \ 170 if ((level) == 1 || (level) == 2) \ 172 else if ((level) == 3) \ 177 # define V4LDBG(level, name, cmd) \ argument [all …]
|
/drivers/media/video/sn9c102/ |
D | sn9c102.h | 171 # define DBG(level, fmt, args...) \ argument 173 if (debug >= (level)) { \ 174 if ((level) == 1) \ 176 else if ((level) == 2) \ 178 else if ((level) >= 3) \ 183 # define V4LDBG(level, name, cmd) \ argument 185 if (debug >= (level)) \ 188 # define KDBG(level, fmt, args...) \ argument 190 if (debug >= (level)) { \ 191 if ((level) == 1 || (level) == 2) \ [all …]
|
/drivers/media/video/ |
D | w9968cf.h | 289 # define DBG(level, fmt, args...) \ argument 291 if ( ((specific_debug) && (debug == (level))) || \ 292 ((!specific_debug) && (debug >= (level))) ) { \ 293 if ((level) == 1) \ 295 else if ((level) == 2 || (level) == 3) \ 297 else if ((level) == 4) \ 299 else if ((level) >= 5) \ 305 # define KDBG(level, fmt, args...) \ argument 307 if ( ((specific_debug) && (debug == (level))) || \ 308 ((!specific_debug) && (debug >= (level))) ) { \ [all …]
|
/drivers/media/video/et61x251/ |
D | et61x251.h | 193 # define DBG(level, fmt, args...) \ argument 195 if (debug >= (level)) { \ 196 if ((level) == 1) \ 198 else if ((level) == 2) \ 200 else if ((level) >= 3) \ 205 # define KDBG(level, fmt, args...) \ argument 207 if (debug >= (level)) { \ 208 if ((level) == 1 || (level) == 2) \ 210 else if ((level) == 3) \ 215 # define V4LDBG(level, name, cmd) \ argument [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() 149 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/staging/otus/hal/ |
D | hpani.c | 153 u32_t level = param; in zfHpAniControl() local 155 if (level >= N(HpPriv->totalSizeDesired)) in zfHpAniControl() 157 zm_debug_msg1("level out of range, desired level : ", level); in zfHpAniControl() 164 | ((HpPriv->totalSizeDesired[level] << AR_PHY_DESIRED_SZ_TOT_DES_S) in zfHpAniControl() 168 | ((HpPriv->coarseLow[level] << AR_PHY_AGC_CTL1_COARSE_LOW_S) in zfHpAniControl() 172 | ((HpPriv->coarseHigh[level] << AR_PHY_AGC_CTL1_COARSE_HIGH_S) in zfHpAniControl() 176 | ((HpPriv->firpwr[level] << AR_PHY_FIND_SIG_FIRPWR_S) in zfHpAniControl() 180 if (level > aniState->noiseImmunityLevel) in zfHpAniControl() 182 else if (level < aniState->noiseImmunityLevel) in zfHpAniControl() 184 aniState->noiseImmunityLevel = (u8_t)level; in zfHpAniControl() [all …]
|
/drivers/s390/cio/ |
D | qdio_debug.h | 22 static inline int qdio_dbf_passes(debug_info_t *dbf_grp, int level) in qdio_dbf_passes() argument 24 return (level <= dbf_grp->level); in qdio_dbf_passes() 60 #define DBF_DEV_EVENT(level, device, text...) \ argument 63 if (qdio_dbf_passes(device->debug_area, level)) { \ 65 debug_text_event(device->debug_area, level, debug_buffer); \ 69 #define DBF_DEV_HEX(level, device, addr, len) \ argument 71 debug_event(device->debug_area, level, (void*)(addr), len); \
|
/drivers/s390/net/ |
D | ctcm_dbug.h | 61 int level; member 69 void ctcm_dbf_longtext(enum ctcm_dbf_names dbf_nix, int level, char *text, ...); 79 #define CTCM_DBF_TEXT(name, level, text) \ argument 81 debug_text_event(ctcm_dbf[CTCM_DBF_##name].id, level, text); \ 84 #define CTCM_DBF_HEX(name, level, addr, len) \ argument 87 level, (void *)(addr), len); \ 90 #define CTCM_DBF_TEXT_(name, level, text...) \ argument 91 ctcm_dbf_longtext(CTCM_DBF_##name, level, text)
|
D | claw.h | 107 #define CLAW_DBF_TEXT(level, name, text) \ argument 109 debug_text_event(claw_dbf_##name, level, text); \ 112 #define CLAW_DBF_HEX(level,name,addr,len) \ argument 114 debug_event(claw_dbf_##name,level,(void*)(addr),len); \ 118 static inline int claw_dbf_passes(debug_info_t *dbf_grp, int level) in claw_dbf_passes() argument 120 return (level <= dbf_grp->level); in claw_dbf_passes() 123 #define CLAW_DBF_TEXT_(level,name,text...) \ argument 125 if (claw_dbf_passes(claw_dbf_##name, level)) { \ 127 debug_text_event(claw_dbf_##name, level, \
|
D | lcs.h | 9 #define LCS_DBF_TEXT(level, name, text) \ argument 11 debug_text_event(lcs_dbf_##name, level, text); \ 14 #define LCS_DBF_HEX(level,name,addr,len) \ argument 16 debug_event(lcs_dbf_##name,level,(void*)(addr),len); \ 20 static inline int lcs_dbf_passes(debug_info_t *dbf_grp, int level) in lcs_dbf_passes() argument 22 return (level <= dbf_grp->level); in lcs_dbf_passes() 25 #define LCS_DBF_TEXT_(level,name,text...) \ argument 27 if (lcs_dbf_passes(lcs_dbf_##name, level)) { \ 29 debug_text_event(lcs_dbf_##name, level, debug_buffer); \
|
/drivers/scsi/lpfc/ |
D | lpfc_logmsg.h | 38 #define lpfc_printf_vlog(vport, level, mask, fmt, arg...) \ argument 40 { if (((mask) &(vport)->cfg_log_verbose) || (level[1] <= '3')) \ 41 dev_printk(level, &((vport)->phba->pcidev)->dev, "%d:(%d):" \ 45 #define lpfc_printf_log(phba, level, mask, fmt, arg...) \ argument 47 { if (((mask) &(phba)->pport->cfg_log_verbose) || (level[1] <= '3')) \ 48 dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
|
/drivers/acpi/acpica/ |
D | nsalloc.c | 327 u32 level = 1; in acpi_ns_delete_namespace_subtree() local 339 while (level > 0) { in acpi_ns_delete_namespace_subtree() 360 level++; in acpi_ns_delete_namespace_subtree() 369 level--; in acpi_ns_delete_namespace_subtree() 411 u32 level; in acpi_ns_delete_namespace_by_owner() local 430 level = 1; in acpi_ns_delete_namespace_by_owner() 436 while (level > 0) { in acpi_ns_delete_namespace_by_owner() 467 level++; in acpi_ns_delete_namespace_by_owner() 478 level--; in acpi_ns_delete_namespace_by_owner() 479 if (level != 0) { in acpi_ns_delete_namespace_by_owner()
|
D | nswalk.c | 162 u32 level; in acpi_ns_walk_namespace() local 177 level = 1; in acpi_ns_walk_namespace() 184 while (level > 0) { in acpi_ns_walk_namespace() 231 user_function(child_node, level, context, in acpi_ns_walk_namespace() 271 if ((level < max_depth) && (status != AE_CTRL_DEPTH)) { in acpi_ns_walk_namespace() 277 level++; in acpi_ns_walk_namespace() 287 level--; in acpi_ns_walk_namespace()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-3945-debug.h | 34 #define IWL_DEBUG(level, fmt, args...) \ argument 35 do { if (iwl3945_debug_level & (level)) \ 39 #define IWL_DEBUG_LIMIT(level, fmt, args...) \ argument 40 do { if ((iwl3945_debug_level & (level)) && net_ratelimit()) \ 44 static inline void iwl3945_print_hex_dump(int level, void *p, u32 len) in iwl3945_print_hex_dump() argument 46 if (!(iwl3945_debug_level & level)) in iwl3945_print_hex_dump() 53 static inline void IWL_DEBUG(int level, const char *fmt, ...) in IWL_DEBUG() argument 56 static inline void IWL_DEBUG_LIMIT(int level, const char *fmt, ...) in IWL_DEBUG_LIMIT() argument 59 static inline void iwl3945_print_hex_dump(int level, void *p, u32 len) in iwl3945_print_hex_dump() argument
|
D | iwl-debug.h | 33 #define IWL_DEBUG(level, fmt, args...) \ argument 34 do { if (priv->debug_level & (level)) \ 38 #define IWL_DEBUG_LIMIT(level, fmt, args...) \ argument 39 do { if ((priv->debug_level & (level)) && net_ratelimit()) \ 43 #define iwl_print_hex_dump(priv, level, p, len) \ argument 45 if (priv->debug_level & level) \ 79 #define IWL_DEBUG(level, fmt, args...) argument 80 #define IWL_DEBUG_LIMIT(level, fmt, args...) argument 81 static inline void iwl_print_hex_dump(struct iwl_priv *priv, int level, in iwl_print_hex_dump() argument
|
/drivers/net/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 …]
|
/drivers/video/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/wireless/ath9k/ |
D | ani.c | 52 u32 level = param; in ath9k_hw_ani_control() local 54 if (level >= ARRAY_SIZE(ahp->ah_totalSizeDesired)) { in ath9k_hw_ani_control() 57 level, in ath9k_hw_ani_control() 64 ahp->ah_totalSizeDesired[level]); in ath9k_hw_ani_control() 67 ahp->ah_coarseLow[level]); in ath9k_hw_ani_control() 70 ahp->ah_coarseHigh[level]); in ath9k_hw_ani_control() 73 ahp->ah_firpwr[level]); in ath9k_hw_ani_control() 75 if (level > aniState->noiseImmunityLevel) in ath9k_hw_ani_control() 77 else if (level < aniState->noiseImmunityLevel) in ath9k_hw_ani_control() 79 aniState->noiseImmunityLevel = level; in ath9k_hw_ani_control() [all …]
|
/drivers/usb/misc/ |
D | phidgetkit.c | 307 int i, level, sensor; in interfacekit_irq() local 326 level = (buffer[0] >> i) & 1; in interfacekit_irq() 327 if (kit->inputs[i] != level) { in interfacekit_irq() 328 kit->inputs[i] = level; in interfacekit_irq() 331 level = (buffer[1] >> i) & 1; in interfacekit_irq() 332 if (kit->inputs[8 + i] != level) { in interfacekit_irq() 333 kit->inputs[8 + i] = level; in interfacekit_irq() 340 level = (buffer[1] >> i) & 1; in interfacekit_irq() 341 if (kit->inputs[i] != level) { in interfacekit_irq() 342 kit->inputs[i] = level; in interfacekit_irq() [all …]
|
D | phidgetmotorcontrol.c | 97 int i, level; in motorcontrol_irq() local 115 level = (buffer[0] >> i) & 1; in motorcontrol_irq() 116 if (mc->inputs[i] != level) { in motorcontrol_irq() 117 mc->inputs[i] = level; in motorcontrol_irq() 125 level = ((s8)buffer[4+i]) * 100 / 127; in motorcontrol_irq() 126 if (mc->speed[i] != level) { in motorcontrol_irq() 127 mc->speed[i] = level; in motorcontrol_irq() 134 level = ((s8)buffer[4] << 8) | buffer[5]; in motorcontrol_irq() 135 level = level * 100 / 29440; in motorcontrol_irq() 136 if (mc->speed[index] != level) { in motorcontrol_irq() [all …]
|
/drivers/video/aty/ |
D | radeon_backlight.c | 28 int level) in radeon_bl_get_level_brightness() argument 34 rlevel = pdata->rinfo->info->bl_curve[level] * in radeon_bl_get_level_brightness() 53 int level; in radeon_bl_update_status() local 64 level = 0; in radeon_bl_update_status() 66 level = bd->props.brightness; in radeon_bl_update_status() 72 if (level > 0) { in radeon_bl_update_status() 80 (radeon_bl_get_level_brightness(pdata, level) << in radeon_bl_update_status() 90 (radeon_bl_get_level_brightness(pdata, level) << in radeon_bl_update_status()
|
/drivers/platform/x86/ |
D | msi-laptop.c | 79 static int set_lcd_level(int level) in set_lcd_level() argument 83 if (level < 0 || level >= MSI_LCD_LEVEL_MAX) in set_lcd_level() 87 buf[1] = (u8) (level*31); in set_lcd_level() 216 int level, ret; in store_lcd_level() local 218 if (sscanf(buf, "%i", &level) != 1 || (level < 0 || level >= MSI_LCD_LEVEL_MAX)) in store_lcd_level() 221 ret = set_lcd_level(level); in store_lcd_level()
|
/drivers/net/wireless/ath5k/ |
D | debug.c | 331 enum ath5k_debug_level level; member 359 "DEBUG LEVEL: 0x%08x\n\n", sc->debug.level); in read_file_debug() 364 sc->debug.level & dbg_info[i].level ? '+' : ' ', in read_file_debug() 365 dbg_info[i].level, dbg_info[i].desc); in read_file_debug() 369 sc->debug.level == dbg_info[i].level ? '+' : ' ', in read_file_debug() 370 dbg_info[i].level, dbg_info[i].desc); in read_file_debug() 389 sc->debug.level ^= dbg_info[i].level; /* toggle bit */ in write_file_debug() 415 sc->debug.level = ath5k_debug; in ath5k_debug_init_device() 461 if (likely(!(sc->debug.level & ATH5K_DEBUG_DUMPBANDS))) in ath5k_debug_dump_bands() 524 if (likely(!(sc->debug.level & ATH5K_DEBUG_RESET))) in ath5k_debug_printrxbuffs() [all …]
|
/drivers/leds/ |
D | leds-gpio.c | 44 int level; in gpio_led_set() local 47 level = 0; in gpio_led_set() 49 level = 1; in gpio_led_set() 52 level = !level; in gpio_led_set() 59 led_dat->new_level = level; in gpio_led_set() 62 gpio_set_value(led_dat->gpio, level); in gpio_led_set()
|