Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/h8300/kernel/
Dptrace_h.c48 #define OPTABLE(ptn, msk, len, jmp) \ argument
50 .bitpattern = ptn, \
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_wlan_util.c1078 unsigned int update_basic_rate(unsigned char *ptn, unsigned int ptn_sz) in update_basic_rate() argument
1086 if ((*(ptn + i)) & 0x80) in update_basic_rate()
1087 mask |= 0x1 << wifirate2_ratetbl_inx(*(ptn + i)); in update_basic_rate()
1092 unsigned int update_supported_rate(unsigned char *ptn, unsigned int ptn_sz) in update_supported_rate() argument
1100 mask |= 0x1 << wifirate2_ratetbl_inx(*(ptn + i)); in update_supported_rate()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Drtw_mlme_ext.h517 unsigned int update_basic_rate(unsigned char *ptn, unsigned int ptn_sz);
518 unsigned int update_supported_rate(unsigned char *ptn, unsigned int ptn_sz);