Home
last modified time | relevance | path

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

12345678910>>...102

/linux-6.14.4/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
317 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
482 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert()
500 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove()
535 dir2name[entry->direction], in debug_dma_dump_mappings()
568 dir2name[entry->direction], in dump_show()
864 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change()
1020 if (ref->direction != entry->direction) { in check_unmap()
1022 "DMA memory with different direction " in check_unmap()
[all …]
/linux-6.14.4/include/linux/iio/
Devents.h17 * @direction: Direction of the event. One of enum iio_event_direction.
27 #define _IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
30 ((u64)direction << 48) | ((u64)modifier << 40) | \
42 * @direction: Direction of the event. One of enum iio_event_direction.
46 type, direction) \ argument
47 _IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
55 * @direction: Direction of the event. One of enum iio_event_direction.
58 #define IIO_UNMOD_EVENT_CODE(chan_type, number, type, direction) \ argument
59 _IIO_EVENT_CODE(chan_type, 0, 0, direction, type, number, 0, 0)
67 * @direction: Direction of the event. One of enum iio_event_direction.
[all …]
/linux-6.14.4/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.14.4/drivers/thermal/
Dthermal_thresholds.c79 if (!(t->direction & THERMAL_THRESHOLD_WAY_UP)) in thermal_thresholds_handle_raising()
97 if (!(t->direction & THERMAL_THRESHOLD_WAY_DOWN)) in thermal_thresholds_handle_dropping()
115 (t->direction & THERMAL_THRESHOLD_WAY_UP) && in thermal_threshold_find_boundaries()
122 (t->direction & THERMAL_THRESHOLD_WAY_DOWN) && in thermal_threshold_find_boundaries()
169 int temperature, int direction) in thermal_thresholds_add() argument
178 if (t->direction == direction) in thermal_thresholds_add()
181 t->direction |= direction; in thermal_thresholds_add()
190 t->direction = direction; in thermal_thresholds_add()
195 thermal_notify_threshold_add(tz, temperature, direction); in thermal_thresholds_add()
203 int temperature, int direction) in thermal_thresholds_delete() argument
[all …]
/linux-6.14.4/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.14.4/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"
/linux-6.14.4/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-6.14.4/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-6.14.4/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},
148 .direction = {false, true},
162 .direction = {false, true},
176 .direction = {true, true},
189 .direction = {false, true},
203 .direction = {false, true},
[all …]
/linux-6.14.4/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.14.4/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()
Dgpio-tps65219.c58 * Depending on NVM config, return an error if direction is output, otherwise the GPIO0 in tps65219_gpio_get()
84 unsigned int direction) in tps65219_gpio_change_direction() argument
90 * Documentation is stating that GPIO0 direction must not be changed in Linux: in tps65219_gpio_change_direction()
93 * Set statically by NVM, changing direction in application can cause a hang. in tps65219_gpio_change_direction()
99 TPS65219_GPIO0_DIR_MASK, direction); in tps65219_gpio_change_direction()
102 "GPIO DEBUG enabled: Fail to change direction to %u for GPIO%d.\n", in tps65219_gpio_change_direction()
103 direction, offset); in tps65219_gpio_change_direction()
109 "GPIO%d direction set by NVM, change to %u failed, not allowed by specification\n", in tps65219_gpio_change_direction()
110 offset, direction); in tps65219_gpio_change_direction()
/linux-6.14.4/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.14.4/Documentation/devicetree/bindings/input/
Dpwm-vibrator.yaml17 The binding supports an optional direction PWM channel, that can be
28 - const: direction
39 direction-duty-cycle-ns:
41 Duty cycle of the direction PWM channel in nanoseconds,
57 pwm-names = "enable", "direction";
58 direction-duty-cycle-ns = <1000000000>;
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-bus-counter66 Counting is continuous in either direction.
75 counting is resumed only when the count direction is
159 What: /sys/bus/counter/devices/counterX/countY/direction
163 Read-only attribute that indicates the count direction of Count
166 Some counter devices are able to determine the direction of
168 determine the direction of movement by evaluating the leading
207 pulse-direction:
209 The input level of signal B determines direction.
212 If direction is forward, rising edges on quadrature pair
213 signal A updates the respective count; if the direction
[all …]
/linux-6.14.4/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.14.4/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-6.14.4/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-6.14.4/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
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.14.4/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-6.14.4/drivers/gpu/drm/vkms/
Dvkms_composer.c136 * direction_for_rotation() - Get the correct reading direction for a given rotation
141 * direction in this plane which correspond to a "left to right writing" in the CRTC.
152 * The CRTC writing direction is from A to B. The plane reading direction in direction_for_rotation()
154 * The reading direction is computed by rotating the vector AB (top-left to top-right) in a in direction_for_rotation()
175 WARN_ONCE(true, "The inverse of the rotation gives an incorrect direction."); in direction_for_rotation()
183 * @direction: direction of the reading
186 * must be rotated and have a shape of 1*pixel_count if @direction is vertical and a shape of
187 * pixel_count*1 if @direction is horizontal.
197 static void clamp_line_coordinates(enum pixel_read_direction direction, in clamp_line_coordinates() argument
207 /* Get the correct number of pixel to blend, it depends of the direction */ in clamp_line_coordinates()
[all …]
/linux-6.14.4/drivers/dma-buf/
Ddma-buf.c462 enum dma_data_direction direction; in dma_buf_ioctl() local
477 direction = DMA_FROM_DEVICE; in dma_buf_ioctl()
480 direction = DMA_TO_DEVICE; in dma_buf_ioctl()
483 direction = DMA_BIDIRECTIONAL; in dma_buf_ioctl()
490 ret = dma_buf_end_cpu_access(dmabuf, direction); in dma_buf_ioctl()
492 ret = dma_buf_begin_cpu_access(dmabuf, direction); in dma_buf_ioctl()
794 enum dma_data_direction direction) in __map_dma_buf() argument
799 sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction); in __map_dma_buf()
809 direction); in __map_dma_buf()
1000 enum dma_data_direction direction) in __unmap_dma_buf() argument
[all …]
/linux-6.14.4/arch/powerpc/include/asm/
Diommu.h42 * When called with direction==DMA_NONE, it is equal to clear().
48 enum dma_data_direction direction,
52 * Exchanges existing TCE with new TCE plus direction bits;
53 * returns old TCE and DMA direction mask.
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,
[all …]

12345678910>>...102