/linux/net/core/ |
H A D | devmem.c | 47 void __net_devmem_dmabuf_binding_free(struct net_devmem_dmabuf_binding *binding) in __net_devmem_dmabuf_binding_free() argument 51 gen_pool_for_each_chunk(binding->chunk_pool, in __net_devmem_dmabuf_binding_free() 54 size = gen_pool_size(binding->chunk_pool); in __net_devmem_dmabuf_binding_free() 55 avail = gen_pool_avail(binding->chunk_pool); in __net_devmem_dmabuf_binding_free() 59 gen_pool_destroy(binding->chunk_pool); in __net_devmem_dmabuf_binding_free() 61 dma_buf_unmap_attachment_unlocked(binding->attachment, binding->sgt, in __net_devmem_dmabuf_binding_free() 63 dma_buf_detach(binding->dmabuf, binding->attachment); in __net_devmem_dmabuf_binding_free() 64 dma_buf_put(binding->dmabuf); in __net_devmem_dmabuf_binding_free() 65 xa_destroy(&binding->bound_rxqs); in __net_devmem_dmabuf_binding_free() 66 kfree(binding); in __net_devmem_dmabuf_binding_free() [all …]
|
H A D | devmem.h | 23 * the binding to remain alive. Each page pool using this binding holds 24 * a ref to keep the binding alive. Each allocated net_iov holds a 27 * The binding undos itself and unmaps the underlying dmabuf once all 28 * those refs are dropped and the binding is no longer desired or in 38 /* rxq's this binding is active on. */ 41 /* ID of this binding. Globally unique to all bindings currently 64 struct net_devmem_dmabuf_binding *binding; member 67 void __net_devmem_dmabuf_binding_free(struct net_devmem_dmabuf_binding *binding); 71 void net_devmem_unbind_dmabuf(struct net_devmem_dmabuf_binding *binding); 73 struct net_devmem_dmabuf_binding *binding, [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tc_bindings.c | 26 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/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_binding.h | 42 * 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 …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_flow.c | 37 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(sizeof(*binding), GFP_KERNEL); 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 D | binding.h | 19 * @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 66 * struct iwl_time_quota_data_v1 - configuration of time quota per binding 67 * @id_and_color: ID and color of the relevant Binding, 82 * @quotas: allocations per binding [all …]
|
/linux/Documentation/devicetree/bindings/ |
H A D | submitting-patches.rst | 4 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: ..." 25 docs. Repeating "binding" again should also be avoided. 27 2) DT binding files are written in DT schema format using json-schema 28 vocabulary and YAML file format. The DT binding files must pass validation 36 3) DT binding files should be dual licensed. The preferred license tag is 47 the code implementing the binding. 50 previously documented in the corresponding DT binding file [all …]
|
H A D | writing-schema.rst | 17 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. 53 include other schemas the binding conforms to. This may be schemas for a 58 binding. The exact schema syntax depends on whether properties are known, 59 common properties (e.g. 'interrupts') or are binding/vendor-specific 83 binding allows subset of properties from other referenced schemas. 86 Used when this binding references other schema whose all properties 95 Optional. A list of one or more DTS hunks implementing this binding only. [all …]
|
H A D | ABI.rst | 10 "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/net/ethernet/marvell/prestera/ |
H A D | prestera_flow.c | 118 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(sizeof(*binding), GFP_KERNEL); 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 D | prestera_span.c | 123 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 D | prestera_matchall.c | 65 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/sound/soc/intel/avs/ |
H A D | path.c | 618 static int avs_path_binding_arm(struct avs_dev *adev, struct avs_path_binding *binding) in avs_path_binding_arm() argument 625 t = binding->template; in avs_path_binding_arm() 626 this_mod = avs_path_find_module(binding->owner, in avs_path_binding_arm() 656 binding->sink = this_mod; in avs_path_binding_arm() 657 binding->sink_pin = t->mod_pin; in avs_path_binding_arm() 658 binding->source = target_mod; in avs_path_binding_arm() 659 binding->source_pin = t->target_mod_pin; in avs_path_binding_arm() 661 binding->sink = target_mod; in avs_path_binding_arm() 662 binding->sink_pin = t->target_mod_pin; in avs_path_binding_arm() 663 binding->source = this_mod; in avs_path_binding_arm() [all …]
|
/linux/Documentation/devicetree/bindings/clock/ti/ |
H A D | clockdomain.txt | 1 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 D | dra7-atl.txt | 12 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 */
|
H A D | composite.txt | 1 Binding for TI composite clock. 3 This binding uses the common clock binding[1]. It assumes a 14 The binding must provide a list of the component clocks that shall be 26 - #clock-cells : from common clock binding; shall be set to 0. 29 - clock-output-names : from common clock binding.
|
H A D | mux.txt | 1 Binding for TI mux clock. 3 This binding uses the common clock binding[1]. It assumes a 29 The binding must provide the register to control the mux. Optionally 38 - #clock-cells : from common clock binding; shall be set to 0. 43 - clock-output-names : from common clock binding.
|
H A D | divider.txt | 1 Binding for TI divider clock 3 This binding uses the common clock binding[1]. It assumes a 42 The binding must also provide the register to control the divider and 47 This binding can also optionally provide support to the hardware autoidle 55 - #clock-cells : from common clock binding; shall be set to 0. 60 - clock-output-names : from common clock binding.
|
/linux/Documentation/devicetree/bindings/clock/st/ |
H A D | st,clkgen-pll.txt | 1 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 D | st,clkgen-mux.txt | 1 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 D | st,quadfs.txt | 1 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/Documentation/devicetree/bindings/iommu/ |
H A D | mediatek,iommu.yaml | 129 dt-binding/memory/mediatek,mt8188-memory-port.h for mt8188, 130 dt-binding/memory/mt2701-larb-port.h for mt2701 and mt7623, 131 dt-binding/memory/mt2712-larb-port.h for mt2712, 132 dt-binding/memory/mt6779-larb-port.h for mt6779, 133 dt-binding/memory/mt6795-larb-port.h for mt6795, 134 dt-binding/memory/mt8167-larb-port.h for mt8167, 135 dt-binding/memory/mt8173-larb-port.h for mt8173, 136 dt-binding/memory/mt8183-larb-port.h for mt8183, 137 dt-binding/memory/mt8186-memory-port.h for mt8186, 138 dt-binding/memory/mt8192-larb-port.h for mt8192. [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | keystone-pll.txt | 1 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.
|
H A D | keystone-gate.txt | 1 Binding for Keystone gate control driver which uses PSC controller IP. 3 This binding uses the common clock binding[1]. 9 - #clock-cells : from common clock binding; shall be set to 0. 16 - clock-output-names : From common clock binding to override the
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | quota.c | 39 /* currently, PHY ID == binding ID */ in iwl_mvm_quota_iterator() 42 /* need at least one binding per PHY */ in iwl_mvm_quota_iterator() 185 * Reserve quota for the low latency binding in case that in iwl_mvm_update_quotas() 194 "quota: low-latency binding active, remaining quota per other binding: %d\n", in iwl_mvm_update_quotas() 199 * data interfaces belong to the single low latency binding. in iwl_mvm_update_quotas() 205 "quota: splitting evenly per binding: %d\n", in iwl_mvm_update_quotas() 232 * There is more than one binding, but only one of the in iwl_mvm_update_quotas() 235 * binding. in iwl_mvm_update_quotas() 243 "Binding=%d, quota=%u > max=%u\n", in iwl_mvm_update_quotas() 251 /* Give the remainder of the session to the first data binding */ in iwl_mvm_update_quotas() [all …]
|