| /linux/kernel/dma/ |
| H A D | debug.h | 13 size_t size, int direction, dma_addr_t dma_addr, 17 size_t size, int direction); 20 int nents, int mapped_ents, int direction, 35 int direction); 39 size_t size, int direction); 43 int nelems, int direction); 47 int nelems, int direction); 49 size_t size, int direction, 53 size_t size, int direction, 57 size_t size, int direction, in debug_dma_map_phys() argument [all …]
|
| H A D | debug.c | 75 int direction; member 320 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find() 485 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert() 503 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove() 538 dir2name[entry->direction], in debug_dma_dump_mappings() 571 dir2name[entry->direction], in dump_show() 869 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change() 1026 if (ref->direction != entry->direction) { in check_unmap() 1032 dir2name[entry->direction], in check_unmap() 1033 dir2name[ref->direction]); in check_unmap() [all …]
|
| /linux/drivers/media/platform/rockchip/rkisp1/ |
| H A D | rkisp1-common.c | 17 .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/drivers/thermal/ |
| H A D | thermal_thresholds.c | 79 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/tools/testing/selftests/net/forwarding/ |
| H A D | mirror_gre_lib.sh | 41 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 …]
|
| H A D | mirror_vlan.sh | 64 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"
|
| H A D | mirror_gre.sh | 65 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/sound/soc/sdw_utils/ |
| H A D | soc_sdw_utils.c | 66 .direction = {true, true}, 85 .direction = {true, true}, 104 .direction = {true, true}, 125 .direction = {true, true}, 146 .direction = {true, true}, 159 .direction = {true, false}, 173 .direction = {false, true}, 188 .direction = {false, true}, 203 .direction = {true, true}, 216 .direction [all...] |
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_dcb.c | 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 199 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid() [all …]
|
| /linux/sound/hda/common/ |
| H A D | hda_local.h | 46 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument 47 HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, 3, xindex, direction, 0) 49 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument 50 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, channel, xindex, direction, 0) 52 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument 53 HDA_CODEC_VOLUME_MONO(xname, nid, 3, xindex, direction) 55 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument 56 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, 3, xindex, direction, \ 59 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument 65 .private_value = HDA_COMPOSE_AMP_VAL(nid, channel, xindex, direction) } [all …]
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_ktls.c | 19 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/drivers/iio/imu/ |
| H A D | adis_trigger.c | 31 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/drivers/gpio/ |
| H A D | gpio-reg.c | 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() 84 if (r->direction & mask) { in gpio_reg_get() 144 int base, int num, const char *label, u32 direction, u32 def_out, in gpio_reg_init() argument 172 r->direction = direction; in gpio_reg_init()
|
| H A D | gpio-tps65219.c | 111 unsigned int direction) in tps65219_gpio_change_direction() argument 126 TPS65219_GPIO0_DIR_MASK, direction); in tps65219_gpio_change_direction() 130 direction, offset); in tps65219_gpio_change_direction() 137 offset, direction); in tps65219_gpio_change_direction() 143 unsigned int direction) in tps65214_gpio_change_direction() argument 162 TPS65214_GPIO0_DIR_MASK, direction); in tps65214_gpio_change_direction() 164 dev_err(dev, "Fail to change direction to %u for GPIO%d.\n", direction, offset); in tps65214_gpio_change_direction()
|
| /linux/arch/powerpc/kernel/ |
| H A D | dma-iommu.c | 101 enum dma_data_direction direction, in dma_iommu_map_phys() argument 105 dma_get_mask(dev), direction, attrs); in dma_iommu_map_phys() 109 size_t size, enum dma_data_direction direction, in dma_iommu_unmap_phys() argument 112 iommu_unmap_phys(get_iommu_table_base(dev), dma_handle, size, direction, in dma_iommu_unmap_phys() 117 int nelems, enum dma_data_direction direction, in dma_iommu_map_sg() argument 121 dma_get_mask(dev), direction, attrs); in dma_iommu_map_sg() 125 int nelems, enum dma_data_direction direction, in dma_iommu_unmap_sg() argument 129 direction, attrs); in dma_iommu_unmap_sg()
|
| /linux/drivers/iio/buffer/ |
| H A D | industrialio-triggered-buffer.c | 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/include/sound/ |
| H A D | soc-usb.h | 59 int card, int pcm, int direction, 68 int direction); 77 int direction, enum snd_soc_usb_kctl path, 88 int direction) in snd_soc_usb_find_supported_format() argument 117 int direction, enum snd_soc_usb_kctl path, in snd_soc_usb_update_offload_route() argument
|
| /linux/arch/arm/mach-footbridge/ |
| H A D | dma-isa.c | 66 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/sound/soc/sof/intel/ |
| H A D | hda-sdw-bpt.c | 33 int direction, int state) in chain_dma_trigger() argument 70 if (direction == SNDRV_PCM_STREAM_CAPTURE) in chain_dma_trigger() 95 unsigned int num_channels, int direction) in hda_sdw_bpt_dma_prepare() argument 108 dev_dbg(dev, "direction %d format_val %#x\n", direction, format); in hda_sdw_bpt_dma_prepare() 110 bpt_stream = hda_cl_prepare(dev, format, bpt_num_bytes, dmab_bdl, false, direction, false); in hda_sdw_bpt_dma_prepare() 113 __func__, direction); in hda_sdw_bpt_dma_prepare() 133 if (hdac_stream(bpt_stream)->direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_sdw_bpt_dma_prepare() 161 if (hdac_stream(sdw_bpt_stream)->direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_sdw_bpt_dma_deprepare() 175 hdac_stream(sdw_bpt_stream)->direction, in hda_sdw_bpt_dma_deprepare() 203 hdac_stream(sdw_bpt_stream)->direction, in hda_sdw_bpt_dma_enable() [all …]
|
| /linux/net/netfilter/ |
| H A D | xt_connbytes.c | 43 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/arch/sparc/kernel/ |
| H A D | iommu.c | 264 size_t sz, enum dma_data_direction direction, in dma_4u_map_phys() argument 288 if (unlikely(direction == DMA_NONE)) in dma_4u_map_phys() 312 if (direction != DMA_TO_DEVICE) in dma_4u_map_phys() 330 enum dma_data_direction direction) in strbuf_flush() argument 373 if (direction == DMA_TO_DEVICE) in strbuf_flush() 395 size_t sz, enum dma_data_direction direction, in dma_4u_unmap_phys() argument 403 if (unlikely(direction == DMA_NONE)) { in dma_4u_unmap_phys() 428 npages, direction); in dma_4u_unmap_phys() 441 int nelems, enum dma_data_direction direction, in dma_4u_map_sg() argument 454 BUG_ON(direction == DMA_NONE); in dma_4u_map_sg() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | iommu.h | 48 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,
|
| /linux/drivers/dma-buf/ |
| H A D | udmabuf.c | 145 enum dma_data_direction direction) in get_sg_table() argument 165 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table() 178 enum dma_data_direction direction) in put_sg_table() argument 180 dma_unmap_sgtable(dev, sg, direction, 0); in put_sg_table() 186 enum dma_data_direction direction) in map_udmabuf() argument 188 return get_sg_table(at->dev, at->dmabuf, direction); in map_udmabuf() 193 enum dma_data_direction direction) in unmap_udmabuf() argument 195 return put_sg_table(at->dev, sg, direction); in unmap_udmabuf() 247 enum dma_data_direction direction) in begin_cpu_udmabuf() argument 254 ubuf->sg = get_sg_table(dev, buf, direction); in begin_cpu_udmabuf() [all …]
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am65-iot2050-arduino-connector.dtsi | 700 "IO1", "IO2", "", "IO3", "IO17-direction", "A5", 701 "IO16-direction", "IO15-direction", "IO14-direction", "A3", 703 "", "IO18-direction", "A4", "A2", "A1", "A0", "", "", "IO13", 737 "IO0-direction", "IO1-direction", "IO2-direction", 738 "IO3-direction", "IO4-direction", "IO5-direction", 739 "IO6-direction", "IO7-direction", 740 "IO8-direction", "IO9-direction", "IO10-direction", 741 "IO11-direction", "IO12-direction", "IO13-direction", 742 "IO19-direction";
|
| /linux/drivers/net/wwan/iosm/ |
| H A D | iosm_ipc_pcie.h | 90 int direction; member 122 size_t size, dma_addr_t *mapping, int direction); 132 dma_addr_t mapping, int direction); 147 int direction, size_t headroom);
|