/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | color.c | 7 #include "color.h" 13 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument 28 if (perf_use_color_default && *color) in __color_vsnprintf() 29 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf() 31 if (perf_use_color_default && *color) in __color_vsnprintf() 39 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf() argument 54 if (perf_use_color_default && *color) in __color_vfprintf() 55 fprintf(fp, "%s", color); in __color_vfprintf() 57 if (perf_use_color_default && *color) in __color_vfprintf() 62 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument 68 color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) color_vfprintf() argument 73 color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...) color_snprintf() argument 85 color_fprintf(FILE *fp, const char *color, const char *fmt, ...) color_fprintf() argument 101 color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf) color_fwrite_lines() argument 126 const char *color = PERF_COLOR_NORMAL; get_percent_color() local 145 const char *color; percent_color_fprintf() local 155 const char *color = get_percent_color(value); value_color_snprintf() local 175 const char *color; percent_color_len_snprintf() local [all...] |
H A D | stat-shadow.c | 5 #include "color.h" 309 const char *color = PERF_COLOR_NORMAL; in get_ratio_color() local 312 color = PERF_COLOR_RED; in get_ratio_color() 314 color = PERF_COLOR_MAGENTA; in get_ratio_color() 316 color = PERF_COLOR_YELLOW; in get_ratio_color() 318 return color; in get_ratio_color() 455 const char *color; in print_stalled_cycles_frontend() local 463 color = get_ratio_color(GRC_STALLED_CYCLES_FE, ratio); in print_stalled_cycles_frontend() 466 out->print_metric(config, out->ctx, color, "%7.2f%%", "frontend cycles idle", in print_stalled_cycles_frontend() 479 const char *color; in print_stalled_cycles_backend() local 500 const char *color; print_branch_misses() local 522 const char *color; print_l1_dcache_misses() local 544 const char *color; print_l1_icache_misses() local 564 const char *color; print_dtlb_cache_misses() local 584 const char *color; print_itlb_cache_misses() local 604 const char *color; print_ll_cache_misses() local 768 const char *color = NULL; print_smi_cost() local 932 const char *color = NULL; perf_stat__print_shadow_stats() local [all...] |
H A D | color.h | 26 * This variable stores the value of color.ui 32 * Use this instead of perf_default_config if you need the value of color.ui. 37 int color_vsnprintf(char *bf, size_t size, const char *color, 39 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args); 40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); 41 int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...); 42 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
|
H A D | debug.c | 16 #include "color.h" 120 const char *color = PERF_COLOR_BLUE; in trace_event_printer() local 128 printed += color_fprintf(fp, color, "\n. ... raw event: size %d bytes\n", in trace_event_printer() 135 printed += color_fprintf(fp, color, " %04x: ", val); in trace_event_printer() 138 printed += color_fprintf(fp, color, " %02x", val); in trace_event_printer() 141 printed += color_fprintf(fp, color, " "); in trace_event_printer() 144 printed += color_fprintf(fp, color, " "); in trace_event_printer() 147 printed += color_fprintf(fp, color, "%c", in trace_event_printer() 151 printed += color_fprintf(fp, color, " "); in trace_event_printer() 154 printed += color_fprintf(fp, color, "\ in trace_event_printer() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | color.c | 7 #include "color.h" 13 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument 28 if (perf_use_color_default && *color) in __color_vsnprintf() 29 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf() 31 if (perf_use_color_default && *color) in __color_vsnprintf() 39 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf() argument 54 if (perf_use_color_default && *color) in __color_vfprintf() 55 fprintf(fp, "%s", color); in __color_vfprintf() 57 if (perf_use_color_default && *color) in __color_vfprintf() 62 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument 68 color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) color_vfprintf() argument 73 color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...) color_snprintf() argument 85 color_fprintf(FILE *fp, const char *color, const char *fmt, ...) color_fprintf() argument 101 color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf) color_fwrite_lines() argument 126 const char *color = PERF_COLOR_NORMAL; get_percent_color() local 145 const char *color; percent_color_fprintf() local 155 const char *color = get_percent_color(value); value_color_snprintf() local 175 const char *color; percent_color_len_snprintf() local [all...] |
H A D | color.h | 26 * This variable stores the value of color.ui 32 * Use this instead of perf_default_config if you need the value of color.ui. 37 int color_vsnprintf(char *bf, size_t size, const char *color, 39 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args); 40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); 41 int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...); 42 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
H A D | highmem.h | 39 static inline unsigned int get_next_pkmap_nr(unsigned int color) in get_next_pkmap_nr() argument 41 last_pkmap_nr_arr[color] = in get_next_pkmap_nr() 42 (last_pkmap_nr_arr[color] + DCACHE_N_COLORS) & LAST_PKMAP_MASK; in get_next_pkmap_nr() 43 return last_pkmap_nr_arr[color] + color; in get_next_pkmap_nr() 46 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) in no_more_pkmaps() argument 51 static inline int get_pkmap_entries_count(unsigned int color) in get_pkmap_entries_count() argument 58 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) in get_pkmap_wait_queue_head() argument 60 return pkmap_map_wait_arr + color; in get_pkmap_wait_queue_head()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_color.c | 48 struct mtk_disp_color *color = dev_get_drvdata(dev); in mtk_color_clk_enable() local 50 return clk_prepare_enable(color->clk); in mtk_color_clk_enable() 55 struct mtk_disp_color *color = dev_get_drvdata(dev); in mtk_color_clk_disable() local 57 clk_disable_unprepare(color->clk); in mtk_color_clk_disable() 64 struct mtk_disp_color *color = dev_get_drvdata(dev); in mtk_color_config() local 66 mtk_ddp_write(cmdq_pkt, w, &color->cmdq_reg, color->regs, DISP_COLOR_WIDTH(color)); in mtk_color_config() 67 mtk_ddp_write(cmdq_pkt, h, &color->cmdq_reg, color in mtk_color_config() 72 struct mtk_disp_color *color = dev_get_drvdata(dev); mtk_color_start() local [all...] |
/kernel/linux/linux-6.6/arch/xtensa/include/asm/ |
H A D | highmem.h | 39 static inline unsigned int get_next_pkmap_nr(unsigned int color) in get_next_pkmap_nr() argument 41 last_pkmap_nr_arr[color] = in get_next_pkmap_nr() 42 (last_pkmap_nr_arr[color] + DCACHE_N_COLORS) & LAST_PKMAP_MASK; in get_next_pkmap_nr() 43 return last_pkmap_nr_arr[color] + color; in get_next_pkmap_nr() 46 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) in no_more_pkmaps() argument 51 static inline int get_pkmap_entries_count(unsigned int color) in get_pkmap_entries_count() argument 58 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) in get_pkmap_wait_queue_head() argument 60 return pkmap_map_wait_arr + color; in get_pkmap_wait_queue_head()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/ |
H A D | sis_accel.h | 46 #define ENCOLOREXP 0x00000002 /* Enhanced color expand */ 61 #define SRCCPUBLITBUF SRCSYSTEM /* source is CPU-driven BitBuffer (for color expand) */ 65 #define PATFG 0x00000000 /* foreground color */ 96 #define AGP_BASE 0x8206 /* color-depth dependent value */ 190 #define SiS300SetupPATFG(color) \ 192 MMIO_OUT32(ivideo->mmio_vbase, BR(7), color);\ 195 #define SiS300SetupPATBG(color) \ 197 MMIO_OUT32(ivideo->mmio_vbase, BR(8), color);\ 200 #define SiS300SetupSRCFG(color) \ 202 MMIO_OUT32(ivideo->mmio_vbase, BR(9), color);\ [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/sis/ |
H A D | sis_accel.h | 46 #define ENCOLOREXP 0x00000002 /* Enhanced color expand */ 61 #define SRCCPUBLITBUF SRCSYSTEM /* source is CPU-driven BitBuffer (for color expand) */ 65 #define PATFG 0x00000000 /* foreground color */ 96 #define AGP_BASE 0x8206 /* color-depth dependent value */ 190 #define SiS300SetupPATFG(color) \ 192 MMIO_OUT32(ivideo->mmio_vbase, BR(7), color);\ 195 #define SiS300SetupPATBG(color) \ 197 MMIO_OUT32(ivideo->mmio_vbase, BR(8), color);\ 200 #define SiS300SetupSRCFG(color) \ 202 MMIO_OUT32(ivideo->mmio_vbase, BR(9), color);\ [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_hw_sequencer.c | 257 * Remove default and add case for all color space in color_space_to_black_color() 258 * so when we forget to add new color space in color_space_to_black_color() 308 struct tg_color *color) in get_mpctree_visual_confirm_color() 324 *color = pipe_colors[top_pipe->pipe_idx]; in get_mpctree_visual_confirm_color() 329 struct tg_color *color) in get_surface_visual_confirm_color() 335 /* set border color to red */ in get_surface_visual_confirm_color() 336 color->color_r_cr = color_value; in get_surface_visual_confirm_color() 338 /* set border color to pink */ in get_surface_visual_confirm_color() 339 color->color_b_cb = color_value; in get_surface_visual_confirm_color() 340 color in get_surface_visual_confirm_color() 306 get_mpctree_visual_confirm_color( struct pipe_ctx *pipe_ctx, struct tg_color *color) get_mpctree_visual_confirm_color() argument 327 get_surface_visual_confirm_color( const struct pipe_ctx *pipe_ctx, struct tg_color *color) get_surface_visual_confirm_color() argument 377 get_hdr_visual_confirm_color( struct pipe_ctx *pipe_ctx, struct tg_color *color) get_hdr_visual_confirm_color() argument 425 get_subvp_visual_confirm_color( struct dc *dc, struct dc_state *context, struct pipe_ctx *pipe_ctx, struct tg_color *color) get_subvp_visual_confirm_color() argument 792 get_mclk_switch_visual_confirm_color( struct dc *dc, struct dc_state *context, struct pipe_ctx *pipe_ctx, struct tg_color *color) get_mclk_switch_visual_confirm_color() argument 828 get_surface_tile_visual_confirm_color( struct pipe_ctx *pipe_ctx, struct tg_color *color) get_surface_tile_visual_confirm_color() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/util/hisi-ptt-decoder/ |
H A D | hisi-ptt-pkt-decoder.c | 15 #include "../color.h" 92 const char *color = PERF_COLOR_BLUE; in hisi_ptt_print_pkt() local 96 color_fprintf(stdout, color, " %08x: ", pos); in hisi_ptt_print_pkt() 98 color_fprintf(stdout, color, "%02x ", buf[pos + i]); in hisi_ptt_print_pkt() 100 color_fprintf(stdout, color, " "); in hisi_ptt_print_pkt() 101 color_fprintf(stdout, color, " %s\n", desc); in hisi_ptt_print_pkt() 124 const char *color = PERF_COLOR_BLUE; in hisi_ptt_4dw_print_dw0() local 130 color_fprintf(stdout, color, " %08x: ", pos); in hisi_ptt_4dw_print_dw0() 132 color_fprintf(stdout, color, "%02x ", buf[pos + i]); in hisi_ptt_4dw_print_dw0() 134 color_fprintf(stdout, color, " "); in hisi_ptt_4dw_print_dw0() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_sspp.c | 331 u8 color; in dpu_hw_sspp_setup_pe_config() local 342 for (color = 0; color < DPU_MAX_PLANES; color++) { in dpu_hw_sspp_setup_pe_config() 343 /* color 2 has the same set of registers as color 1 */ in dpu_hw_sspp_setup_pe_config() 344 if (color == 2) in dpu_hw_sspp_setup_pe_config() 347 lr_pe[color] = ((pe_ext->right_ftch[color] & bytemask) << 24)| in dpu_hw_sspp_setup_pe_config() 348 ((pe_ext->right_rpt[color] in dpu_hw_sspp_setup_pe_config() 524 dpu_hw_sspp_setup_solidfill(struct dpu_sw_pipe *pipe, u32 color) dpu_hw_sspp_setup_solidfill() argument [all...] |
/kernel/linux/linux-5.10/drivers/firewire/ |
H A D | core-topology.c | 99 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument 107 node->color = color; in fw_node_create() 222 node = fw_node_create(q, port_count, card->color); in build_tree() 242 * temporarily abuse node->color for in build_tree() 250 node->color = i; in build_tree() 259 child->ports[child->color] = node; in build_tree() 260 child->color = card->color; in build_tree() 325 node->color in for_each_fw_node() [all...] |
/kernel/linux/linux-6.6/drivers/firewire/ |
H A D | core-topology.c | 100 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument 108 node->color = color; in fw_node_create() 223 node = fw_node_create(q, port_count, card->color); in build_tree() 243 * temporarily abuse node->color for in build_tree() 251 node->color = i; in build_tree() 260 child->ports[child->color] = node; in build_tree() 261 child->color = card->color; in build_tree() 326 node->color in for_each_fw_node() [all...] |
/kernel/linux/linux-5.10/drivers/leds/ |
H A D | leds-bd2802.c | 95 enum led_colors color; member 109 enum led_colors color) in bd2802_is_rgb_off() 111 switch (color) { in bd2802_is_rgb_off() 119 dev_err(&led->client->dev, "%s: Invalid color\n", __func__); in bd2802_is_rgb_off() 143 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) in bd2802_get_base_offset() argument 145 return id * BD2802_LED_OFFSET + color * BD2802_COLOR_OFFSET; in bd2802_get_base_offset() 148 static inline u8 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, in bd2802_get_reg_addr() argument 151 return reg_offset + bd2802_get_base_offset(id, color); in bd2802_get_reg_addr() 172 enum led_colors color, enum led_bits led_bit) in bd2802_update_state() 179 switch (color) { in bd2802_update_state() 108 bd2802_is_rgb_off(struct bd2802_led *led, enum led_ids id, enum led_colors color) bd2802_is_rgb_off() argument 171 bd2802_update_state(struct bd2802_led *led, enum led_ids id, enum led_colors color, enum led_bits led_bit) bd2802_update_state() argument 249 bd2802_set_on(struct bd2802_led *led, enum led_ids id, enum led_colors color) bd2802_set_on() argument 268 bd2802_set_blink(struct bd2802_led *led, enum led_ids id, enum led_colors color) bd2802_set_blink() argument 287 bd2802_turn_on(struct bd2802_led *led, enum led_ids id, enum led_colors color, enum led_bits led_bit) bd2802_turn_on() argument 302 bd2802_turn_off(struct bd2802_led *led, enum led_ids id, enum led_colors color) bd2802_turn_off() argument [all...] |
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-bd2802.c | 95 enum led_colors color; member 109 enum led_colors color) in bd2802_is_rgb_off() 111 switch (color) { in bd2802_is_rgb_off() 119 dev_err(&led->client->dev, "%s: Invalid color\n", __func__); in bd2802_is_rgb_off() 143 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) in bd2802_get_base_offset() argument 145 return id * BD2802_LED_OFFSET + color * BD2802_COLOR_OFFSET; in bd2802_get_base_offset() 148 static inline u8 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, in bd2802_get_reg_addr() argument 151 return reg_offset + bd2802_get_base_offset(id, color); in bd2802_get_reg_addr() 172 enum led_colors color, enum led_bits led_bit) in bd2802_update_state() 179 switch (color) { in bd2802_update_state() 108 bd2802_is_rgb_off(struct bd2802_led *led, enum led_ids id, enum led_colors color) bd2802_is_rgb_off() argument 171 bd2802_update_state(struct bd2802_led *led, enum led_ids id, enum led_colors color, enum led_bits led_bit) bd2802_update_state() argument 249 bd2802_set_on(struct bd2802_led *led, enum led_ids id, enum led_colors color) bd2802_set_on() argument 268 bd2802_set_blink(struct bd2802_led *led, enum led_ids id, enum led_colors color) bd2802_set_blink() argument 287 bd2802_turn_on(struct bd2802_led *led, enum led_ids id, enum led_colors color, enum led_bits led_bit) bd2802_turn_on() argument 302 bd2802_turn_off(struct bd2802_led *led, enum led_ids id, enum led_colors color) bd2802_turn_off() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | ga102.c | 25 ga102_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in ga102_ltc_zbc_clear_color() argument 30 nvkm_wr32(device, 0x17e33c, color[0]); in ga102_ltc_zbc_clear_color() 31 nvkm_wr32(device, 0x17e340, color[1]); in ga102_ltc_zbc_clear_color() 32 nvkm_wr32(device, 0x17e344, color[2]); in ga102_ltc_zbc_clear_color() 33 nvkm_wr32(device, 0x17e348, color[3]); in ga102_ltc_zbc_clear_color()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_color.c | 34 * Program non-arming double buffered color management registers 42 * Program arming double buffered color management registers 55 * Load LUTs (and other single buffered color management 793 static u32 i9xx_lut_8(const struct drm_color_lut *color) in i9xx_lut_8() argument 795 return REG_FIELD_PREP(PALETTE_RED_MASK, drm_color_lut_extract(color->red, 8)) | in i9xx_lut_8() 796 REG_FIELD_PREP(PALETTE_GREEN_MASK, drm_color_lut_extract(color->green, 8)) | in i9xx_lut_8() 797 REG_FIELD_PREP(PALETTE_BLUE_MASK, drm_color_lut_extract(color->blue, 8)); in i9xx_lut_8() 813 static u32 i9xx_lut_10_ldw(const struct drm_color_lut *color) in i9xx_lut_10_ldw() argument 815 return REG_FIELD_PREP(PALETTE_RED_MASK, _i9xx_lut_10_ldw(color[0].red)) | in i9xx_lut_10_ldw() 816 REG_FIELD_PREP(PALETTE_GREEN_MASK, _i9xx_lut_10_ldw(color[ in i9xx_lut_10_ldw() 841 i9xx_lut_10_udw(const struct drm_color_lut *color) i9xx_lut_10_udw() argument 848 i9xx_lut_10_pack(struct drm_color_lut *color, u32 ldw, u32 udw) i9xx_lut_10_pack() argument 863 i9xx_lut_10_pack_slope(struct drm_color_lut *color, u32 ldw, u32 udw) i9xx_lut_10_pack_slope() argument 881 i965_lut_10p6_ldw(const struct drm_color_lut *color) i965_lut_10p6_ldw() argument 889 i965_lut_10p6_udw(const struct drm_color_lut *color) i965_lut_10p6_udw() argument 912 ilk_lut_10(const struct drm_color_lut *color) ilk_lut_10() argument 927 ilk_lut_12p4_ldw(const struct drm_color_lut *color) ilk_lut_12p4_ldw() argument 935 ilk_lut_12p4_udw(const struct drm_color_lut *color) ilk_lut_12p4_udw() argument 1542 ivb_load_lut_max(const struct intel_crtc_state *crtc_state, const struct drm_color_lut *color) ivb_load_lut_max() argument 1698 chv_cgm_degamma_ldw(const struct drm_color_lut *color) chv_cgm_degamma_ldw() argument 1704 chv_cgm_degamma_udw(const struct drm_color_lut *color) chv_cgm_degamma_udw() argument 1732 chv_cgm_gamma_ldw(const struct drm_color_lut *color) chv_cgm_gamma_ldw() argument 1738 chv_cgm_gamma_udw(const struct drm_color_lut *color) chv_cgm_gamma_udw() argument [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | highmem.c | 50 * helper functions in its asm/highmem.h to control cache color of virtual 56 * Determine color of virtual address where the page should be mapped. 65 * Get next index for mapping inside PKMAP region for page with given color. 67 static inline unsigned int get_next_pkmap_nr(unsigned int color) in get_next_pkmap_nr() argument 76 * Determine if page index inside PKMAP region (pkmap_nr) of given color 80 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) in no_more_pkmaps() argument 86 * Get the number of PKMAP entries of the given color. If no free slot is 90 static inline int get_pkmap_entries_count(unsigned int color) in get_pkmap_entries_count() argument 96 * Get head of a wait queue for PKMAP entries of the given color. 100 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) in get_pkmap_wait_queue_head() argument 218 unsigned int color = get_pkmap_color(page); map_new_virtual() local 334 unsigned int color = get_pkmap_color(page); kunmap_high() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 85 * @color: color to apply to node, if this node is not from a VMA, 86 * color must be #I915_COLOR_UNEVICTABLE 90 * the address space (using @size and @color). If the @node does not fit, it 103 u64 size, u64 offset, unsigned long color, in i915_gem_gtt_reserve() 117 node->color = color; in i915_gem_gtt_reserve() 167 * @color: color to apply to node 177 * nodes on either side of the hole must match @color, o 101 i915_gem_gtt_reserve(struct i915_address_space *vm, struct drm_mm_node *node, u64 size, u64 offset, unsigned long color, unsigned int flags) i915_gem_gtt_reserve() argument 192 i915_gem_gtt_insert(struct i915_address_space *vm, struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, u64 start, u64 end, unsigned int flags) i915_gem_gtt_insert() argument [all...] |
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_mm.h | 156 /** @color: Opaque driver-private tag. */ 157 unsigned long color; member 199 unsigned long color, 239 unsigned long color; member 409 unsigned long color, 420 * @color: opaque tag value to use for this node 434 unsigned long color, in drm_mm_insert_node_generic() 438 size, alignment, color, in drm_mm_insert_node_generic() 448 * This is a simplified version of drm_mm_insert_node_generic() with @color set 508 u64 size, u64 alignment, unsigned long color, 432 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, enum drm_mm_insert_mode mode) drm_mm_insert_node_generic() argument 531 drm_mm_scan_init(struct drm_mm_scan *scan, struct drm_mm *mm, u64 size, u64 alignment, unsigned long color, enum drm_mm_insert_mode mode) drm_mm_scan_init() argument [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_mm.h | 158 /** @color: Opaque driver-private tag. */ 159 unsigned long color; member 201 unsigned long color, 241 unsigned long color; member 411 unsigned long color, 422 * @color: opaque tag value to use for this node 436 unsigned long color, in drm_mm_insert_node_generic() 440 size, alignment, color, in drm_mm_insert_node_generic() 450 * This is a simplified version of drm_mm_insert_node_generic() with @color set 510 u64 size, u64 alignment, unsigned long color, 434 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, enum drm_mm_insert_mode mode) drm_mm_insert_node_generic() argument 533 drm_mm_scan_init(struct drm_mm_scan *scan, struct drm_mm *mm, u64 size, u64 alignment, unsigned long color, enum drm_mm_insert_mode mode) drm_mm_scan_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 81 * @color: color to apply to node, if this node is not from a VMA, 82 * color must be #I915_COLOR_UNEVICTABLE 86 * the address space (using @size and @color). If the @node does not fit, it 100 u64 size, u64 offset, unsigned long color, in i915_gem_gtt_reserve() 114 node->color = color; in i915_gem_gtt_reserve() 165 * @color: color to apply to node 175 * nodes on either side of the hole must match @color, o 97 i915_gem_gtt_reserve(struct i915_address_space *vm, struct i915_gem_ww_ctx *ww, struct drm_mm_node *node, u64 size, u64 offset, unsigned long color, unsigned int flags) i915_gem_gtt_reserve() argument 190 i915_gem_gtt_insert(struct i915_address_space *vm, struct i915_gem_ww_ctx *ww, struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, u64 start, u64 end, unsigned int flags) i915_gem_gtt_insert() argument [all...] |