| /linux/net/core/ |
| H A D | devmem.c | 59 struct net_devmem_dmabuf_binding *binding = container_of(wq, typeof(*binding), unbind_w); in __net_devmem_dmabuf_binding_free() local 63 gen_pool_for_each_chunk(binding->chunk_pool, in __net_devmem_dmabuf_binding_free() 66 size = gen_pool_size(binding->chunk_pool); in __net_devmem_dmabuf_binding_free() 67 avail = gen_pool_avail(binding->chunk_pool); in __net_devmem_dmabuf_binding_free() 71 gen_pool_destroy(binding->chunk_pool); in __net_devmem_dmabuf_binding_free() 73 dma_buf_unmap_attachment_unlocked(binding->attachment, binding->sgt, in __net_devmem_dmabuf_binding_free() 74 binding->direction); in __net_devmem_dmabuf_binding_free() 75 dma_buf_detach(binding->dmabuf, binding->attachment); in __net_devmem_dmabuf_binding_free() 76 dma_buf_put(binding->dmabuf); in __net_devmem_dmabuf_binding_free() 77 xa_destroy(&binding->bound_rxqs); 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/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 …]
|
| 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(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/Documentation/devicetree/bindings/clock/ti/ |
| H 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.
|
| 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. 28 This binding is used to configure the IP driver which is going to handle the 75 /* binding for the IP */
|
| H A D | fapll.txt | 3 This binding uses the common clock binding[1]. It assumes a 12 - #clock-cells : from common clock binding; shall be set to 0.
|
| /linux/Documentation/devicetree/bindings/clock/st/ |
| H 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.
|
| H 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
|
| H 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/ |
| 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/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_execbuf.c | 773 struct vmw_ctx_bindinfo_view binding; in vmw_view_bindings_add() local 784 binding.bi.ctx = ctx_node->ctx; in vmw_view_bindings_add() 785 binding.bi.res = view; in vmw_view_bindings_add() 786 binding.bi.bt = binding_type; in vmw_view_bindings_add() 787 binding.shader_slot = shader_slot; in vmw_view_bindings_add() 788 binding.slot = first_slot + i; in vmw_view_bindings_add() 789 vmw_binding_add(ctx_node->staged, &binding.bi, in vmw_view_bindings_add() 790 shader_slot, binding.slot); in vmw_view_bindings_add() 876 struct vmw_ctx_bindinfo_view binding; in vmw_cmd_set_render_target_check() local 883 binding.bi.ctx = ctx; in vmw_cmd_set_render_target_check() [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H 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.
|
| H 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
|
| H A D | axs10x-i2s-pll-clock.txt | 3 This binding uses the common clock binding[1]. 11 - #clock-cells: from common clock binding; Should always be set to 0.
|
| H A D | snps,hsdk-pll-clock.txt | 3 This binding uses the common clock binding[1]. 14 - #clock-cells: from common clock binding; Should always be set to 0.
|
| /linux/Documentation/devicetree/bindings/spi/ |
| H A D | spi-octeon.txt | 7 - #address-cells : <1>, as required by generic SPI binding. 8 - #size-cells : <0>, also as required by generic SPI binding. 10 Child nodes as per the generic SPI binding.
|
| H A D | spi-ath79.txt | 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.
|
| /linux/Documentation/devicetree/bindings/arm/ux500/ |
| H A D | boards.txt | 23 see binding for arm/arm,scu.yaml 26 see binding for interrupt-controller/arm,gic.txt 29 see binding for timer/arm,twd-timer.yaml 32 see binding for clocks/ux500.txt
|
| /linux/Documentation/devicetree/bindings/reset/ |
| H A D | snps,hsdk-reset.txt | 3 This binding uses the common reset binding[1]. 12 - #reset-cells: from common reset binding; Should always be set to 1.
|
| /linux/Documentation/devicetree/bindings/clock/ti/davinci/ |
| H A D | da8xx-cfgchip.txt | 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/input/touchscreen/ |
| H A D | sis_i2c.txt | 7 binding [0]) 10 - pinctrl-names: should be "default" (see pinctrl binding [1]). 12 device (see pinctrl binding [1]).
|