/openbmc/u-boot/board/aspeed/slt_ast2600/ |
H A D | slt_ast2600.c | 22 u32 direction; in board_init() local 57 direction = readl(AST_GPIOQRST_DRCTN); in board_init() 58 direction &= ~GENMASK(17, 16); in board_init() 59 writel(direction, AST_GPIOQRST_DRCTN); in board_init() 62 direction = readl(AST_GPIOABCD_DRCTN); in board_init() 63 direction &= ~(GENMASK(3, 0) | GENMASK(13, 12)); in board_init() 64 writel(direction, AST_GPIOABCD_DRCTN); in board_init() 77 direction = readl(AST_GPIOABCD_DRCTN); in board_init() 78 direction |= 0xF00; in board_init() 79 writel(direction, AST_GPIOABCD_DRCTN); in board_init() [all …]
|
/openbmc/linux/kernel/dma/ |
H A D | debug.h | 14 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 …]
|
H A D | debug.c | 73 int direction; member 318 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find() 491 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_insert() 509 if (entry->direction == DMA_TO_DEVICE) in active_cacheline_remove() 544 &cln, dir2name[entry->direction], in debug_dma_dump_mappings() 577 &cln, dir2name[entry->direction], in dump_show() 873 dir2name[entry->direction], type2name[entry->type]); in dma_debug_device_change() 1029 if (ref->direction != entry->direction) { in check_unmap() 1035 dir2name[entry->direction], in check_unmap() 1036 dir2name[ref->direction]); in check_unmap() [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/block/ |
H A D | throttle-groups.c | 40 static void timer_cb(ThrottleGroupMember *tgm, ThrottleDirection direction); 204 ThrottleDirection direction) in tgm_has_pending_reqs() argument 206 return tgm->pending_reqs[direction]; in tgm_has_pending_reqs() 220 ThrottleDirection direction) in next_throttle_token() argument 230 if (tgm_has_pending_reqs(tgm, direction) && in next_throttle_token() 235 start = token = tg->tokens[direction]; in next_throttle_token() 239 while (token != start && !tgm_has_pending_reqs(token, direction)) { in next_throttle_token() 247 if (token == start && !tgm_has_pending_reqs(token, direction)) { in next_throttle_token() 252 assert(token == tgm || tgm_has_pending_reqs(token, direction)); in next_throttle_token() 268 ThrottleDirection direction) in throttle_group_schedule_timer() argument [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/ |
H A 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 …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A 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" ip \ 90 do_test_span_vlan_dir_ips 0 "$h3.555" 555 "$direction" ip \ 92 mirror_uninstall $swp1 $direction [all …]
|
H A 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)"
|
H A 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 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
|
H A 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)"
|
/openbmc/skeleton/pytools/ |
H A D | gpioutil | 58 self.direction = '' 77 self.direction = '' 80 self.direction = dir 84 self.direction = 'in' 91 if current_direction != self.direction: 92 self.write(self.getPath('direction'),self.direction) 131 direction = "" 142 direction = arg 161 direction = gpio_info['direction'] 166 print "GPIO ID: "+gpio_name+"; DIRECTION: "+direction [all …]
|
/openbmc/qemu/net/ |
H A D | filter.c | 29 NetFilterDirection direction, in qemu_netfilter_receive() argument 39 if (nf->direction == direction || in qemu_netfilter_receive() 40 nf->direction == NET_FILTER_DIRECTION_ALL) { in qemu_netfilter_receive() 71 int direction; in qemu_netfilter_pass_to_next() local 80 if (nf->direction == NET_FILTER_DIRECTION_ALL) { in qemu_netfilter_pass_to_next() 83 direction = NET_FILTER_DIRECTION_TX; in qemu_netfilter_pass_to_next() 85 direction = NET_FILTER_DIRECTION_RX; in qemu_netfilter_pass_to_next() 88 direction = nf->direction; in qemu_netfilter_pass_to_next() 91 next = netfilter_next(nf, direction); in qemu_netfilter_pass_to_next() 99 ret = qemu_netfilter_receive(next, direction, sender, flags, iov, in qemu_netfilter_pass_to_next() [all …]
|
/openbmc/dbus-sensors/src/ |
H A D | Thresholds.hpp | 43 level(lev), direction(dir), value(val), hysteresis(hysteresis), in Threshold() 47 Direction direction; member 54 return (level == rhs.level && direction == rhs.direction && in operator ==() 60 thresholds::Level level, thresholds::Direction direction, 67 Direction direction; member 85 (timer.first.direction == threshold.direction) && in hasActiveTimer() 104 (timerUsed.direction == threshold.direction) && in stopTimer()
|
H A D | Thresholds.cpp | 125 Direction direction = findThresholdDirection(directions); in parseThresholdsFromConfig() local 127 if ((level == Level::ERROR) || (direction == Direction::ERROR)) in parseThresholdsFromConfig() 133 thresholdVector.emplace_back(level, direction, val, hysteresis); in parseThresholdsFromConfig() 187 (findThresholdDirection(dir) != threshold.direction)) in persistThreshold() 222 Sensor::propertyLevel(threshold.level, threshold.direction); in updateThresholds() 267 if (threshold.direction == thresholds::Direction::HIGH) in checkThresholds() 289 else if (threshold.direction == thresholds::Direction::LOW) in checkThresholds() 358 pair->first.direction = threshold.direction; in startTimer() 383 threshold.direction, assert); in startTimer() 395 change.threshold.direction, change.asserted); in checkThresholds() [all …]
|
/openbmc/linux/include/linux/iio/ |
H A D | events.h | 24 #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)
|
/openbmc/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 …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | compress.c | 71 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 …]
|
/openbmc/qemu/fsdev/ |
H A D | qemu-fsdev-throttle.c | 98 ThrottleDirection direction, in fsdev_co_throttle_request() argument 101 assert(direction < THROTTLE_MAX); in fsdev_co_throttle_request() 103 if (throttle_schedule_timer(&fst->ts, &fst->tt, direction) || in fsdev_co_throttle_request() 104 !qemu_co_queue_empty(&fst->throttled_reqs[direction])) { in fsdev_co_throttle_request() 105 qemu_co_queue_wait(&fst->throttled_reqs[direction], NULL); in fsdev_co_throttle_request() 108 throttle_account(&fst->ts, direction, iov_size(iov, iovcnt)); in fsdev_co_throttle_request() 110 if (!qemu_co_queue_empty(&fst->throttled_reqs[direction]) && in fsdev_co_throttle_request() 111 !throttle_schedule_timer(&fst->ts, &fst->tt, direction)) { in fsdev_co_throttle_request() 112 qemu_co_queue_next(&fst->throttled_reqs[direction]); in fsdev_co_throttle_request()
|
/openbmc/linux/sound/pci/hda/ |
H A 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/ |
H A D | 0001-make-direction-attribute-conforming-to-introspect.dt.patch | 4 Subject: [PATCH 1/3] make direction attribute conforming to introspect.dtd 6 direction attribute defaults to "in" as 7 in the DTD(*1), direction attribute is defined as following: 10 <!ATTRLIST arg direction (in|out) "in"> 32 …""), arg.attrib["type"]) for arg in method if arg.tag == "arg" and arg.attrib["direction"] == "in"] 33 …s = [arg.attrib["type"] for arg in method if arg.tag == "arg" and arg.attrib["direction"] == "out"] 34 …ttrib["type"]) for arg in method if arg.tag == "arg" and arg.attrib.get("direction", "in") == "in"] 35 …ttrib["type"] for arg in method if arg.tag == "arg" and arg.attrib.get("direction", "in") == "out"]
|
/openbmc/u-boot/arch/x86/dts/ |
H A D | chromebook_link.dts | 78 direction = <PIN_INPUT>; 84 direction = <PIN_OUTPUT>; 91 direction = <PIN_INPUT>; 97 direction = <PIN_INPUT>; 103 direction = <PIN_OUTPUT>; 110 direction = <PIN_INPUT>; 117 direction = <PIN_INPUT>; 124 direction = <PIN_INPUT>; 131 direction = <PIN_INPUT>; 137 direction = <PIN_INPUT>; [all …]
|
/openbmc/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()
|
/openbmc/phosphor-buttons/ |
H A D | README.md | 79 "direction": "both" 88 "direction": "both" 98 "direction": "both" 102 "direction": "both" 106 "direction": "both" 110 "direction": "both" 127 "direction": "both" 165 "direction": "both", 171 "direction": "both", 177 "direction": "both", [all …]
|
/openbmc/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() 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()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | dma-iommu.c | 101 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()
|