Home
last modified time | relevance | path

Searched refs:nlevel (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/video/fbdev/nvidia/
Dnv_backlight.c32 int nlevel; in nvidia_bl_get_level_brightness() local
36 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in nvidia_bl_get_level_brightness()
38 if (nlevel < 0) in nvidia_bl_get_level_brightness()
39 nlevel = 0; in nvidia_bl_get_level_brightness()
40 else if (nlevel < MIN_LEVEL) in nvidia_bl_get_level_brightness()
41 nlevel = MIN_LEVEL; in nvidia_bl_get_level_brightness()
42 else if (nlevel > MAX_LEVEL) in nvidia_bl_get_level_brightness()
43 nlevel = MAX_LEVEL; in nvidia_bl_get_level_brightness()
45 return nlevel; in nvidia_bl_get_level_brightness()
/linux-6.1.9/drivers/net/ethernet/smsc/
Dsmsc911x.h40 #define SMSC_WARN(pdata, nlevel, fmt, args...) \ argument
41 netif_warn(pdata, nlevel, (pdata)->dev, \
44 #define SMSC_WARN(pdata, nlevel, fmt, args...) \ argument
49 #define SMSC_TRACE(pdata, nlevel, fmt, args...) \ argument
50 netif_info(pdata, nlevel, pdata->dev, fmt "\n", ##args)
52 #define SMSC_TRACE(pdata, nlevel, fmt, args...) \ argument
/linux-6.1.9/drivers/tty/serial/jsm/
Djsm.h46 #define jsm_dbg(nlevel, pdev, fmt, ...) \ argument
48 if (DBG_##nlevel & jsm_debug) \
/linux-6.1.9/drivers/video/fbdev/riva/
Dfbdev.c276 int nlevel; in riva_bl_get_level_brightness() local
280 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in riva_bl_get_level_brightness()
282 if (nlevel < 0) in riva_bl_get_level_brightness()
283 nlevel = 0; in riva_bl_get_level_brightness()
284 else if (nlevel < MIN_LEVEL) in riva_bl_get_level_brightness()
285 nlevel = MIN_LEVEL; in riva_bl_get_level_brightness()
286 else if (nlevel > MAX_LEVEL) in riva_bl_get_level_brightness()
287 nlevel = MAX_LEVEL; in riva_bl_get_level_brightness()
289 return nlevel; in riva_bl_get_level_brightness()