| /linux/net/core/ |
| H A D | devmem.c | 54 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 …]
|
| /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/net/shaper/ |
| H A D | shaper.c | 29 struct net_shaper_binding binding; member 36 return &((struct net_shaper_nl_ctx *)ctx)->binding; in net_shaper_binding_from_ctx() 39 static void net_shaper_lock(struct net_shaper_binding *binding) in net_shaper_lock() argument 41 switch (binding->type) { in net_shaper_lock() 43 netdev_lock(binding->netdev); in net_shaper_lock() 48 static void net_shaper_unlock(struct net_shaper_binding *binding) in net_shaper_unlock() argument 50 switch (binding->type) { in net_shaper_unlock() 52 netdev_unlock(binding->netdev); in net_shaper_unlock() 58 net_shaper_hierarchy(struct net_shaper_binding *binding) in net_shaper_hierarchy() argument 61 if (binding->type == NET_SHAPER_BINDING_TYPE_NETDEV) in net_shaper_hierarchy() [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 …]
|
| H A D | vmwgfx_execbuf.c | 97 * @cur: The context's persistent binding state 98 * @staged: The binding state changes of this command buffer 150 * vmw_execbuf_bindings_commit - Commit modified binding state 153 * @backoff: Whether this is part of the error path and binding state changes 245 * private information in the validation node. Typically the binding manager 722 * Rebind context binding points that have been scrubbed because of eviction. 748 * vmw_view_bindings_add - Add an array of view bindings to a context binding 753 * @binding_type: Binding type for the bindings. 757 * @first_slot: The binding slot to be used for the first view id in @view_ids. 773 struct vmw_ctx_bindinfo_view binding; in vmw_view_bindings_add() local [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_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 …]
|
| H A D | spectrum_acl.c | 108 struct mlxsw_sp_flow_block_binding *binding) in mlxsw_sp_acl_ruleset_bind() argument 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 137 list_for_each_entry(binding, &block->binding_list, list) { in mlxsw_sp_acl_ruleset_block_bind() 138 err = mlxsw_sp_acl_ruleset_bind(mlxsw_sp, block, binding); in mlxsw_sp_acl_ruleset_block_bind() 145 list_for_each_entry_continue_reverse(binding, &block->binding_list, in mlxsw_sp_acl_ruleset_block_bind() 147 mlxsw_sp_acl_ruleset_unbind(mlxsw_sp, block, binding); in mlxsw_sp_acl_ruleset_block_bind() 158 struct mlxsw_sp_flow_block_binding *binding; in mlxsw_sp_acl_ruleset_block_unbind() local [all …]
|
| /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_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 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/drivers/gpu/drm/xe/ |
| H A D | xe_late_bind_fw_types.h | 18 * 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 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 */
|
| /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 | 133 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/ |
| 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/sound/soc/intel/avs/ |
| H A D | path.c | 908 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 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
|
| H A D | axs10x-i2s-pll-clock.txt | 1 Binding for the AXS10X I2S PLL clock 3 This binding uses the common clock binding[1]. 11 - #clock-cells: from common clock binding; Should always be set to 0.
|
| /linux/drivers/misc/mei/ |
| H A D | mei_lb.c | 20 * DOC: Late Binding Firmware Update/Upload 22 * Late Binding is a firmware update/upload mechanism that allows configuration 53 * 1. Host driver (KMD or user-space tool) loads the late binding firmware. 69 * struct mei_lb_req - Late Binding request structure 71 * @type: Type of the Late Binding payload 87 * struct mei_lb_rsp - Late Binding response structure 89 * @type: Type of the Late Binding payload 180 dev_err(dev, "Failed to send late binding request to firmware. %zd\n", bytes); in mei_lb_push_payload() 188 dev_err(dev, "Failed to receive late binding reply from MEI firmware. %zd\n", in mei_lb_push_payload() 281 dev_err(&cldev->dev, "Failed to add late binding master component. %d\n", ret); in mei_lb_probe() [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ti/davinci/ |
| H A D | da8xx-cfgchip.txt | 1 Binding for TI DA8XX/OMAP-L13X/AM17XX/AM18XX CFGCHIP clocks 14 - #clock-cells: from common clock binding; shall be set to 1. 25 - #clock-cells: from common clock binding; shall be set to 0. 33 - #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-cells: from common clock binding; shall be set to 0.
|
| /linux/Documentation/devicetree/bindings/spi/ |
| H A D | spi-ath79.txt | 1 Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller 8 - #address-cells: <1>, as required by generic SPI binding. 9 - #size-cells: <0>, also as required by generic SPI binding. 11 Child nodes as per the generic SPI binding.
|