/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() 78 direction |= 0xF00; in board_init() 83 direction |= 0xF000000; in board_init() 88 direction |= 0x3F3F; in board_init() 93 direction |= 0xFF00; in board_init() 97 direction = readl(AST_GPIOYZ_DRCTN); in board_init() 98 direction |= 0xF; in board_init() [all …]
|
/openbmc/linux/kernel/dma/ |
H A D | debug.h | 18 size_t size, int direction); 35 size_t size, int direction, 40 size_t size, int direction); 44 int direction); 52 int nelems, int direction); 56 int nelems, int direction); 66 size_t size, int direction) in debug_dma_unmap_page() argument 94 size_t size, int direction, in debug_dma_map_resource() argument 102 int direction) in debug_dma_unmap_resource() argument 108 size_t size, int direction) in debug_dma_sync_single_for_cpu() argument [all …]
|
H A D | debug.c | 1029 if (ref->direction != entry->direction) { in check_unmap() 1127 if (ref->direction != entry->direction) { in check_sync() 1233 entry->direction = direction; in debug_dma_map_page() 1293 .direction = direction, in debug_dma_unmap_page() 1329 entry->direction = direction; in debug_dma_map_sg() 1471 entry->direction = direction; in debug_dma_map_resource() 1485 .direction = direction, in debug_dma_unmap_resource() 1506 ref.direction = direction; in debug_dma_sync_single_for_cpu() 1525 ref.direction = direction; in debug_dma_sync_single_for_device() 1549 .direction = direction, in debug_dma_sync_sg_for_cpu() [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, 108 .direction = RKISP1_ISP_SD_SINK, 115 .direction = RKISP1_ISP_SD_SINK, 122 .direction = RKISP1_ISP_SD_SINK, [all …]
|
/openbmc/qemu/block/ |
H A D | throttle-groups.c | 206 return tgm->pending_reqs[direction]; in tgm_has_pending_reqs() 235 start = token = tg->tokens[direction]; in next_throttle_token() 280 if (tg->any_timer_armed[direction]) { in throttle_group_schedule_timer() 288 tg->tokens[direction] = tgm; in throttle_group_schedule_timer() 349 tg->tokens[direction] = token; in schedule_next_request() 370 assert(direction < THROTTLE_MAX); in throttle_group_co_io_limits_intercept() 380 tgm->pending_reqs[direction]++; in throttle_group_co_io_limits_intercept() 387 tgm->pending_reqs[direction]--; in throttle_group_co_io_limits_intercept() 401 ThrottleDirection direction; member 410 ThrottleDirection direction = data->direction; in throttle_group_restart_queue_entry() local [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 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 176 struct sock *sk, int direction) in nfp_net_tls_set_ipv4() argument 194 struct sock *sk, int direction) in nfp_net_tls_set_ipv6() argument 215 int direction) in nfp_net_tls_set_l4() argument 232 switch (direction) { in nfp_tls_1_2_dir_to_opcode() 245 enum tls_offload_ctx_dir direction) in nfp_net_cipher_supported() argument 265 enum tls_offload_ctx_dir direction, in nfp_net_tls_add() argument 386 ntls = tls_driver_ctx(sk, direction); in nfp_net_tls_add() 411 enum tls_offload_ctx_dir direction) in nfp_net_tls_del() 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/qemu/hw/gpio/ |
H A D | max7310.c | 28 uint8_t direction; member 40 s->level &= s->direction; in max7310_reset() 41 s->direction = 0xff; in max7310_reset() 56 return s->level & ~s->direction; in max7310_rx() 62 return s->direction; in max7310_rx() 105 s->level = (s->level & s->direction) | (data & ~s->direction); in max7310_tx() 113 s->level &= ~(s->direction ^ data); in max7310_tx() 114 s->direction = data; in max7310_tx() 162 VMSTATE_UINT8(direction, MAX7310State), 177 s->level |= s->direction & (1 << line); in max7310_gpio_set() [all …]
|
/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: 131 direction = "" 142 direction = arg 161 direction = gpio_info['direction'] 174 if (direction == "in" and value != ""): 181 if (direction != ""): [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/dbus-sensors/src/ |
H A D | Thresholds.hpp | 39 level(lev), direction(dir), value(val), hysteresis(hysteresis), in Threshold() 43 Direction direction; member 50 return (level == rhs.level && direction == rhs.direction && in operator ==() 56 thresholds::Level level, thresholds::Direction direction, 63 Direction direction; member 81 (timer.first.direction == threshold.direction) && in hasActiveTimer() 100 (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() 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() 430 if (change.threshold.direction == thresholds::Direction::LOW) in checkThresholdsPowerDelay() 458 std::string property = Sensor::propertyAlarm(level, direction); in assertThresholds() [all …]
|
/openbmc/qemu/net/ |
H A D | filter.c | 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() 104 next = netfilter_next(next, direction); in qemu_netfilter_pass_to_next() 139 return nf->direction; in netfilter_get_direction() [all …]
|
/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() 180 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill() 199 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid() 209 ptype[tc] = tc_config[tc].path[direction].prio_type; in ixgbe_dcb_unpack_prio() 228 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) in ixgbe_dcb_get_tc_from_up() [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/soc/sof/ |
H A D | compress.c | 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() 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() 220 pcm->params.direction = cstream->direction; in sof_compr_set_params() 251 spcm->prepared[cstream->direction] = true; in sof_compr_set_params() 282 stream.comp_id = spcm->stream[cstream->direction].comp_id; in sof_compr_trigger() [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/linux/sound/pci/hda/ |
H A D | hda_local.h | 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, \ 66 HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, 3, xindex, direction) 71 #define HDA_CODEC_MUTE(xname, nid, xindex, direction) \ argument 72 HDA_CODEC_MUTE_MONO(xname, nid, 3, xindex, direction) 91 #define HDA_CODEC_MUTE_BEEP(xname, nid, xindex, direction) \ argument 92 HDA_CODEC_MUTE_BEEP_MONO(xname, nid, 3, xindex, direction) 122 int direction, int idx, int mask, int val); [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/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>; 110 direction = <PIN_INPUT>; 117 direction = <PIN_INPUT>; 124 direction = <PIN_INPUT>; 131 direction = <PIN_INPUT>; 137 direction = <PIN_INPUT>; 143 direction = <PIN_INPUT>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | pwm-vibrator.yaml | 17 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>;
|
/openbmc/phosphor-buttons/ |
H A D | README.md | 127 "direction": "both" 165 "direction": "both", 171 "direction": "both", 177 "direction": "both", 183 "direction": "both", 257 "direction": "out", 263 "direction": "out", 269 "direction": "out", 275 "direction": "out", 281 "direction": "out", [all …]
|