Home
last modified time | relevance | path

Searched full:binding (Results 1 – 25 of 1504) sorted by relevance

12345678910>>...61

/linux/net/core/
H A Ddevmem.c54 struct net_devmem_dmabuf_binding *binding = in net_devmem_dmabuf_binding_release() local
57 INIT_WORK(&binding->unbind_w, __net_devmem_dmabuf_binding_free); in net_devmem_dmabuf_binding_release()
58 schedule_work(&binding->unbind_w); in net_devmem_dmabuf_binding_release()
63 struct net_devmem_dmabuf_binding *binding = container_of(wq, typeof(*binding), unbind_w); in __net_devmem_dmabuf_binding_free() local
67 gen_pool_for_each_chunk(binding->chunk_pool, in __net_devmem_dmabuf_binding_free()
70 size = gen_pool_size(binding->chunk_pool); in __net_devmem_dmabuf_binding_free()
71 avail = gen_pool_avail(binding->chunk_pool); in __net_devmem_dmabuf_binding_free()
75 gen_pool_destroy(binding->chunk_pool); in __net_devmem_dmabuf_binding_free()
77 dma_buf_unmap_attachment_unlocked(binding->attachment, binding->sgt, in __net_devmem_dmabuf_binding_free()
78 binding->direction); in __net_devmem_dmabuf_binding_free()
[all …]
H A Ddevmem.h28 * the binding to remain alive. Each page pool using this binding holds
29 * a ref to keep the binding alive. The page_pool does not release the
30 * ref until all the net_iovs allocated from this binding are released
33 * The binding undos itself and unmaps the underlying dmabuf once all
34 * those refs are dropped and the binding is no longer desired or in
38 * reference, making sure that the binding remains alive until all the
39 * net_iovs are no longer used. net_iovs allocated from this binding
41 * retransmits) hold a reference to the binding until the skb holding
51 /* rxq's this binding is active on. */
54 /* ID of this binding. Globally unique to all bindings currently
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dtc_bindings.c26 struct efx_tc_block_binding *binding; in efx_tc_find_binding() local
29 list_for_each_entry(binding, &efx->tc->block_list, list) in efx_tc_find_binding()
30 if (binding->otherdev == otherdev) in efx_tc_find_binding()
31 return binding; in efx_tc_find_binding()
38 struct efx_tc_block_binding *binding = cb_priv; in efx_tc_block_cb() local
43 return efx_tc_flower(binding->efx, binding->otherdev, in efx_tc_block_cb()
44 tcf, binding->efv); in efx_tc_block_cb()
52 struct efx_tc_block_binding *binding = cb_priv; in efx_tc_block_unbind() local
54 list_del(&binding->list); in efx_tc_block_unbind()
55 kfree(binding); in efx_tc_block_unbind()
[all …]
/linux/net/shaper/
H A Dshaper.c29 struct net_shaper_binding binding; member
36 return &((struct net_shaper_nl_ctx *)ctx)->binding; in net_shaper_binding_from_ctx()
40 net_shaper_hierarchy(struct net_shaper_binding *binding) in net_shaper_hierarchy() argument
43 if (binding->type == NET_SHAPER_BINDING_TYPE_NETDEV) in net_shaper_hierarchy()
44 return READ_ONCE(binding->netdev->net_shaper_hierarchy); in net_shaper_hierarchy()
51 net_shaper_hierarchy_rcu(struct net_shaper_binding *binding) in net_shaper_hierarchy_rcu() argument
57 if (binding->type == NET_SHAPER_BINDING_TYPE_NETDEV && in net_shaper_hierarchy_rcu()
58 READ_ONCE(binding->netdev->reg_state) <= NETREG_REGISTERED) in net_shaper_hierarchy_rcu()
59 return READ_ONCE(binding->netdev->net_shaper_hierarchy); in net_shaper_hierarchy_rcu()
66 net_shaper_ops(struct net_shaper_binding *binding) in net_shaper_ops() argument
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_binding.h42 * enum vmw_ctx_binding_type - abstract resource to context binding types
63 * struct vmw_ctx_bindinfo - single binding metadata
67 * @ctx: Non-refcounted pointer to the context that owns the binding. NULL
68 * indicates no binding present.
69 * @res: Non-refcounted pointer to the resource the binding points to. This
71 * @bt: Binding type.
72 * @scrubbed: Whether the binding has been scrubbed from the context.
84 * struct vmw_ctx_bindinfo_tex - texture stage binding metadata
87 * @texture_stage: Device data used to reconstruct binding command.
95 * struct vmw_ctx_bindinfo_shader - Shader binding metadata
[all …]
H A Dvmwgfx_binding.c28 * This file implements the vmwgfx context binding manager,
41 * already killed if a resource to which a binding points
47 * to protect all binding manager data.
50 * (surface, shader or even DX query) is conceptually a context binding that
70 * struct vmw_ctx_binding_state - per context binding state
76 * @ds_view: Depth-stencil view binding.
79 * @index_buffer: Index buffer binding.
83 * @dirty: Bitmap tracking per binding-type changes that have not yet
85 * @dirty_vb: Bitmap tracking individual vertex buffer binding changes that
87 * @bind_cmd_buffer: Scratch space used to construct binding commands.
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flow.c37 struct mlxsw_sp_flow_block_binding *binding; in mlxsw_sp_flow_block_lookup() local
39 list_for_each_entry(binding, &block->binding_list, list) in mlxsw_sp_flow_block_lookup()
40 if (binding->mlxsw_sp_port == mlxsw_sp_port && in mlxsw_sp_flow_block_lookup()
41 binding->ingress == ingress) in mlxsw_sp_flow_block_lookup()
42 return binding; in mlxsw_sp_flow_block_lookup()
58 struct mlxsw_sp_flow_block_binding *binding; in mlxsw_sp_flow_block_bind() local
78 binding = kzalloc_obj(*binding); in mlxsw_sp_flow_block_bind()
79 if (!binding) { in mlxsw_sp_flow_block_bind()
83 binding->mlxsw_sp_port = mlxsw_sp_port; in mlxsw_sp_flow_block_bind()
84 binding->ingress = ingress; in mlxsw_sp_flow_block_bind()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dbinding.h19 * @id_and_color: ID and color of the relevant Binding,
22 * @macs: array of MAC id and colors which belong to the binding,
24 * @phy: PHY id and color which belongs to the binding,
39 * @id_and_color: ID and color of the relevant Binding,
42 * @macs: array of MAC id and colors which belong to the binding
44 * @phy: PHY id and color which belongs to the binding
46 * @lmac_id: the lmac id the binding belongs to
64 * struct iwl_time_quota_data_v1 - configuration of time quota per binding
65 * @id_and_color: ID and color of the relevant Binding,
80 * @quotas: allocations per binding
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flow.c118 struct prestera_flow_block_binding *binding; in prestera_flow_block_lookup() local
120 list_for_each_entry(binding, &block->binding_list, list) in prestera_flow_block_lookup()
121 if (binding->port == port) in prestera_flow_block_lookup()
122 return binding; in prestera_flow_block_lookup()
130 struct prestera_flow_block_binding *binding; in prestera_flow_block_bind() local
133 binding = kzalloc_obj(*binding); in prestera_flow_block_bind()
134 if (!binding) in prestera_flow_block_bind()
137 binding->span_id = PRESTERA_SPAN_INVALID_ID; in prestera_flow_block_bind()
138 binding->port = port; in prestera_flow_block_bind()
146 list_add(&binding->list, &block->binding_list); in prestera_flow_block_bind()
[all …]
H A Dprestera_span.c123 int prestera_span_rule_add(struct prestera_flow_block_binding *binding, in prestera_span_rule_add() argument
127 struct prestera_switch *sw = binding->port->sw; in prestera_span_rule_add()
131 if (binding->span_id != PRESTERA_SPAN_INVALID_ID) in prestera_span_rule_add()
139 err = prestera_hw_span_bind(binding->port, span_id, ingress); in prestera_span_rule_add()
145 binding->span_id = span_id; in prestera_span_rule_add()
149 int prestera_span_rule_del(struct prestera_flow_block_binding *binding, in prestera_span_rule_del() argument
154 if (binding->span_id == PRESTERA_SPAN_INVALID_ID) in prestera_span_rule_del()
157 err = prestera_hw_span_unbind(binding->port, ingress); in prestera_span_rule_del()
161 err = prestera_span_put(binding->port->sw, binding->span_id); in prestera_span_rule_del()
165 binding->span_id = PRESTERA_SPAN_INVALID_ID; in prestera_span_rule_del()
H A Dprestera_matchall.c65 struct prestera_flow_block_binding *binding; in prestera_mall_replace() local
97 list_for_each_entry(binding, &block->binding_list, list) { in prestera_mall_replace()
98 err = prestera_span_rule_add(binding, port, block->ingress); in prestera_mall_replace()
111 list_for_each_entry_continue_reverse(binding, in prestera_mall_replace()
113 prestera_span_rule_del(binding, block->ingress); in prestera_mall_replace()
119 struct prestera_flow_block_binding *binding; in prestera_mall_destroy() local
121 list_for_each_entry(binding, &block->binding_list, list) in prestera_mall_destroy()
122 prestera_span_rule_del(binding, block->ingress); in prestera_mall_destroy()
/linux/Documentation/devicetree/bindings/
H A Dsubmitting-patches.rst4 Submitting Devicetree (DT) binding patches
14 be a separate patch. The preferred subject prefix for binding patches is::
16 "dt-bindings: <binding dir>: ..."
21 "<binding dir>: dt-bindings: ..."
26 schema format. Repeating "binding" again should also be avoided, so for
35 2) DT binding files are written in DT schema format using json-schema
36 vocabulary and YAML file format. The DT binding files must pass validation
44 3) DT binding files should be dual licensed. The preferred license tag is
55 the code implementing the binding.
58 previously documented in the corresponding DT binding file
[all …]
H A Dwriting-schema.rst17 top-level properties. Generally, there is one binding defined per file. The
22 URI typically containing the binding's filename and path. For DT schema, it must
34 A one-line description of the hardware being described in the binding schema.
38 for maintainers of this binding.
83 include other schemas the binding conforms to. This may be schemas for a
88 binding. The exact schema syntax depends on whether properties are known,
89 common properties (e.g. 'interrupts') or are binding/vendor-specific
113 binding allows subset of properties from other referenced schemas.
116 Used when this binding references other schema whose all properties
130 Optional. A list of one or more DTS hunks implementing this binding only.
[all …]
H A DABI.rst10 "That still leaves the question of, what does a stable binding look
11 like? Certainly a stable binding means that a newer kernel will not
12 break on an older device tree, but that doesn't mean the binding is
15 then default to the previous behaviour if it is missing. If a binding
21 II. General binding rules
24 binding because it isn't perfect.
30 the old binding. ie. add additional properties, but don't change the
/linux/drivers/gpu/drm/xe/
H A Dxe_late_bind_fw_types.h18 * enum xe_late_bind_fw_id - enum to determine late binding fw index
39 /** @payload: to store the late binding blob */
41 /** @payload_size: late binding blob payload_size */
45 /** @version: late binding blob manifest version */
50 * struct xe_late_bind_component - Late Binding services component
51 * @mei_dev: device that provide Late Binding service.
52 * @ops: Ops implemented by Late Binding driver, used by Xe driver.
54 * Communication between Xe and MEI drivers for Late Binding services
67 /** @late_bind_fw: late binding firmware array */
73 /** @disable: to block late binding reload during pm resume flow*/
/linux/Documentation/devicetree/bindings/clock/ti/
H A Dclockdomain.txt1 Binding for Texas Instruments clockdomain.
3 This binding uses the common clock binding[1] in consumer role.
7 enabled/disabled. This binding doesn't define a new clock
8 binding type, it is used to group existing clock nodes under
15 - #clock-cells : from common clock binding; shall be set to 0.
19 - clock-output-names : from common clock binding.
H A Ddra7-atl.txt12 Clock tree binding:
13 This binding uses the common clock binding[1].
16 Since the clock instances are part of a single IP this binding is used as a node
24 - #clock-cells : from common clock binding; shall be set to 0.
27 Binding for the IP driver:
28 This binding is used to configure the IP driver which is going to handle the
75 /* binding for the IP */
/linux/Documentation/devicetree/bindings/iommu/
H A Dmediatek,iommu.yaml133 dt-binding/memory/mediatek,mt8188-memory-port.h for mt8188,
134 dt-binding/memory/mediatek,mt8189-memory-port.h for mt8189,
135 dt-binding/memory/mt2701-larb-port.h for mt2701 and mt7623,
136 dt-binding/memory/mt2712-larb-port.h for mt2712,
137 dt-binding/memory/mt6779-larb-port.h for mt6779,
138 dt-binding/memory/mt6795-larb-port.h for mt6795,
139 dt-binding/memory/mediatek,mt6893-memory-port.h for mt6893,
140 dt-binding/memory/mt8167-larb-port.h for mt8167,
141 dt-binding/memory/mt8173-larb-port.h for mt8173,
142 dt-binding/memory/mt8183-larb-port.h for mt8183,
[all …]
/linux/Documentation/devicetree/bindings/clock/st/
H A Dst,clkgen-pll.txt1 Binding for a ST pll clock driver.
3 This binding uses the common clock binding[1].
4 Base address is located to the parent node. See clock binding[2]
20 - #clock-cells : From common clock binding; shall be set to 1.
22 - clocks : From common clock binding
24 - clock-output-names : From common clock binding.
H A Dst,clkgen-mux.txt1 Binding for a ST multiplexed clock driver.
3 This binding supports only simple indexed multiplexers, it does not
6 This binding uses the common clock binding[1].
15 - #clock-cells : from common clock binding; shall be set to 0.
19 - clocks : from common clock binding
H A Dst,quadfs.txt1 Binding for a type of quad channel digital frequency synthesizer found on
8 This binding uses the common clock binding[1].
21 - #clock-cells : from common clock binding; shall be set to 1.
25 - clocks : from common clock binding
27 - clock-output-names : From common clock binding. The block has 4
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dquota.c39 /* currently, PHY ID == binding ID */ in iwl_mvm_quota_iterator()
42 /* need at least one binding per PHY */ in iwl_mvm_quota_iterator()
146 * Reserve quota for the low latency binding in case that in iwl_mvm_update_quotas()
155 "quota: low-latency binding active, remaining quota per other binding: %d\n", in iwl_mvm_update_quotas()
160 * data interfaces belong to the single low latency binding. in iwl_mvm_update_quotas()
166 "quota: splitting evenly per binding: %d\n", in iwl_mvm_update_quotas()
193 * There is more than one binding, but only one of the in iwl_mvm_update_quotas()
196 * binding. in iwl_mvm_update_quotas()
204 "Binding=%d, quota=%u > max=%u\n", in iwl_mvm_update_quotas()
212 /* Give the remainder of the session to the first data binding */ in iwl_mvm_update_quotas()
[all …]
/linux/sound/soc/intel/avs/
H A Dpath.c908 static int avs_path_binding_arm(struct avs_dev *adev, struct avs_path_binding *binding) in avs_path_binding_arm() argument
915 t = binding->template; in avs_path_binding_arm()
916 this_mod = avs_path_find_module(binding->owner, in avs_path_binding_arm()
946 binding->sink = this_mod; in avs_path_binding_arm()
947 binding->sink_pin = t->mod_pin; in avs_path_binding_arm()
948 binding->source = target_mod; in avs_path_binding_arm()
949 binding->source_pin = t->target_mod_pin; in avs_path_binding_arm()
951 binding->sink = target_mod; in avs_path_binding_arm()
952 binding->sink_pin = t->target_mod_pin; in avs_path_binding_arm()
953 binding->source = this_mod; in avs_path_binding_arm()
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dkeystone-pll.txt1 Binding for keystone PLLs. The main PLL IP typically has a multiplier,
7 This binding uses the common clock binding[1].
12 - #clock-cells : from common clock binding; shall be set to 0.
41 - #clock-cells : from common clock binding; shall be set to 0.
49 - clock-output-names : From common clock binding.
63 - #clock-cells : from common clock binding; shall be set to 0.
71 - clock-output-names : From common clock binding.
/linux/include/net/
H A Dnet_shaper.h80 * All the shapers belong to the device specified by @binding.
86 int (*group)(struct net_shaper_binding *binding, int leaves_count,
94 * Updates or creates the @shaper on the device specified by @binding.
96 int (*set)(struct net_shaper_binding *binding,
104 * on the device specified by @binding, restoring the default behavior.
106 int (*delete)(struct net_shaper_binding *binding,
114 * specified @scope and device specified by @binding.
116 void (*capabilities)(struct net_shaper_binding *binding,

12345678910>>...61