Home
last modified time | relevance | path

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

12345678910>>...46

/linux-6.12.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.c74 int direction; member
319 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
492 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
510 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
545 &cln, dir2name[entry->direction], in debug_dma_dump_mappings()
578 &cln, dir2name[entry->direction], in dump_show()
874 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1030 if (ref->direction != entry->direction) { in check_unmap()
1036 dir2name[entry->direction], in check_unmap()
1037 dir2name[ref->direction]); in check_unmap()
[all …]
/linux-6.12.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-6.12.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-6.12.1/tools/testing/selftests/net/forwarding/
Dmirror_gre_lib.sh41 local direction=$1; shift
50 mirror_install $swp1 $direction $tundev "matchall"
53 mirror_uninstall $swp1 $direction
55 log_test "$direction $what"
61 local direction=$1; shift
71 mirror_install $swp1 $direction $tundev "matchall"
82 mirror_uninstall $swp1 $direction
84 log_test "$direction $what"
107 local direction=$1; shift
112 full_test_span_gre_dir_ips "$tundev" "$direction" "$forward_type" \
[all …]
Dmirror_vlan.sh64 local direction=$1; shift
70 mirror_install $swp1 $direction $swp3.555 "matchall"
72 mirror_uninstall $swp1 $direction
74 log_test "$direction mirror to vlan"
85 local direction=$1; shift
91 mirror_install $swp1 $direction $swp3.555 "matchall"
94 mirror_uninstall $swp1 $direction
96 log_test "$direction mirror tagged to vlan"
Dmirror_gre.sh65 local direction=$1; shift
68 case "$direction" in
77 mirror_install $swp1 $direction $tundev "matchall"
83 mirror_uninstall $swp1 $direction
85 log_test "$direction $what: envelope MAC"
/linux-6.12.1/include/linux/iio/
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-6.12.1/drivers/net/ethernet/intel/ixgbe/
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()
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
199 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid()
[all …]
/linux-6.12.1/sound/soc/sdw_utils/
Dsoc_sdw_utils.c64 .direction = {true, true},
82 .direction = {true, true},
102 .direction = {true, true},
122 .direction = {true, true},
135 .direction = {true, false},
155 .direction = {false, true},
169 .direction = {true, true},
189 .direction = {false, true},
203 .direction = {true, false},
223 .direction = {true, true},
[all …]
/linux-6.12.1/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 …]
/linux-6.12.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-6.12.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-6.12.1/drivers/iio/imu/
Dadis_trigger.c31 unsigned long direction = adis->irq_flag & IRQF_TRIGGER_MASK; in adis_validate_irq_flag() local
45 if (direction == IRQF_TRIGGER_NONE) { in adis_validate_irq_flag()
48 } else if (direction != IRQF_TRIGGER_RISING && in adis_validate_irq_flag()
49 direction != IRQF_TRIGGER_FALLING && !adis->data->has_fifo) { in adis_validate_irq_flag()
53 } else if (direction != IRQF_TRIGGER_HIGH && in adis_validate_irq_flag()
54 direction != IRQF_TRIGGER_LOW && adis->data->has_fifo) { in adis_validate_irq_flag()
/linux-6.12.1/arch/powerpc/kernel/
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-6.12.1/drivers/gpio/
Dgpio-reg.c24 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()
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()
/linux-6.12.1/drivers/iio/buffer/
Dindustrialio-triggered-buffer.c42 enum iio_buffer_direction direction, in iio_triggered_buffer_setup_ext() argument
83 buffer->direction = direction; in iio_triggered_buffer_setup_ext()
121 enum iio_buffer_direction direction, in devm_iio_triggered_buffer_setup_ext() argument
127 ret = iio_triggered_buffer_setup_ext(indio_dev, h, thread, direction, in devm_iio_triggered_buffer_setup_ext()
/linux-6.12.1/drivers/dma-buf/
Ddma-buf.c461 enum dma_data_direction direction; in dma_buf_ioctl() local
476 direction = DMA_FROM_DEVICE; in dma_buf_ioctl()
479 direction = DMA_TO_DEVICE; in dma_buf_ioctl()
482 direction = DMA_BIDIRECTIONAL; in dma_buf_ioctl()
489 ret = dma_buf_end_cpu_access(dmabuf, direction); in dma_buf_ioctl()
491 ret = dma_buf_begin_cpu_access(dmabuf, direction); in dma_buf_ioctl()
792 enum dma_data_direction direction) in __map_dma_buf() argument
797 sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction); in __map_dma_buf()
807 direction); in __map_dma_buf()
998 enum dma_data_direction direction) in __unmap_dma_buf() argument
[all …]
Dudmabuf.c109 enum dma_data_direction direction) in get_sg_table() argument
129 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
142 enum dma_data_direction direction) in put_sg_table() argument
144 dma_unmap_sgtable(dev, sg, direction, 0); in put_sg_table()
150 enum dma_data_direction direction) in map_udmabuf() argument
152 return get_sg_table(at->dev, at->dmabuf, direction); in map_udmabuf()
157 enum dma_data_direction direction) in unmap_udmabuf() argument
159 return put_sg_table(at->dev, sg, direction); in unmap_udmabuf()
205 enum dma_data_direction direction) in begin_cpu_udmabuf() argument
212 ubuf->sg = get_sg_table(dev, buf, direction); in begin_cpu_udmabuf()
[all …]
/linux-6.12.1/drivers/input/
Dff-memless.c213 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()
279 effect->direction, in ml_combine_effects()
281 new->direction, weak); in ml_combine_effects()
[all …]
/linux-6.12.1/arch/arm/mach-footbridge/
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()
/linux-6.12.1/net/netfilter/
Dxt_connbytes.c43 switch (sinfo->direction) { in connbytes_mt()
57 switch (sinfo->direction) { in connbytes_mt()
71 switch (sinfo->direction) { in connbytes_mt()
108 if (sinfo->direction != XT_CONNBYTES_DIR_ORIGINAL && in connbytes_mt_check()
109 sinfo->direction != XT_CONNBYTES_DIR_REPLY && in connbytes_mt_check()
110 sinfo->direction != XT_CONNBYTES_DIR_BOTH) in connbytes_mt_check()
/linux-6.12.1/drivers/usb/core/
Dendpoint.c106 char *direction; in direction_show() local
109 direction = "both"; in direction_show()
111 direction = "in"; in direction_show()
113 direction = "out"; in direction_show()
114 return sprintf(buf, "%s\n", direction); in direction_show()
116 static DEVICE_ATTR_RO(direction);
/linux-6.12.1/sound/soc/sof/intel/
Dhda-pcm.c220 int direction = substream->stream; in hda_dsp_pcm_open() local
240 if (hda_always_enable_dmi_l1 && direction == SNDRV_PCM_STREAM_CAPTURE) in hda_dsp_pcm_open()
244 direction == SNDRV_PCM_STREAM_PLAYBACK || in hda_dsp_pcm_open()
248 dsp_stream = hda_dsp_stream_get(sdev, direction, flags); in hda_dsp_pcm_open()
287 if (spcm->stream[direction].dsp_max_burst_size_in_ms) in hda_dsp_pcm_open()
290 spcm->stream[direction].dsp_max_burst_size_in_ms * USEC_PER_MSEC * 2, in hda_dsp_pcm_open()
311 int direction = substream->stream; in hda_dsp_pcm_close() local
314 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()
/linux-6.12.1/arch/powerpc/include/asm/
Diommu.h48 enum dma_data_direction direction,
59 enum dma_data_direction *direction);
218 enum dma_data_direction *direction);
222 enum dma_data_direction *direction);
264 enum dma_data_direction direction,
269 enum dma_data_direction direction,
280 enum dma_data_direction direction,
283 size_t size, enum dma_data_direction direction,

12345678910>>...46