Searched refs:ptn (Results 1 – 3 of 3) sorted by relevance
349 static inline bool _is_pc_overflow(struct lp55xx_predef_pattern *ptn) in _is_pc_overflow() argument351 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() local366 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 …]
1145 unsigned int update_basic_rate(unsigned char *ptn, unsigned int ptn_sz) in update_basic_rate() argument1153 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() argument1167 mask |= 0x1 << wifirate2_ratetbl_inx(*(ptn + i)); in update_supported_rate()
465 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);