/Linux-v6.1/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 …]
|
/Linux-v6.1/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 40 only support indefinitely patterns, so they always store -1.
|
/Linux-v6.1/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 125 Fill the pages with poison patterns after free_pages() and verify 126 the patterns before alloc_pages. The filling of the memory helps
|
/Linux-v6.1/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-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
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | d3.h | 196 * struct iwl_wowlan_patterns_cmd - WoWLAN wakeup patterns 200 * @n_patterns: number of patterns 205 * @patterns: the patterns, array length in @n_patterns 207 struct iwl_wowlan_pattern_v1 patterns[]; member 295 * struct iwl_wowlan_pattern_v2 - Pattern entry for the WoWLAN wakeup patterns 316 * struct iwl_wowlan_patterns_cmd - WoWLAN wakeup patterns command 320 * @n_patterns: number of patterns 335 * @patterns: the patterns, array length in @n_patterns 337 struct iwl_wowlan_pattern_v2 patterns[]; member 774 * @pattern_number: number of the matched patterns
|
/Linux-v6.1/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()
|
/Linux-v6.1/include/linux/platform_data/ |
D | leds-lp55xx.h | 62 * @patterns : Predefined pattern data for RGB channels 63 * @num_patterns : Number of patterns 80 struct lp55xx_predef_pattern *patterns; member
|
/Linux-v6.1/drivers/gpu/drm/amd/display/include/ |
D | link_service_types.h | 144 /* Test patterns*/ 150 /* phy test patterns*/ 170 /* Link Training Patterns */ 179 /* link test patterns*/ 186 /* audio test patterns*/
|
D | dpcd_defs.h | 71 /* PHY (encoder) test patterns 72 The order of test patterns follows DPCD register PHY_TEST_PATTERN (0x248)
|
/Linux-v6.1/Documentation/driver-api/driver-model/ |
D | design-patterns.rst | 2 Device Driver Design Patterns 5 This document describes a few common design patterns found in device drivers. 7 conform to these design patterns.
|
/Linux-v6.1/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()
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/fpn/fpn_1.0/ |
D | ia_css_fpn_types.h | 25 * This contains the fixed patterns noise values 37 s16 *data; /** Table content (fixed patterns noise).
|
/Linux-v6.1/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() 342 if (patterns[i].pkt_offset < ETH_HLEN) { in ath10k_vif_wow_set_wakeups()
|
/Linux-v6.1/Documentation/devicetree/bindings/leds/ |
D | leds-el15203000.txt | 6 The board manages 3 LEDs and supports predefined blinking patterns 17 Supports next patterns:
|
/Linux-v6.1/Documentation/mm/ |
D | multigen_lru.rst | 53 on page access channels and patterns. There are two access channels: 60 1. The uncertainty in determining the access patterns of the former 70 There are also two access patterns:
|
/Linux-v6.1/Documentation/admin-guide/mm/damon/ |
D | start.rst | 37 Recording Data Access Patterns 40 The commands below record the memory access patterns of a program and save the 54 Visualizing Recorded Patterns
|
/Linux-v6.1/include/linux/mtd/ |
D | rawnand.h | 144 * patterns. 955 * Controller drivers should declare as many patterns as they support and pass 956 * this list of patterns (created with the help of the following macro) to 975 * @patterns: array of supported patterns 976 * @npatterns: length of the @patterns array 978 * The parser descriptor is just an array of supported patterns which will be 982 * It is worth mentioning that patterns will be tested in their declaration 983 * order, and the first match will be taken, so it's important to order patterns 984 * appropriately so that simple/inefficient patterns are placed at the end of 985 * the list. Usually, this is where you put single instruction patterns. [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | lib.c | 1007 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwlagn_send_patterns() 1016 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwlagn_send_patterns() 1018 memcpy(&pattern_cmd->patterns[i].mask, in iwlagn_send_patterns() 1019 wowlan->patterns[i].mask, mask_len); in iwlagn_send_patterns() 1020 memcpy(&pattern_cmd->patterns[i].pattern, in iwlagn_send_patterns() 1021 wowlan->patterns[i].pattern, in iwlagn_send_patterns() 1022 wowlan->patterns[i].pattern_len); in iwlagn_send_patterns() 1023 pattern_cmd->patterns[i].mask_size = mask_len; in iwlagn_send_patterns() 1024 pattern_cmd->patterns[i].pattern_size = in iwlagn_send_patterns() 1025 wowlan->patterns[i].pattern_len; in iwlagn_send_patterns()
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 636 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwl_mvm_send_patterns_v1() 645 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns_v1() 647 memcpy(&pattern_cmd->patterns[i].mask, in iwl_mvm_send_patterns_v1() 648 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns_v1() 649 memcpy(&pattern_cmd->patterns[i].pattern, in iwl_mvm_send_patterns_v1() 650 wowlan->patterns[i].pattern, in iwl_mvm_send_patterns_v1() 651 wowlan->patterns[i].pattern_len); in iwl_mvm_send_patterns_v1() 652 pattern_cmd->patterns[i].mask_size = mask_len; in iwl_mvm_send_patterns_v1() 653 pattern_cmd->patterns[i].pattern_size = in iwl_mvm_send_patterns_v1() 654 wowlan->patterns[i].pattern_len; in iwl_mvm_send_patterns_v1() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath11k/ |
D | wow.c | 343 const struct cfg80211_pkt_pattern *patterns = wowlan->patterns; in ath11k_vif_wow_set_wakeups() local 400 struct cfg80211_pkt_pattern old_pattern = patterns[i]; in ath11k_vif_wow_set_wakeups() 405 if (patterns[i].pattern_len > WOW_MAX_PATTERN_SIZE) in ath11k_vif_wow_set_wakeups() 408 for (j = 0; j < patterns[i].pattern_len; j++) in ath11k_vif_wow_set_wakeups() 409 if (patterns[i].mask[j / 8] & BIT(j % 8)) in ath11k_vif_wow_set_wakeups() 415 if (patterns[i].pkt_offset < ETH_HLEN) { in ath11k_vif_wow_set_wakeups()
|
/Linux-v6.1/lib/ |
D | glob.c | 24 * where a string is matched against a number of patterns. Thus, it 25 * does not preprocess the patterns. It is non-recursive, and run-time
|