Home
last modified time | relevance | path

Searched refs:ptn (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/leds/
Dleds-lp5562.c349 static inline bool _is_pc_overflow(struct lp55xx_predef_pattern *ptn) in _is_pc_overflow() argument
351 return ptn->size_r >= LP5562_PROGRAM_LENGTH || in _is_pc_overflow()
352 ptn->size_g >= LP5562_PROGRAM_LENGTH || in _is_pc_overflow()
353 ptn->size_b >= LP5562_PROGRAM_LENGTH; in _is_pc_overflow()
358 struct lp55xx_predef_pattern *ptn; in lp5562_run_predef_led_pattern() local
366 ptn = chip->pdata->patterns + (mode - 1); in lp5562_run_predef_led_pattern()
367 if (!ptn || _is_pc_overflow(ptn)) { in lp5562_run_predef_led_pattern()
393 ptn->r, ptn->size_r); in lp5562_run_predef_led_pattern()
395 ptn->g, ptn->size_g); in lp5562_run_predef_led_pattern()
397 ptn->b, ptn->size_b); in lp5562_run_predef_led_pattern()
[all …]
/linux-6.1.9/fs/jffs2/
Dreadinode.c223 struct jffs2_tmp_dnode_info *this, *ptn; in jffs2_add_tn_to_tree() local
255 ptn = tn_prev(this); in jffs2_add_tn_to_tree()
256 if (!ptn) { in jffs2_add_tn_to_tree()
264 this = ptn; in jffs2_add_tn_to_tree()
371 ptn = tn_prev(this); in jffs2_add_tn_to_tree()
372 if (!ptn) { in jffs2_add_tn_to_tree()
380 this = ptn; in jffs2_add_tn_to_tree()
/linux-6.1.9/tools/thermal/tmon/
Dtui.c524 static void draw_hbar(WINDOW *win, int y, int start, int len, unsigned long ptn, in draw_hbar() argument
527 mvwaddch(win, y, start, ptn); in draw_hbar()
528 whline(win, ptn, len); in draw_hbar()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_wlan_util.c1145 unsigned int update_basic_rate(unsigned char *ptn, unsigned int ptn_sz) in update_basic_rate() argument
1153 if ((*(ptn + i)) & 0x80) in update_basic_rate()
1154 mask |= 0x1 << wifirate2_ratetbl_inx(*(ptn + i)); in update_basic_rate()
1159 unsigned int update_supported_rate(unsigned char *ptn, unsigned int ptn_sz) in update_supported_rate() argument
1167 mask |= 0x1 << wifirate2_ratetbl_inx(*(ptn + i)); in update_supported_rate()
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_mlme_ext.h465 unsigned int update_basic_rate(unsigned char *ptn, unsigned int ptn_sz);
466 unsigned int update_supported_rate(unsigned char *ptn, unsigned int ptn_sz);