/linux-5.10/include/linux/ |
D | pci-dma-compat.h | 10 /* 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 …]
|
/linux-5.10/kernel/dma/ |
D | debug.h | 14 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 …]
|
D | debug.c | 58 * @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() 788 dir2name[entry->direction], in dump_show() 853 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change() 1011 if (ref->direction != entry->direction) { in check_unmap() 1013 "DMA memory with different direction " in check_unmap() [all …]
|
/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 47 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-5.10/include/linux/iio/ |
D | events.h | 17 * @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-5.10/tools/testing/selftests/net/forwarding/ |
D | mirror_vlan.sh | 60 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 …]
|
D | mirror_gre_lib.sh | 29 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)"
|
D | mirror_lib.sh | 6 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 47 local direction=$1; shift 70 local direction=$1; shift 76 quick_test_span_dir_ips "$dev" "$direction" "$ip1" "$ip2" 102 local direction=$1; shift
|
D | mirror_gre_flower.sh | 78 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-5.10/Documentation/ABI/testing/ |
D | sysfs-bus-counter | 30 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 …]
|
/linux-5.10/drivers/char/xillybus/ |
D | xillybus_of.c | 38 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()
|
D | xillybus_pcie.c | 36 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()
|
/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb.c | 56 * @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-5.10/Documentation/driver-api/ |
D | generic-counter.rst | 68 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 …]
|
/linux-5.10/drivers/gpio/ |
D | gpio-reg.c | 3 * 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-5.10/drivers/dma-buf/ |
D | udmabuf.c | 52 enum dma_data_direction direction) in get_sg_table() argument 66 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table() 78 enum dma_data_direction direction) in put_sg_table() argument 80 dma_unmap_sgtable(dev, sg, direction, 0); in put_sg_table() 86 enum dma_data_direction direction) in map_udmabuf() argument 88 return get_sg_table(at->dev, at->dmabuf, direction); in map_udmabuf() 93 enum dma_data_direction direction) in unmap_udmabuf() argument 95 return put_sg_table(at->dev, sg, direction); in unmap_udmabuf() 114 enum dma_data_direction direction) in begin_cpu_udmabuf() argument 120 ubuf->sg = get_sg_table(dev, buf, direction); in begin_cpu_udmabuf() [all …]
|
/linux-5.10/drivers/staging/ralink-gdma/ |
D | ralink-gdma.c | 99 enum dma_transfer_direction direction; member 192 switch (config->direction) { in gdma_dma_config() 212 dev_err(dma_dev->ddev.dev, "direction type %d error\n", in gdma_dma_config() 213 config->direction); in gdma_dma_config() 287 if (chan->desc->direction == DMA_MEM_TO_DEV) { in rt305x_gdma_start_transfer() 293 } else if (chan->desc->direction == DMA_DEV_TO_MEM) { in rt305x_gdma_start_transfer() 299 } else if (chan->desc->direction == DMA_MEM_TO_MEM) { in rt305x_gdma_start_transfer() 310 dev_err(dma_dev->ddev.dev, "direction type %d error\n", in rt305x_gdma_start_transfer() 311 chan->desc->direction); in rt305x_gdma_start_transfer() 364 if (chan->desc->direction == DMA_MEM_TO_DEV) { in rt3883_gdma_start_transfer() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/input/ |
D | pwm-vibrator.txt | 7 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-5.10/arch/powerpc/kernel/ |
D | dma-iommu.c | 44 enum dma_data_direction direction, in dma_iommu_map_page() argument 48 size, dma_get_mask(dev), direction, attrs); in dma_iommu_map_page() 53 size_t size, enum dma_data_direction direction, in dma_iommu_unmap_page() argument 56 iommu_unmap_page(get_iommu_table_base(dev), dma_handle, size, direction, in dma_iommu_unmap_page() 62 int nelems, enum dma_data_direction direction, in dma_iommu_map_sg() argument 66 dma_get_mask(dev), direction, attrs); in dma_iommu_map_sg() 70 int nelems, enum dma_data_direction direction, in dma_iommu_unmap_sg() argument 74 direction, attrs); in dma_iommu_unmap_sg()
|
/linux-5.10/sound/pci/hda/ |
D | hda_local.h | 44 #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-5.10/net/sunrpc/auth_gss/ |
D | gss_krb5_seqnum.c | 45 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-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_mgmt.c | 120 * @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-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls.c | 10 enum tls_offload_ctx_dir direction, in mlx5e_ktls_add() argument 21 if (direction == TLS_OFFLOAD_CTX_DIR_TX) in mlx5e_ktls_add() 31 enum tls_offload_ctx_dir direction) in mlx5e_ktls_del() argument 33 if (direction == TLS_OFFLOAD_CTX_DIR_TX) in mlx5e_ktls_del() 41 enum tls_offload_ctx_dir direction) in mlx5e_ktls_resync() argument 43 if (unlikely(direction != TLS_OFFLOAD_CTX_DIR_RX)) in mlx5e_ktls_resync()
|
/linux-5.10/include/sound/ |
D | hda_regmap.h | 45 * @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-5.10/drivers/net/ipa/ |
D | gsi_trans.h | 12 #include <linux/dma-direction.h> 38 * @direction: DMA transfer direction (DMA_NONE for commands) 62 enum dma_data_direction direction; member 135 * @direction: DMA direction for entire SGL (or DMA_NONE) 142 enum dma_data_direction direction); 156 * @direction: Direction of DMA transfer (or DMA_NONE if none required) 160 dma_addr_t addr, enum dma_data_direction direction,
|