Home
last modified time | relevance | path

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

12345678910>>...92

/Linux-v6.1/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.c58 * @direction: enum dma_data_direction
72 int direction; member
317 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
419 dir2name[entry->direction], in debug_dma_dump_mappings()
518 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
536 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
785 dir2name[entry->direction], in dump_show()
853 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1009 if (ref->direction != entry->direction) { in check_unmap()
1011 "DMA memory with different direction " in check_unmap()
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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)
/Linux-v6.1/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)"
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
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-v6.1/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);
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-bus-counter36 Counting is continuous in either direction.
45 counting is resumed only when the count direction is
75 What: /sys/bus/counter/devices/counterX/countY/direction
79 Read-only attribute that indicates the count direction of Count
82 Some counter devices are able to determine the direction of
84 determine the direction of movement by evaluating the leading
123 pulse-direction:
125 The input level of signal B determines direction.
128 If direction is forward, rising edges on quadrature pair
129 signal A updates the respective count; if the direction
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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()
/Linux-v6.1/sound/soc/sof/
Dcompress.c70 sof_set_transferred_bytes(sstream, spcm->stream[cstream->direction].posn.host_posn, in snd_sof_compr_fragment_elapsed()
74 schedule_work(&spcm->stream[cstream->direction].period_elapsed_work); in snd_sof_compr_fragment_elapsed()
83 int dir = cstream->direction; in create_page_table()
113 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()
153 spcm->prepared[cstream->direction] = false; in sof_compr_free()
156 cancel_work_sync(&spcm->stream[cstream->direction].period_elapsed_work); in sof_compr_free()
157 spcm->stream[cstream->direction].cstream = NULL; in sof_compr_free()
217 pcm->comp_id = spcm->stream[cstream->direction].comp_id; in sof_compr_set_params()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/Documentation/devicetree/bindings/input/
Dpwm-vibrator.yaml17 The binding supports an optional direction PWM channel, that can be
28 - const: direction
37 direction-duty-cycle-ns:
39 Duty cycle of the direction PWM channel in nanoseconds,
55 pwm-names = "enable", "direction";
56 direction-duty-cycle-ns = <1000000000>;
/Linux-v6.1/sound/pci/hda/
Dhda_local.h44 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument
45 HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, 3, xindex, direction, 0)
47 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument
48 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, channel, xindex, direction, 0)
50 #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, \
57 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument
63 .private_value = HDA_COMPOSE_AMP_VAL(nid, channel, xindex, direction) }
[all …]
/Linux-v6.1/net/sunrpc/auth_gss/
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-v6.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c120 * @direction: the direction of the message
129 enum mgmt_direction_type direction, in prepare_header() argument
141 HINIC_MSG_HEADER_SET(direction, DIRECTION) | in prepare_header()
195 * @direction: the direction of the original message
204 enum mgmt_direction_type direction, in send_msg_to_mgmt() argument
213 if (direction == MGMT_RESP) { in send_msg_to_mgmt()
215 direction, cmd, resp_msg_id); in send_msg_to_mgmt()
219 direction, cmd, msg_id); in send_msg_to_mgmt()
239 * @direction: the direction of the original message
249 enum mgmt_direction_type direction, in msg_to_mgmt_sync() argument
[all …]
/Linux-v6.1/drivers/dma-buf/
Dudmabuf.c61 enum dma_data_direction direction) in get_sg_table() argument
75 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
87 enum dma_data_direction direction) in put_sg_table() argument
89 dma_unmap_sgtable(dev, sg, direction, 0); in put_sg_table()
95 enum dma_data_direction direction) in map_udmabuf() argument
97 return get_sg_table(at->dev, at->dmabuf, direction); in map_udmabuf()
102 enum dma_data_direction direction) in unmap_udmabuf() argument
104 return put_sg_table(at->dev, sg, direction); in unmap_udmabuf()
123 enum dma_data_direction direction) in begin_cpu_udmabuf() argument
130 ubuf->sg = get_sg_table(dev, buf, direction); in begin_cpu_udmabuf()
[all …]
/Linux-v6.1/include/sound/
Dhda_regmap.h45 * @dir: direction (#HDA_INPUT, #HDA_OUTPUT)
59 * @dir: direction (#HDA_INPUT, #HDA_OUTPUT)
128 * @direction: #HDA_INPUT or #HDA_OUTPUT
129 * @index: the index value (only for input direction)
151 * @direction: #HDA_INPUT or #HDA_OUTPUT
152 * @idx: the index value (only for input direction)
173 * @direction: #HDA_INPUT or #HDA_OUTPUT
174 * @index: the index value (only for input direction)
195 * @direction: #HDA_INPUT or #HDA_OUTPUT
196 * @idx: the index value (only for input direction)
/Linux-v6.1/drivers/iio/buffer/
Dindustrialio-triggered-buffer.c22 * @direction: Direction of the data stream (in/out).
42 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-v6.1/drivers/input/
Dff-memless.c210 * Only left/right direction should be used (under/over 0x8000) for
211 * forward/reverse motor direction (to keep calculation fast & simple).
213 static u16 ml_calculate_direction(u16 direction, u16 force, in ml_calculate_direction() argument
219 return direction; in ml_calculate_direction()
220 return (((u32)(direction >> 1) * force + in ml_calculate_direction()
251 i = new->direction * 360 / 0xffff; in ml_combine_effects()
273 effect->direction = ml_calculate_direction( in ml_combine_effects()
274 effect->direction, in ml_combine_effects()
276 new->direction, strong); in ml_combine_effects()
278 effect->direction = ml_calculate_direction( in ml_combine_effects()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/ti/
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-v6.1/arch/powerpc/include/asm/
Diommu.h37 * When called with direction==DMA_NONE, it is equal to clear().
43 enum dma_data_direction direction,
47 * Exchanges existing TCE with new TCE plus direction bits;
48 * returns old TCE and DMA direction mask.
54 enum dma_data_direction *direction);
211 enum dma_data_direction *direction);
215 enum dma_data_direction *direction);
254 enum dma_data_direction direction,
259 enum dma_data_direction direction,
270 enum dma_data_direction direction,
[all …]

12345678910>>...92