Home
last modified time | relevance | path

Searched refs:apply (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.h95 typedef void (*mlx5hws_action_setter_fp)(struct mlx5hws_actions_apply_data *apply,
235 mlx5hws_action_setter_default_single(struct mlx5hws_actions_apply_data *apply, in mlx5hws_action_setter_default_single() argument
238 apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW5] = 0; in mlx5hws_action_setter_default_single()
239 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW5] = in mlx5hws_action_setter_default_single()
240 htonl(apply->common_res->default_stc->nop_dw5.offset); in mlx5hws_action_setter_default_single()
244 mlx5hws_action_setter_default_double(struct mlx5hws_actions_apply_data *apply, in mlx5hws_action_setter_default_double() argument
247 apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW6] = 0; in mlx5hws_action_setter_default_double()
248 apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW7] = 0; in mlx5hws_action_setter_default_double()
249 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW6] = in mlx5hws_action_setter_default_double()
250 htonl(apply->common_res->default_stc->nop_dw6.offset); in mlx5hws_action_setter_default_double()
[all …]
H A Daction.c2191 hws_action_apply_stc(struct mlx5hws_actions_apply_data *apply, in hws_action_apply_stc() argument
2195 struct mlx5hws_action *action = apply->rule_action[action_idx].action; in hws_action_apply_stc()
2197 apply->wqe_ctrl->stc_ix[stc_idx] = htonl(action->stc.offset); in hws_action_apply_stc()
2201 hws_action_setter_push_vlan(struct mlx5hws_actions_apply_data *apply, in hws_action_setter_push_vlan() argument
2206 rule_action = &apply->rule_action[setter->idx_double]; in hws_action_setter_push_vlan()
2207 apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW6] = 0; in hws_action_setter_push_vlan()
2208 apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW7] = rule_action->push_vlan.vlan_hdr; in hws_action_setter_push_vlan()
2210 hws_action_apply_stc(apply, MLX5HWS_ACTION_STC_IDX_DW6, setter->idx_double); in hws_action_setter_push_vlan()
2211 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW7] = 0; in hws_action_setter_push_vlan()
2215 hws_action_setter_modify_header(struct mlx5hws_actions_apply_data *apply, in hws_action_setter_modify_header() argument
[all …]
H A Drule.c226 struct mlx5hws_actions_apply_data *apply, in hws_rule_create_init() argument
257 apply->tbl_type = tbl->type; in hws_rule_create_init()
258 apply->common_res = &ctx->common_res; in hws_rule_create_init()
259 apply->require_dep = 0; in hws_rule_create_init()
300 struct mlx5hws_actions_apply_data apply; in hws_rule_create_hws() local
316 hws_rule_create_init(rule, &ste_attr, &apply, is_update); in hws_rule_create_hws()
327 apply.wqe_ctrl = &dep_wqe->wqe_ctrl; in hws_rule_create_hws()
328 apply.wqe_data = (__force __be32 *)&dep_wqe->wqe_data; in hws_rule_create_hws()
329 apply.rule_action = rule_actions; in hws_rule_create_hws()
330 apply.queue = queue; in hws_rule_create_hws()
[all …]
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_pm.c43 static int i915_ttm_backup(struct i915_gem_apply_to_region *apply, in i915_ttm_backup() argument
47 container_of(apply, typeof(*pm_apply), base); in i915_ttm_backup()
89 err = i915_gem_object_lock(backup, apply->ww); in i915_ttm_backup()
118 static int i915_ttm_recover(struct i915_gem_apply_to_region *apply, in i915_ttm_recover() argument
138 struct i915_gem_apply_to_region apply = {.ops = &recover_ops}; in i915_ttm_recover_region() local
141 ret = i915_gem_process_region(mr, &apply); in i915_ttm_recover_region()
169 static int i915_ttm_restore(struct i915_gem_apply_to_region *apply, in i915_ttm_restore() argument
173 container_of(apply, typeof(*pm_apply), base); in i915_ttm_restore()
185 err = i915_gem_object_lock(backup, apply->ww); in i915_ttm_restore()
H A Di915_gem_region.c155 struct i915_gem_apply_to_region *apply) in i915_gem_process_region() argument
157 const struct i915_gem_apply_to_region_ops *ops = apply->ops; in i915_gem_process_region()
166 GEM_WARN_ON(apply->ww); in i915_gem_process_region()
188 apply->ww = &ww; in i915_gem_process_region()
189 for_i915_gem_ww(&ww, ret, apply->interruptible) { in i915_gem_process_region()
190 ret = i915_gem_object_lock(obj, apply->ww); in i915_gem_process_region()
195 ret = ops->process_obj(apply, obj); in i915_gem_process_region()
H A Di915_gem_region.h31 int (*process_obj)(struct i915_gem_apply_to_region *apply,
66 struct i915_gem_apply_to_region *apply);
/linux/Documentation/process/
H A Dapplying-patches.rst14 A frequently asked question on the Linux Kernel Mailing List is how to apply
19 In addition to explaining how to apply and revert patches, a brief
20 description of the different kernel trees (and examples of how to apply
31 To correctly apply a patch you need to know what base it was generated from
37 How do I apply or revert a patch?
40 You apply a patch with the ``patch`` program. The patch program reads a diff
122 options. It can either refuse to apply the changes and abort or it can try
123 to find a way to make the patch apply with a few minor changes.
131 usually adjust the line numbers and apply the patch.
145 only patches from kernel.org and you apply the patches in the correct order,
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dmanager-sysfs.c103 r = mgr->apply(mgr); in manager_display_store()
146 r = mgr->apply(mgr); in manager_default_color_store()
190 r = mgr->apply(mgr); in manager_trans_key_type_store()
226 r = mgr->apply(mgr); in manager_trans_key_value_store()
262 r = mgr->apply(mgr); in manager_trans_key_enabled_store()
306 r = mgr->apply(mgr); in manager_alpha_blending_enabled_store()
348 r = mgr->apply(mgr); in manager_cpr_enable_store()
409 r = mgr->apply(mgr); in manager_cpr_coef_store()
H A Doverlay-sysfs.c80 r = old_mgr->apply(old_mgr); in overlay_manager_store()
92 r = mgr->apply(mgr); in overlay_manager_store()
156 r = ovl->manager->apply(ovl->manager); in overlay_position_store()
195 r = ovl->manager->apply(ovl->manager); in overlay_output_size_store()
262 r = ovl->manager->apply(ovl->manager); in overlay_global_alpha_store()
304 r = ovl->manager->apply(ovl->manager); in overlay_pre_mult_alpha_store()
344 r = ovl->manager->apply(ovl->manager); in overlay_zorder_store()
/linux/fs/nls/
H A DKconfig47 DOS/Windows partitions correctly. This does apply to the filenames
59 DOS/Windows partitions correctly. This does apply to the filenames
71 DOS/Windows partitions correctly. This does apply to the filenames
84 DOS/Windows partitions correctly. This does apply to the filenames
100 DOS/Windows partitions correctly. This does apply to the filenames
115 DOS/Windows partitions correctly. This does apply to the filenames
126 DOS/Windows partitions correctly. This does apply to the filenames
137 DOS/Windows partitions correctly. This does apply to the filenames
148 DOS/Windows partitions correctly. This does apply to the filenames
159 DOS/Windows partitions correctly. This does apply to the filenames
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A Ddelay.rst15 3: apply offset and delay to read, write and flush operations on device
17 6: apply offset and delay to device, also apply write_offset and write_delay
/linux/Documentation/gpu/nova/
H A Dguidelines.rst7 This document describes the general project guidelines that apply to nova-core
15 :doc:`../../rust/general-information` apply. Additionally, the following rules
16 apply.
29 :doc:`../../rust/coding-guidelines` apply.
/linux/fs/btrfs/
H A Dprops.c29 int (*apply)(struct btrfs_inode *inode, const char *value, size_t len); member
124 ret = handler->apply(inode, NULL, 0); in btrfs_set_prop()
134 ret = handler->apply(inode, value, value_len); in btrfs_set_prop()
266 ret = handler->apply(BTRFS_I(inode), value, len); in inode_prop_iterator()
381 .apply = prop_compression_apply,
443 ret = h->apply(inode, value, strlen(value)); in btrfs_inode_inherit_props()
/linux/sound/soc/ti/
H A Dams-delta.c344 int apply, ret; in cx81801_receive() local
378 apply = !ams_delta_muted && !cx81801_cmd_pending; in cx81801_receive()
384 if (apply) in cx81801_receive()
424 int apply; in ams_delta_mute() local
431 apply = !cx81801_cmd_pending; in ams_delta_mute()
434 if (apply) in ams_delta_mute()
/linux/arch/riscv/
H A DKconfig.errata19 This will apply the cache management errata to handle the
62 This will apply the SiFive CIP-453 errata to add sign extension
73 This will apply the SiFive CIP-1200 errata to repalce all
115 This will apply the memory attribute extension errata to handle the
128 This will apply the cache management errata to handle the
141 This will apply the overflow errata to handle the non-standard
/linux/tools/bootconfig/
H A Dmain.c497 char *apply = NULL; in main() local
507 apply = optarg; in main()
518 if ((apply && delete) || (delete && list) || (apply && list)) { in main()
530 if (apply) in main()
531 return apply_xbc(path, apply); in main()
/linux/arch/x86/kernel/
H A Dmodule.c88 bool apply) in __write_relocate_add() argument
98 apply ? "Applying" : "Clearing", in __write_relocate_add()
164 if (apply) { in __write_relocate_add()
197 bool apply) in write_relocate_add() argument
209 write, apply); in write_relocate_add()
/linux/Documentation/userspace-api/gpio/
H A Dgpio-v2-line-set-config-ioctl.rst29 The new :c:type:`configuration<gpio_v2_line_config>` to apply to the
41 :ref:`gpio-v2-get-line-config-support` that apply when requesting the lines
42 also apply when updating the line configuration, with the additional
H A Dgpio-handle-set-config-ioctl.rst33 The new :c:type:`configuration<gpiohandle_config>` to apply to the
45 :ref:`gpio-get-linehandle-config-support` that apply when requesting the
46 lines also apply when updating the line configuration, with the additional
/linux/drivers/gpu/drm/xe/
H A DKconfig.profile53 to apply to applicable user. For elevated user, all above MIN
54 and MAX values will apply when this configuration is enable to
55 apply limitation. By default limitation is applied.
/linux/drivers/of/unittest-data/
H A Doverlay_bad_add_dup_prop.dtso11 * This will result in an error and the overlay apply
18 * will occur if the overlay is removed. Since the overlay apply
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Ddebugfs.c119 struct iwl_mld_sniffer_apply *apply = data; in iwl_mld_sniffer_apply() local
121 apply->mld->monitor.cur_aid = cpu_to_le16(apply->aid); in iwl_mld_sniffer_apply()
122 memcpy(apply->mld->monitor.cur_bssid, apply->bssid, in iwl_mld_sniffer_apply()
123 sizeof(apply->mld->monitor.cur_bssid)); in iwl_mld_sniffer_apply()
134 struct iwl_mld_sniffer_apply apply = { in iwl_dbgfs_he_sniffer_params_write() local
158 apply.aid = aid; in iwl_dbgfs_he_sniffer_params_write()
159 apply.bssid = (void *)he_mon_cmd.bssid; in iwl_dbgfs_he_sniffer_params_write()
171 iwl_mld_sniffer_apply, &apply); in iwl_dbgfs_he_sniffer_params_write()
/linux/net/ipv4/
H A Dtcp_bpf.c36 bool apply = apply_bytes; in bpf_tcp_ingress() local
51 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress()
67 if (apply) { in bpf_tcp_ingress()
95 bool apply = apply_bytes; in tcp_bpf_push() local
106 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
127 if (apply) in tcp_bpf_push()
146 if (apply && !apply_bytes) in tcp_bpf_push()
/linux/arch/mips/generic/
H A Dinit.c136 for (; fixups->apply; fixups++) { in apply_mips_fdt_fixups()
137 err = fixups->apply(fdt_out); in apply_mips_fdt_fixups()
/linux/Documentation/driver-api/media/drivers/
H A Dsh_mobile_ceu_camera.rst101 8. Calculate new CEU crop - apply sensor scales to previously calculated
140 5. Calculate and apply host scale = (6' - 6) / (4' - 4)
142 6. Calculate and apply host crop: 6 - 7 = (5 - 2) * (6' - 6) / (5' - 5)

12345678910>>...19