| /linux/net/core/ |
| A D | devmem.c | 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() 66 kfree(binding); in __net_devmem_dmabuf_binding_free() 192 binding = kzalloc_node(sizeof(*binding), GFP_KERNEL, in net_devmem_bind_dmabuf() 194 if (!binding) { in net_devmem_bind_dmabuf() 220 binding->sgt = dma_buf_map_attachment_unlocked(binding->attachment, in net_devmem_bind_dmabuf() 256 owner->binding = binding; in net_devmem_bind_dmabuf() 285 return binding; in net_devmem_bind_dmabuf() 299 kfree(binding); in net_devmem_bind_dmabuf() 314 if (!binding) in dev_dmabuf_uninstall() [all …]
|
| A D | devmem.h | 64 struct net_devmem_dmabuf_binding *binding; member 73 struct net_devmem_dmabuf_binding *binding, 91 return net_iov_owner(niov)->binding; in net_iov_binding() 104 return net_iov_owner(niov)->binding->id; in net_iov_binding_id() 110 refcount_inc(&binding->ref); in net_devmem_dmabuf_binding_get() 116 if (!refcount_dec_and_test(&binding->ref)) in net_devmem_dmabuf_binding_put() 119 __net_devmem_dmabuf_binding_free(binding); in net_devmem_dmabuf_binding_put() 123 net_devmem_alloc_dmabuf(struct net_devmem_dmabuf_binding *binding); 142 net_devmem_unbind_dmabuf(struct net_devmem_dmabuf_binding *binding) in net_devmem_unbind_dmabuf() argument 148 struct net_devmem_dmabuf_binding *binding, in net_devmem_bind_dmabuf_to_queue() argument [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| A D | tc_bindings.c | 31 return binding; in efx_tc_find_binding() 43 return efx_tc_flower(binding->efx, binding->otherdev, in efx_tc_block_cb() 55 kfree(binding); in efx_tc_block_unbind() 64 if (!binding) in efx_tc_create_binding() 66 binding->efx = efx; in efx_tc_create_binding() 71 return binding; in efx_tc_create_binding() 102 kfree(binding); in efx_tc_setup_block() 109 if (binding) { in efx_tc_setup_block() 112 binding); in efx_tc_setup_block() 190 if (!binding) in efx_tc_indr_setup_cb() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_flow.c | 37 struct mlxsw_sp_flow_block_binding *binding; in mlxsw_sp_flow_block_lookup() local 41 binding->ingress == ingress) in mlxsw_sp_flow_block_lookup() 42 return binding; in mlxsw_sp_flow_block_lookup() 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() 100 kfree(binding); in mlxsw_sp_flow_block_bind() 115 if (!binding) in mlxsw_sp_flow_block_unbind() 118 list_del(&binding->list); in mlxsw_sp_flow_block_unbind() [all …]
|
| A D | spectrum_acl.c | 114 binding->mlxsw_sp_port, binding->ingress); in mlxsw_sp_acl_ruleset_bind() 119 struct mlxsw_sp_flow_block_binding *binding) in mlxsw_sp_acl_ruleset_unbind() argument 125 binding->mlxsw_sp_port, binding->ingress); in mlxsw_sp_acl_ruleset_unbind() 133 struct mlxsw_sp_flow_block_binding *binding; in mlxsw_sp_acl_ruleset_block_bind() local 158 struct mlxsw_sp_flow_block_binding *binding; in mlxsw_sp_acl_ruleset_block_unbind() local 454 struct mlxsw_sp_flow_block_binding *binding; in mlxsw_sp_acl_rulei_act_mirror() local 463 in_port = binding->mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_mirror() 468 binding->ingress, in mlxsw_sp_acl_rulei_act_mirror() 795 struct mlxsw_sp_flow_block_binding *binding; in mlxsw_sp_acl_rulei_act_sample() local 804 mlxsw_sp_port = binding->mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_sample() [all …]
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_flow.c | 118 struct prestera_flow_block_binding *binding; in prestera_flow_block_lookup() local 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() 138 binding->port = port; in prestera_flow_block_bind() 150 kfree(binding); in prestera_flow_block_bind() 160 if (!binding) in prestera_flow_block_unbind() 163 list_del(&binding->list); in prestera_flow_block_unbind() [all …]
|
| 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()
|
| 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/ |
| A D | path.c | 625 t = binding->template; in avs_path_binding_arm() 672 kfree(binding); in avs_path_binding_free() 681 binding = kzalloc(sizeof(*binding), GFP_KERNEL); in avs_path_binding_create() 682 if (!binding) in avs_path_binding_create() 685 binding->template = t; in avs_path_binding_create() 686 binding->owner = owner; in avs_path_binding_create() 689 return binding; in avs_path_binding_create() 792 if (IS_ERR(binding)) { in avs_path_pipeline_create() 793 ret = PTR_ERR(binding); in avs_path_pipeline_create() 981 sink = binding->sink; in avs_path_bind() [all …]
|
| /linux/Documentation/devicetree/bindings/ |
| 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 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 73 binding, and it hasn't received an Acked-by from the devicetree [all …]
|
| 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
|
| A D | writing-schema.rst | 17 top-level properties. Generally, there is one binding defined per file. The 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 97 provider binding, other nodes referenced by phandle. 106 binding. Each property contains a set of constraints using json-schema 166 binding schema. All of the DT binding documents can be validated using the [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ti/ |
| A D | clockdomain.txt | 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.
|
| A D | composite.txt | 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.
|
| 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. 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/clock/st/ |
| A D | st,clkgen-pll.txt | 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.
|
| A D | st,clkgen-mux.txt | 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
|
| A D | st,quadfs.txt | 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/clock/ |
| A D | keystone-pll.txt | 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.
|
| A D | keystone-gate.txt | 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/Documentation/devicetree/bindings/input/touchscreen/ |
| A D | bu21013.txt | 13 - touchscreen-size-x : General touchscreen binding, see [1]. 14 - touchscreen-size-y : General touchscreen binding, see [1]. 15 - touchscreen-inverted-x : General touchscreen binding, see [1]. 16 - touchscreen-inverted-y : General touchscreen binding, see [1]. 17 - touchscreen-swapped-x-y : General touchscreen binding, see [1].
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_execbuf.c | 901 binding.bi.ctx = ctx; in vmw_cmd_set_render_target_check() 902 binding.bi.res = res; in vmw_cmd_set_render_target_check() 905 vmw_binding_add(node->staged, &binding.bi, 0, binding.slot); in vmw_cmd_set_render_target_check() 2055 vmw_binding_add(ctx_info->staged, &binding.bi, binding.shader_slot, 0); in vmw_cmd_set_shader() 2153 vmw_binding_add(ctx_node->staged, &binding.bi, binding.shader_slot, in vmw_cmd_dx_set_single_constant_buffer() 2154 binding.slot); in vmw_cmd_dx_set_single_constant_buffer() 2276 vmw_binding_add(ctx_node->staged, &binding.bi, binding.shader_slot, 0); in vmw_cmd_dx_set_shader() 2330 vmw_binding_add(ctx_node->staged, &binding.bi, 0, binding.slot); in vmw_cmd_dx_set_vertex_buffers() 2547 binding.slot = i; in vmw_cmd_dx_set_so_targets() 2549 vmw_binding_add(ctx_node->staged, &binding.bi, 0, binding.slot); in vmw_cmd_dx_set_so_targets() [all …]
|
| A D | vmwgfx_binding.c | 575 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_shader() 606 struct vmw_ctx_bindinfo_view *binding = in vmw_binding_scrub_render_target() local 621 cmd->body.type = binding->slot; in vmw_binding_scrub_render_target() 642 struct vmw_ctx_bindinfo_tex *binding = in vmw_binding_scrub_texture() local 705 struct vmw_ctx_bindinfo_cb *binding = in vmw_binding_scrub_cb() local 719 cmd->body.slot = binding->slot; in vmw_binding_scrub_cb() 723 cmd->body.sizeInBytes = binding->size; in vmw_binding_scrub_cb() 1279 struct vmw_ctx_bindinfo_ib *binding = in vmw_binding_scrub_ib() local 1295 cmd->body.format = binding->format; in vmw_binding_scrub_ib() 1296 cmd->body.offset = binding->offset; in vmw_binding_scrub_ib() [all …]
|
| /linux/Documentation/devicetree/bindings/iommu/ |
| A D | mediatek,iommu.yaml | 129 dt-binding/memory/mediatek,mt8188-memory-port.h for mt8188, 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. 139 dt-binding/memory/mt8195-memory-port.h for mt8195. [all …]
|
| /linux/Documentation/devicetree/bindings/hwmon/ |
| A D | cirrus,lochnagar.yaml | 21 This binding document describes the binding for the hardware monitor 24 This binding must be part of the Lochnagar MFD binding:
|