/kernel/linux/linux-5.10/drivers/leds/trigger/ |
D | ledtrig-pattern.c | 26 struct led_pattern patterns[MAX_PATTERNS]; member 42 if (!data->is_indefinite && data->curr == data->patterns) in pattern_trig_update_patterns() 45 if (data->next == data->patterns + data->npatterns - 1) in pattern_trig_update_patterns() 46 data->next = data->patterns; in pattern_trig_update_patterns() 128 return led_cdev->pattern_set(led_cdev, data->patterns, in pattern_trig_start_pattern() 137 data->curr = data->patterns; in pattern_trig_start_pattern() 138 data->next = data->patterns + 1; in pattern_trig_start_pattern() 212 data->patterns[i].brightness, in pattern_trig_show_patterns() 213 data->patterns[i].delta_t); in pattern_trig_show_patterns() 231 &data->patterns[data->npatterns].brightness, in pattern_trig_store_patterns_string() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | wow.c | 142 struct cfg80211_pkt_pattern *patterns = wowlan->patterns; in ath9k_wow_add_pattern() local 149 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in ath9k_wow_add_pattern() 152 memcpy(wow_pattern, patterns[i].pattern, patterns[i].pattern_len); in ath9k_wow_add_pattern() 153 memcpy(wow_mask, patterns[i].mask, mask_len); in ath9k_wow_add_pattern() 159 patterns[i].pattern_len); in ath9k_wow_add_pattern()
|
/kernel/linux/linux-5.10/mm/ |
D | memtest.c | 7 static u64 patterns[] __initdata = { variable 93 memtest_pattern = ARRAY_SIZE(patterns); in parse_memtest() 110 idx = i % ARRAY_SIZE(patterns); in early_memtest() 111 do_one_pass(patterns[idx], start, end); in early_memtest()
|
D | Kconfig.debug | 29 fill the pages with poison patterns after free_pages() and verify 30 the patterns before alloc_pages(). Additionally, this option cannot 69 Fill the pages with poison patterns after free_pages() and verify 70 the patterns before alloc_pages. The filling of the memory helps
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-class-led-trigger-pattern | 21 to some preprogrammed hardware patterns. It deactivates any active 25 hardware patterns, each driver is expected to provide its own 26 description for the hardware patterns in their documentation
|
D | sysfs-class-led-driver-el15203000 | 5 EL15203000 supports only indefinitely patterns,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_diag.c | 16 static const u32 patterns[] = { in i40e_diag_reg_pattern_test() local 23 for (i = 0; i < ARRAY_SIZE(patterns); i++) { in i40e_diag_reg_pattern_test() 24 pat = patterns[i]; in i40e_diag_reg_pattern_test()
|
/kernel/linux/linux-5.10/Documentation/leds/ |
D | leds-lp55xx.rst | 15 Program memory for running LED patterns 55 - Program memory address access for running patterns 61 various LED patterns. 109 To start blinking patterns in engine #2 and #3 simultaneously:: 187 To use the predefined pattern concept, 'patterns' and 'num_patterns' should be 213 .patterns = board_led_patterns,
|
D | leds-lp5521.rst | 22 LP5521 has the internal program memory for running various LED patterns. 23 There are two ways to run LED patterns.
|
D | leds-lp5562.rst | 16 LP5562 has the internal program memory for running various LED patterns. 67 How to load the predefined patterns
|
D | leds-lp5523.rst | 35 LP5523 has the internal program memory for running various LED patterns. 36 There are two ways to run LED patterns.
|
D | leds-lm3556.rst | 78 and 4 patterns are pre-defined in indicator_pattern array. 81 be generated.If you want new patterns for your own device, change
|
D | leds-el15203000.rst | 12 The LEDs board supports only predefined patterns by firmware
|
D | leds-lp3944.rst | 26 The DIM modes are used to set _blink_ patterns for leds, the pattern is
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
D | wow.c | 271 const struct cfg80211_pkt_pattern *patterns = wowlan->patterns; in ath10k_vif_wow_set_wakeups() local 328 struct cfg80211_pkt_pattern old_pattern = patterns[i]; in ath10k_vif_wow_set_wakeups() 333 if (patterns[i].pattern_len > WOW_MAX_PATTERN_SIZE) in ath10k_vif_wow_set_wakeups() 336 for (j = 0; j < patterns[i].pattern_len; j++) in ath10k_vif_wow_set_wakeups() 337 if (patterns[i].mask[j / 8] & BIT(j % 8)) in ath10k_vif_wow_set_wakeups() 343 if (patterns[i].pkt_offset < ETH_HLEN) in ath10k_vif_wow_set_wakeups()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 424 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwl_mvm_send_patterns_v1() 433 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns_v1() 435 memcpy(&pattern_cmd->patterns[i].mask, in iwl_mvm_send_patterns_v1() 436 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns_v1() 437 memcpy(&pattern_cmd->patterns[i].pattern, in iwl_mvm_send_patterns_v1() 438 wowlan->patterns[i].pattern, in iwl_mvm_send_patterns_v1() 439 wowlan->patterns[i].pattern_len); in iwl_mvm_send_patterns_v1() 440 pattern_cmd->patterns[i].mask_size = mask_len; in iwl_mvm_send_patterns_v1() 441 pattern_cmd->patterns[i].pattern_size = in iwl_mvm_send_patterns_v1() 442 wowlan->patterns[i].pattern_len; in iwl_mvm_send_patterns_v1() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | lib.c | 1012 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwlagn_send_patterns() 1021 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwlagn_send_patterns() 1023 memcpy(&pattern_cmd->patterns[i].mask, in iwlagn_send_patterns() 1024 wowlan->patterns[i].mask, mask_len); in iwlagn_send_patterns() 1025 memcpy(&pattern_cmd->patterns[i].pattern, in iwlagn_send_patterns() 1026 wowlan->patterns[i].pattern, in iwlagn_send_patterns() 1027 wowlan->patterns[i].pattern_len); in iwlagn_send_patterns() 1028 pattern_cmd->patterns[i].mask_size = mask_len; in iwlagn_send_patterns() 1029 pattern_cmd->patterns[i].pattern_size = in iwlagn_send_patterns() 1030 wowlan->patterns[i].pattern_len; in iwlagn_send_patterns()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
D | leds-el15203000.txt | 6 The board manages 3 LEDs and supports predefined blinking patterns 17 Supports next patterns:
|
/kernel/linux/linux-5.10/Documentation/driver-api/driver-model/ |
D | index.rst | 11 design-patterns
|
D | design-patterns.rst | 5 This document describes a few common design patterns found in device drivers. 7 conform to these design patterns.
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | wow.c | 228 struct rtw_wow_pattern *rtw_pattern = rtw_wow->patterns; in rtw_wow_pattern_write() 242 memset(rtw_wow->patterns, 0, sizeof(rtw_wow->patterns)); in rtw_wow_pattern_clear() 783 struct rtw_wow_pattern *rtw_patterns = rtw_wow->patterns; in rtw_wow_set_wakeups() 802 if (wowlan->n_patterns && wowlan->patterns) { in rtw_wow_set_wakeups() 806 wowlan->patterns + i, in rtw_wow_set_wakeups()
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | leds-lp55xx.h | 80 struct lp55xx_predef_pattern *patterns; member
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | io.c | 352 static uint8_t patterns[] = {0xa5, 0x5a, 0x0}; variable 368 patt_count = ARRAY_SIZE(patterns); in torture_peb() 391 memset(ubi->peb_buf, patterns[i], ubi->peb_size); in torture_peb() 396 memset(ubi->peb_buf, ~patterns[i], ubi->peb_size); in torture_peb() 401 err = ubi_check_pattern(ubi->peb_buf, patterns[i], in torture_peb() 405 patterns[i], pnum); in torture_peb()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 424 struct cfg80211_pkt_pattern *patterns = wow->patterns; in _rtl_add_wowlan_patterns() local 438 if (patterns[i].pattern_len < 0 || in _rtl_add_wowlan_patterns() 439 patterns[i].pattern_len > MAX_WOL_PATTERN_SIZE) { in _rtl_add_wowlan_patterns() 444 pattern_os = patterns[i].pattern; in _rtl_add_wowlan_patterns() 445 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in _rtl_add_wowlan_patterns() 446 mask_os = patterns[i].mask; in _rtl_add_wowlan_patterns() 449 patterns[i].pattern_len); in _rtl_add_wowlan_patterns() 509 for (j = 12; j < patterns[i].pattern_len; j++) { in _rtl_add_wowlan_patterns()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/xilinx/ |
D | xlnx,v-tpg.txt | 27 video timings for the TPG test patterns.
|