Home
last modified time | relevance | path

Searched full:direction (Results 1 – 25 of 4015) sorted by relevance

12345678910>>...161

/kernel/linux/linux-5.10/include/linux/
Dpci-dma-compat.h10 /* This defines the direction arg to the DMA mapping routines. */
38 pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction) in pci_map_single() argument
40 return dma_map_single(&hwdev->dev, ptr, size, (enum dma_data_direction)direction); in pci_map_single()
45 size_t size, int direction) in pci_unmap_single() argument
47 dma_unmap_single(&hwdev->dev, dma_addr, size, (enum dma_data_direction)direction); in pci_unmap_single()
52 unsigned long offset, size_t size, int direction) in pci_map_page() argument
54 return dma_map_page(&hwdev->dev, page, offset, size, (enum dma_data_direction)direction); in pci_map_page()
59 size_t size, int direction) in pci_unmap_page() argument
61 dma_unmap_page(&hwdev->dev, dma_address, size, (enum dma_data_direction)direction); in pci_unmap_page()
66 int nents, int direction) in pci_map_sg() argument
[all …]
/kernel/linux/linux-6.6/kernel/dma/
Ddebug.h14 int direction, dma_addr_t dma_addr,
18 size_t size, int direction);
21 int nents, int mapped_ents, int direction,
35 size_t size, int direction,
40 size_t size, int direction);
44 int direction);
48 size_t size, int direction);
52 int nelems, int direction);
56 int nelems, int direction);
60 int direction, dma_addr_t dma_addr, in debug_dma_map_page() argument
[all …]
Ddebug.c59 * @direction: enum dma_data_direction
73 int direction; member
318 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
491 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
509 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
544 &cln, dir2name[entry->direction], in debug_dma_dump_mappings()
577 &cln, dir2name[entry->direction], in dump_show()
873 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1029 if (ref->direction != entry->direction) { in check_unmap()
1031 "DMA memory with different direction " in check_unmap()
[all …]
/kernel/linux/linux-5.10/kernel/dma/
Ddebug.h14 int direction, dma_addr_t dma_addr);
17 size_t size, int direction);
20 int nents, int mapped_ents, int direction);
32 size_t size, int direction,
36 size_t size, int direction);
40 int direction);
44 size_t size, int direction);
48 int nelems, int direction);
52 int nelems, int direction);
56 int direction, dma_addr_t dma_addr) in debug_dma_map_page() argument
[all …]
Ddebug.c58 * @direction: enum dma_data_direction
72 int direction; member
317 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
421 dir2name[entry->direction], in debug_dma_dump_mappings()
520 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
538 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
798 dir2name[entry->direction], in dump_show()
866 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1022 if (ref->direction != entry->direction) { in check_unmap()
1024 "DMA memory with different direction " in check_unmap()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/
Drkisp1-common.c17 .direction = RKISP1_ISP_SD_SRC,
24 .direction = RKISP1_ISP_SD_SINK | RKISP1_ISP_SD_SRC,
31 .direction = RKISP1_ISP_SD_SINK | RKISP1_ISP_SD_SRC,
38 .direction = RKISP1_ISP_SD_SINK | RKISP1_ISP_SD_SRC,
45 .direction = RKISP1_ISP_SD_SINK | RKISP1_ISP_SD_SRC,
52 .direction = RKISP1_ISP_SD_SINK | RKISP1_ISP_SD_SRC,
59 .direction = RKISP1_ISP_SD_SINK | RKISP1_ISP_SD_SRC,
66 .direction = RKISP1_ISP_SD_SINK | RKISP1_ISP_SD_SRC,
73 .direction = RKISP1_ISP_SD_SINK | RKISP1_ISP_SD_SRC,
80 .direction = RKISP1_ISP_SD_SINK | RKISP1_ISP_SD_SRC,
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c47 enum tls_offload_ctx_dir direction) in __nfp_net_tls_conn_cnt_changed() argument
52 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
79 if (__nfp_net_tls_conn_cnt_changed(nn, add, direction)) { in nfp_net_tls_conn_cnt_changed()
83 __nfp_net_tls_conn_cnt_changed(nn, -add, direction); in nfp_net_tls_conn_cnt_changed()
91 nfp_net_tls_conn_add(struct nfp_net *nn, enum tls_offload_ctx_dir direction) in nfp_net_tls_conn_add() argument
93 return nfp_net_tls_conn_cnt_changed(nn, 1, direction); in nfp_net_tls_conn_add()
97 nfp_net_tls_conn_remove(struct nfp_net *nn, enum tls_offload_ctx_dir direction) in nfp_net_tls_conn_remove() argument
99 return nfp_net_tls_conn_cnt_changed(nn, -1, direction); in nfp_net_tls_conn_remove()
176 struct sock *sk, int direction) in nfp_net_tls_set_ipv4() argument
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c47 enum tls_offload_ctx_dir direction) in __nfp_net_tls_conn_cnt_changed() argument
52 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
79 if (__nfp_net_tls_conn_cnt_changed(nn, add, direction)) { in nfp_net_tls_conn_cnt_changed()
83 __nfp_net_tls_conn_cnt_changed(nn, -add, direction); in nfp_net_tls_conn_cnt_changed()
91 nfp_net_tls_conn_add(struct nfp_net *nn, enum tls_offload_ctx_dir direction) in nfp_net_tls_conn_add() argument
93 return nfp_net_tls_conn_cnt_changed(nn, 1, direction); in nfp_net_tls_conn_add()
97 nfp_net_tls_conn_remove(struct nfp_net *nn, enum tls_offload_ctx_dir direction) in nfp_net_tls_conn_remove() argument
99 return nfp_net_tls_conn_cnt_changed(nn, -1, direction); in nfp_net_tls_conn_remove()
176 struct sock *sk, int direction) in nfp_net_tls_set_ipv4() argument
[all …]
/kernel/linux/linux-6.6/include/linux/iio/
Devents.h17 * @direction: Direction of the event. One of enum iio_event_direction.
24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
27 ((u64)direction << 48) | ((u64)modifier << 40) | \
38 * @direction: Direction of the event. One of enum iio_event_direction.
42 type, direction) \ argument
43 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
50 * @direction: Direction of the event. One of enum iio_event_direction.
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)
/kernel/linux/linux-5.10/include/linux/iio/
Devents.h17 * @direction: Direction of the event. One of enum iio_event_direction.
24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
27 ((u64)direction << 48) | ((u64)modifier << 40) | \
38 * @direction: Direction of the event. One of enum iio_event_direction.
42 type, direction) \ argument
43 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
50 * @direction: Direction of the event. One of enum iio_event_direction.
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)
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
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 …]
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)"
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
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" \
90 do_test_span_vlan_dir_ips 0 "$h3.555" 555 "$direction" \
92 mirror_uninstall $swp1 $direction
[all …]
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)"
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-counter30 Counting is continuous in either direction.
39 counting is resumed only when the count direction is
68 What: /sys/bus/counter/devices/counterX/countY/direction
72 Read-only attribute that indicates the count direction of Count
75 Some counter devices are able to determine the direction of
77 determine the direction of movement by evaluating the leading
116 pulse-direction:
118 The input level of signal B determines direction.
121 If direction is forward, rising edges on quadrature pair
122 signal A updates the respective count; if the direction
[all …]
/kernel/linux/linux-5.10/drivers/char/xillybus/
Dxillybus_of.c38 int direction) in xilly_dma_sync_single_for_cpu_of() argument
40 dma_sync_single_for_cpu(ep->dev, dma_handle, size, direction); in xilly_dma_sync_single_for_cpu_of()
46 int direction) in xilly_dma_sync_single_for_device_of() argument
48 dma_sync_single_for_device(ep->dev, dma_handle, size, direction); in xilly_dma_sync_single_for_device_of()
54 int direction) in xilly_dma_sync_single_nop() argument
63 data->size, data->direction); in xilly_of_unmap()
71 int direction, in xilly_map_single_of() argument
82 addr = dma_map_single(ep->dev, ptr, size, direction); in xilly_map_single_of()
92 this->direction = direction; in xilly_map_single_of()
Dxillybus_pcie.c36 static int xilly_pci_direction(int direction) in xilly_pci_direction() argument
38 switch (direction) { in xilly_pci_direction()
51 int direction) in xilly_dma_sync_single_for_cpu_pci() argument
56 xilly_pci_direction(direction)); in xilly_dma_sync_single_for_cpu_pci()
62 int direction) in xilly_dma_sync_single_for_device_pci() argument
67 xilly_pci_direction(direction)); in xilly_dma_sync_single_for_device_pci()
75 data->size, data->direction); in xilly_pci_unmap()
89 int direction, in xilly_map_single_pci() argument
101 pci_direction = xilly_pci_direction(direction); in xilly_map_single_pci()
113 this->direction = pci_direction; in xilly_map_single_pci()
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/
Diosm_ipc_pcie.h84 * @direction: DMA direction
90 int direction; member
117 * @direction: Data direction
122 size_t size, dma_addr_t *mapping, int direction);
129 * @direction: Data direction
132 dma_addr_t mapping, int direction);
140 * @direction: DMA data direction
147 int direction, size_t headroom);
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c56 * @direction: Configuring either Tx or Rx
64 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()
173 void ixgbe_dcb_unpack_refill(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_refill() argument
180 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill()
192 void ixgbe_dcb_unpack_bwgid(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_bwgid() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c56 * @direction: Configuring either Tx or Rx
64 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()
173 void ixgbe_dcb_unpack_refill(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_refill() argument
180 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill()
192 void ixgbe_dcb_unpack_bwgid(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_bwgid() argument
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/
Dgeneric-counter.rst68 Signal does not trigger the count function. In Pulse-Direction count
69 function mode, this Signal is evaluated as Direction.
106 * Pulse-Direction:
108 of signal B determines direction.
112 position and direction. The following Quadrature modes are available:
115 If direction is forward, rising edges on quadrature pair signal A
116 updates the respective count; if the direction is backward, falling
118 Quadrature encoding determines the direction.
121 If direction is forward, rising edges on quadrature pair signal B
122 updates the respective count; if the direction is backward, falling
[all …]
/kernel/linux/linux-6.6/sound/soc/sof/
Dcompress.c71 sof_set_transferred_bytes(sstream, spcm->stream[cstream->direction].posn.host_posn, in snd_sof_compr_fragment_elapsed()
75 schedule_work(&spcm->stream[cstream->direction].period_elapsed_work); in snd_sof_compr_fragment_elapsed()
84 int dir = cstream->direction; in create_page_table()
114 dir = cstream->direction; in sof_compr_open()
147 stream.comp_id = spcm->stream[cstream->direction].comp_id; in sof_compr_free()
149 if (spcm->prepared[cstream->direction]) { in sof_compr_free()
152 spcm->prepared[cstream->direction] = false; in sof_compr_free()
155 cancel_work_sync(&spcm->stream[cstream->direction].period_elapsed_work); in sof_compr_free()
156 spcm->stream[cstream->direction].cstream = NULL; in sof_compr_free()
216 pcm->comp_id = spcm->stream[cstream->direction].comp_id; in sof_compr_set_params()
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-reg.c3 * gpio-reg: single register individually fixed-direction GPIOs
16 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()
116 * @direction: bitmask of fixed direction, one per GPIO signal, 1 = in
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()
/kernel/linux/linux-6.6/drivers/gpio/
Dgpio-reg.c3 * gpio-reg: single register individually fixed-direction GPIOs
24 u32 direction; member
37 return r->direction & BIT(offset) ? GPIO_LINE_DIRECTION_IN : in gpio_reg_get_direction()
46 if (r->direction & BIT(offset)) in gpio_reg_direction_output()
57 return r->direction & BIT(offset) ? 0 : -ENOTSUPP; in gpio_reg_direction_input()
82 if (r->direction & mask) { in gpio_reg_get()
124 * @direction: bitmask of fixed direction, one per GPIO signal, 1 = in
140 int base, int num, const char *label, u32 direction, u32 def_out, in gpio_reg_init() argument
168 r->direction = direction; in gpio_reg_init()
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/
Dfuneth_ktls.c19 enum tls_offload_ctx_dir direction, in fun_ktls_add() argument
35 if (direction != TLS_OFFLOAD_CTX_DIR_TX) in fun_ktls_add()
64 tx_ctx = tls_driver_ctx(sk, direction); in fun_ktls_add()
73 enum tls_offload_ctx_dir direction) in fun_ktls_del() argument
79 if (direction != TLS_OFFLOAD_CTX_DIR_TX) in fun_ktls_del()
82 tx_ctx = __tls_driver_ctx(tls_ctx, direction); in fun_ktls_del()
96 u8 *rcd_sn, enum tls_offload_ctx_dir direction) in fun_ktls_resync() argument
103 if (direction != TLS_OFFLOAD_CTX_DIR_TX) in fun_ktls_resync()
106 tx_ctx = tls_driver_ctx(sk, direction); in fun_ktls_resync()

12345678910>>...161