Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 25 of 1978) sorted by relevance

12345678910>>...80

/linux/include/linux/
A Dpci-dma-compat.h38 pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction) in pci_map_single() argument
45 size_t size, int direction) in pci_unmap_single() argument
52 unsigned long offset, size_t size, int direction) in pci_map_page() argument
59 size_t size, int direction) in pci_unmap_page() argument
66 int nents, int direction) in pci_map_sg() argument
73 int nents, int direction) in pci_unmap_sg() argument
75 dma_unmap_sg(&hwdev->dev, sg, nents, (enum dma_data_direction)direction); in pci_unmap_sg()
80 size_t size, int direction) in pci_dma_sync_single_for_cpu() argument
87 size_t size, int direction) in pci_dma_sync_single_for_device() argument
94 int nelems, int direction) in pci_dma_sync_sg_for_cpu() argument
[all …]
/linux/kernel/dma/
A Ddebug.h18 size_t size, int direction);
35 size_t size, int direction,
40 size_t size, int direction);
44 int direction);
52 int nelems, int direction);
56 int nelems, int direction);
66 size_t size, int direction) in debug_dma_unmap_page() argument
94 size_t size, int direction, in debug_dma_map_resource() argument
102 int direction) in debug_dma_unmap_resource() argument
108 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument
[all …]
A Ddebug.c1011 if (ref->direction != entry->direction) { in check_unmap()
1109 if (ref->direction != entry->direction) { in check_sync()
1215 entry->direction = direction; in debug_dma_map_page()
1275 .direction = direction, in debug_dma_unmap_page()
1311 entry->direction = direction; in debug_dma_map_sg()
1453 entry->direction = direction; in debug_dma_map_resource()
1467 .direction = direction, in debug_dma_unmap_resource()
1488 ref.direction = direction; in debug_dma_sync_single_for_cpu()
1507 ref.direction = direction; in debug_dma_sync_single_for_device()
1531 .direction = direction, in debug_dma_sync_sg_for_cpu()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/crypto/
A Dtls.c52 if (direction == TLS_OFFLOAD_CTX_DIR_TX) { in __nfp_net_tls_conn_cnt_changed()
73 enum tls_offload_ctx_dir direction) in nfp_net_tls_conn_cnt_changed() argument
176 struct sock *sk, int direction) in nfp_net_tls_set_ipv4() argument
194 struct sock *sk, int direction) in nfp_net_tls_set_ipv6() argument
215 int direction) in nfp_net_tls_set_l4() argument
232 switch (direction) { in nfp_tls_1_2_dir_to_opcode()
245 enum tls_offload_ctx_dir direction) in nfp_net_cipher_supported() argument
265 enum tls_offload_ctx_dir direction, in nfp_net_tls_add() argument
386 ntls = tls_driver_ctx(sk, direction); in nfp_net_tls_add()
411 enum tls_offload_ctx_dir direction) in nfp_net_tls_del() argument
[all …]
/linux/tools/testing/selftests/net/forwarding/
A Dmirror_vlan.sh60 local direction=$1; shift
66 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"
67 test_span_dir "$h3.555" "$direction" "$forward_type" "$backward_type"
68 mirror_uninstall $swp1 $direction
70 log_test "$direction mirror to vlan ($tcflags)"
81 local direction=$1; shift
87 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"
88 do_test_span_vlan_dir_ips 10 "$h3.555" 111 "$direction" ip \
90 do_test_span_vlan_dir_ips 0 "$h3.555" 555 "$direction" ip \
92 mirror_uninstall $swp1 $direction
[all …]
A Dmirror_gre_lib.sh29 local direction=$1; shift
38 mirror_install $swp1 $direction $tundev "matchall $tcflags"
39 test_span_dir_ips "h3-$tundev" "$direction" "$forward_type" \
41 mirror_uninstall $swp1 $direction
43 log_test "$direction $what ($tcflags)"
49 local direction=$1; shift
59 mirror_install $swp1 $direction $tundev "matchall $tcflags"
61 test_span_dir_ips "h3-$tundev" "$direction" "$forward_type" \
70 mirror_uninstall $swp1 $direction
72 log_test "$direction $what ($tcflags)"
A Dmirror_lib.sh6 local direction=$1; shift
10 tc filter add dev $from_dev $direction \
18 local direction=$1; shift
20 tc filter del dev $swp1 $direction pref 1000
62 local direction=$1; shift
85 local direction=$1; shift
91 quick_test_span_dir_ips "$dev" "$direction" "$ip1" "$ip2"
117 local direction=$1; shift
A Dmirror_gre_flower.sh78 local direction=$1; shift
86 mirror_install $swp1 $direction $tundev \
88 fail_test_span_gre_dir $tundev $direction
89 test_span_gre_dir_acl "$tundev" "$direction" \
91 mirror_uninstall $swp1 $direction
94 fail_test_span_gre_dir_acl "$tundev" "$direction"
96 log_test "$direction $what ($tcflags)"
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_dcb.c64 int max_frame, u8 direction) in ixgbe_dcb_calculate_tc_credits() argument
85 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()
86 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits()
107 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()
108 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits()
140 if (direction == DCB_TX_CONFIG) { in ixgbe_dcb_calculate_tc_credits()
180 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill()
199 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid()
209 ptype[tc] = tc_config[tc].path[direction].prio_type; in ixgbe_dcb_unpack_prio()
228 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) in ixgbe_dcb_get_tc_from_up()
[all …]
/linux/net/sunrpc/auth_gss/
A Dgss_krb5_seqnum.c45 int direction, in krb5_make_seq_num() argument
61 plain[4] = direction; in krb5_make_seq_num()
62 plain[5] = direction; in krb5_make_seq_num()
63 plain[6] = direction; in krb5_make_seq_num()
64 plain[7] = direction; in krb5_make_seq_num()
75 int *direction, u32 *seqnum) in krb5_get_seq_num() argument
96 *direction = plain[4]; in krb5_get_seq_num()
/linux/include/linux/iio/
A Devents.h24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
27 ((u64)direction << 48) | ((u64)modifier << 40) | \
42 type, direction) \ argument
43 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
53 #define IIO_UNMOD_EVENT_CODE(chan_type, number, type, direction) \ argument
54 IIO_EVENT_CODE(chan_type, 0, 0, direction, type, number, 0, 0)
/linux/sound/pci/hda/
A Dhda_local.h50 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument
51 HDA_CODEC_VOLUME_MONO(xname, nid, 3, xindex, direction)
53 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument
54 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, 3, xindex, direction, \
66 HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, 3, xindex, direction)
71 #define HDA_CODEC_MUTE(xname, nid, xindex, direction) \ argument
72 HDA_CODEC_MUTE_MONO(xname, nid, 3, xindex, direction)
91 #define HDA_CODEC_MUTE_BEEP(xname, nid, xindex, direction) \ argument
92 HDA_CODEC_MUTE_BEEP_MONO(xname, nid, 3, xindex, direction)
122 int direction, int idx, int mask, int val);
[all …]
/linux/drivers/dma-buf/
A Dudmabuf.c58 enum dma_data_direction direction) in get_sg_table() argument
72 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
84 enum dma_data_direction direction) in put_sg_table() argument
86 dma_unmap_sgtable(dev, sg, direction, 0); in put_sg_table()
92 enum dma_data_direction direction) in map_udmabuf() argument
99 enum dma_data_direction direction) in unmap_udmabuf() argument
101 return put_sg_table(at->dev, sg, direction); in unmap_udmabuf()
120 enum dma_data_direction direction) in begin_cpu_udmabuf() argument
126 ubuf->sg = get_sg_table(dev, buf, direction); in begin_cpu_udmabuf()
131 direction); in begin_cpu_udmabuf()
[all …]
A Ddma-buf.c344 enum dma_data_direction direction; in dma_buf_ioctl() local
359 direction = DMA_FROM_DEVICE; in dma_buf_ioctl()
362 direction = DMA_TO_DEVICE; in dma_buf_ioctl()
365 direction = DMA_BIDIRECTIONAL; in dma_buf_ioctl()
803 enum dma_data_direction direction) in __unmap_dma_buf() argument
920 enum dma_data_direction direction) in dma_buf_map_attachment() argument
938 if (attach->dir != direction && in dma_buf_map_attachment()
964 attach->dir = direction; in dma_buf_map_attachment()
1000 enum dma_data_direction direction) in dma_buf_unmap_attachment() argument
1133 direction == DMA_TO_DEVICE); in __dma_buf_begin_cpu_access()
[all …]
/linux/drivers/gpio/
A Dgpio-reg.c16 u32 direction; member
29 return r->direction & BIT(offset) ? GPIO_LINE_DIRECTION_IN : in gpio_reg_get_direction()
38 if (r->direction & BIT(offset)) in gpio_reg_direction_output()
49 return r->direction & BIT(offset) ? 0 : -ENOTSUPP; in gpio_reg_direction_input()
74 if (r->direction & mask) { in gpio_reg_get()
132 int base, int num, const char *label, u32 direction, u32 def_out, in gpio_reg_init() argument
160 r->direction = direction; in gpio_reg_init()
/linux/arch/powerpc/kernel/
A Ddma-iommu.c101 enum dma_data_direction direction, in dma_iommu_map_page() argument
105 size, dma_get_mask(dev), direction, attrs); in dma_iommu_map_page()
110 size_t size, enum dma_data_direction direction, in dma_iommu_unmap_page() argument
113 iommu_unmap_page(get_iommu_table_base(dev), dma_handle, size, direction, in dma_iommu_unmap_page()
119 int nelems, enum dma_data_direction direction, in dma_iommu_map_sg() argument
123 dma_get_mask(dev), direction, attrs); in dma_iommu_map_sg()
127 int nelems, enum dma_data_direction direction, in dma_iommu_unmap_sg() argument
131 direction, attrs); in dma_iommu_unmap_sg()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dktls.c11 enum tls_offload_ctx_dir direction, in mlx5e_ktls_add() argument
22 if (direction == TLS_OFFLOAD_CTX_DIR_TX) in mlx5e_ktls_add()
32 enum tls_offload_ctx_dir direction) in mlx5e_ktls_del() argument
34 if (direction == TLS_OFFLOAD_CTX_DIR_TX) in mlx5e_ktls_del()
42 enum tls_offload_ctx_dir direction) in mlx5e_ktls_resync() argument
44 if (unlikely(direction != TLS_OFFLOAD_CTX_DIR_RX)) in mlx5e_ktls_resync()
A Dtls.c103 enum tls_offload_ctx_dir direction, in mlx5e_tls_add() argument
125 direction == TLS_OFFLOAD_CTX_DIR_TX); in mlx5e_tls_add()
129 if (direction == TLS_OFFLOAD_CTX_DIR_TX) { in mlx5e_tls_add()
150 enum tls_offload_ctx_dir direction) in mlx5e_tls_del() argument
155 handle = ntohl((direction == TLS_OFFLOAD_CTX_DIR_TX) ? in mlx5e_tls_del()
160 direction == TLS_OFFLOAD_CTX_DIR_TX); in mlx5e_tls_del()
165 enum tls_offload_ctx_dir direction) in mlx5e_tls_resync() argument
172 if (WARN_ON_ONCE(direction != TLS_OFFLOAD_CTX_DIR_RX)) in mlx5e_tls_resync()
/linux/drivers/staging/ralink-gdma/
A Dralink-gdma.c98 enum dma_transfer_direction direction; member
191 switch (config->direction) { in gdma_dma_config()
212 config->direction); in gdma_dma_config()
310 chan->desc->direction); in rt305x_gdma_start_transfer()
385 chan->desc->direction); in rt3883_gdma_start_transfer()
530 if (direction == DMA_MEM_TO_DEV) { in gdma_dma_prep_slave_sg()
536 direction); in gdma_dma_prep_slave_sg()
550 desc->direction = direction; in gdma_dma_prep_slave_sg()
597 desc->direction = DMA_MEM_TO_MEM; in gdma_dma_prep_dma_memcpy()
636 direction); in gdma_dma_prep_dma_cyclic()
[all …]
/linux/drivers/media/v4l2-core/
A Dvideobuf-dma-sg.c152 int direction, unsigned long data, unsigned long size) in videobuf_dma_init_user_locked() argument
158 dma->direction = direction; in videobuf_dma_init_user_locked()
159 switch (dma->direction) { in videobuf_dma_init_user_locked()
204 ret = videobuf_dma_init_user_locked(dma, direction, data, size); in videobuf_dma_init_user()
217 dma->direction = direction; in videobuf_dma_init_kernel()
274 dma->direction = direction; in videobuf_dma_init_overlay()
314 dma->nr_pages, dma->direction); in videobuf_dma_map()
335 dma_unmap_sg(dev, dma->sglist, dma->nr_pages, dma->direction); in videobuf_dma_unmap()
353 dma->direction == DMA_FROM_DEVICE); in videobuf_dma_free()
376 dma->direction = DMA_NONE; in videobuf_dma_free()
[all …]
/linux/drivers/input/
A Dff-memless.c222 return direction; in ml_calculate_direction()
223 return (((u32)(direction >> 1) * force + in ml_calculate_direction()
254 i = new->direction * 360 / 0xffff; in ml_combine_effects()
277 effect->direction, in ml_combine_effects()
279 new->direction, strong); in ml_combine_effects()
282 effect->direction, in ml_combine_effects()
284 new->direction, weak); in ml_combine_effects()
286 effect->direction = 0; in ml_combine_effects()
303 effect->direction, in ml_combine_effects()
305 new->direction, i); in ml_combine_effects()
[all …]
/linux/Documentation/devicetree/bindings/input/
A Dpwm-vibrator.txt7 The binding supports an optional direction PWM channel, that can be
13 - pwm-names: Should contain "enable" and optionally "direction"
18 - direction-duty-cycle-ns: Duty cycle of the direction PWM channel in
63 pwm-names = "enable", "direction";
64 direction-duty-cycle-ns = <1000000000>;
/linux/drivers/iio/buffer/
A Dindustrialio-triggered-buffer.c42 enum iio_buffer_direction direction, in iio_triggered_buffer_setup_ext() argument
73 buffer->direction = direction; in iio_triggered_buffer_setup_ext()
111 enum iio_buffer_direction direction, in devm_iio_triggered_buffer_setup_ext() argument
117 ret = iio_triggered_buffer_setup_ext(indio_dev, h, thread, direction, in devm_iio_triggered_buffer_setup_ext()
/linux/arch/arm64/boot/dts/ti/
A Dk3-am65-iot2050-common.dtsi406 "IO1", "IO2", "", "IO3", "IO17-direction", "A5",
407 "IO16-direction", "IO15-direction", "IO14-direction", "A3",
409 "", "IO18-direction", "A4", "A2", "A1", "A0", "", "", "IO13",
458 "IO0-direction", "IO1-direction", "IO2-direction",
459 "IO3-direction", "IO4-direction", "IO5-direction",
460 "IO6-direction", "IO7-direction",
461 "IO8-direction", "IO9-direction", "IO10-direction",
462 "IO11-direction", "IO12-direction", "IO13-direction",
463 "IO19-direction";
/linux/arch/arm/kernel/
A Ddma-isa.c66 enum dma_data_direction direction; in isa_enable_dma() local
71 direction = DMA_FROM_DEVICE; in isa_enable_dma()
75 direction = DMA_TO_DEVICE; in isa_enable_dma()
79 direction = DMA_BIDIRECTIONAL; in isa_enable_dma()
83 direction = DMA_NONE; in isa_enable_dma()
97 direction); in isa_enable_dma()

Completed in 46 milliseconds

12345678910>>...80