/openbmc/linux/tools/testing/selftests/damon/ |
H A D | sysfs.sh | 37 dir=$1 39 if [ "$to_ensure" = "exist" ] && [ ! -d "$dir" ] 41 echo "$dir dir is expected but not found" 43 elif [ "$to_ensure" = "not_exist" ] && [ -d "$dir" ] 45 echo "$dir dir is not expected but found" 68 elif [ "$to_ensure" = "not_exist" ] && [ -f "$dir" ]
|
/openbmc/linux/drivers/platform/chrome/wilco_ec/ |
H A D | debugfs.c | 24 struct dentry *dir; member 253 debug_info->dir = debugfs_create_dir("wilco_ec", NULL); in wilco_ec_debugfs_probe() 254 debugfs_create_file("raw", 0644, debug_info->dir, NULL, &fops_raw); in wilco_ec_debugfs_probe() 255 debugfs_create_file("h1_gpio", 0444, debug_info->dir, ec, in wilco_ec_debugfs_probe() 257 debugfs_create_file("test_event", 0200, debug_info->dir, ec, in wilco_ec_debugfs_probe() 265 debugfs_remove_recursive(debug_info->dir); in wilco_ec_debugfs_remove()
|
/openbmc/linux/fs/ceph/ |
H A D | crypto.h | 21 struct inode *dir; member 101 int ceph_fscrypt_prepare_context(struct inode *dir, struct inode *inode, 127 int ceph_fscrypt_prepare_readdir(struct inode *dir); 183 static inline int ceph_fscrypt_prepare_context(struct inode *dir, in ceph_fscrypt_prepare_context() argument 187 if (IS_ENCRYPTED(dir)) in ceph_fscrypt_prepare_context() 230 static inline int ceph_fscrypt_prepare_readdir(struct inode *dir) in ceph_fscrypt_prepare_readdir() argument
|
/openbmc/linux/fs/configfs/ |
H A D | inode.c | 220 void configfs_hash_and_remove(struct dentry * dir, const char * name) in configfs_hash_and_remove() argument 223 struct configfs_dirent * parent_sd = dir->d_fsdata; in configfs_hash_and_remove() 225 if (d_really_is_negative(dir)) in configfs_hash_and_remove() 229 inode_lock(d_inode(dir)); in configfs_hash_and_remove() 237 configfs_drop_dentry(sd, dir); in configfs_hash_and_remove() 242 inode_unlock(d_inode(dir)); in configfs_hash_and_remove()
|
/openbmc/boost-dbus/cmake/ |
H A D | HunterGate.cmake | 197 macro(hunter_gate_lock dir) 211 function(hunter_gate_download dir) 244 set(done_location "${dir}/DONE") 247 set(build_dir "${dir}/Build") 250 hunter_gate_lock("${dir}") 277 " \"${dir}\"\n" 279 " \"${dir}/Unpacked\"\n" 319 "-H${dir}" 324 WORKING_DIRECTORY "${dir}" 336 " -> ${dir}" [all …]
|
/openbmc/linux/sound/core/ |
H A D | memalloc.c | 69 dmab->dev.dir = dir; in snd_dma_alloc_dir_pages() 574 dmab->dev.dir); in snd_dma_noncontig_free() 588 if (dmab->dev.dir == DMA_TO_DEVICE) in snd_dma_noncontig_sync() 592 dmab->dev.dir); in snd_dma_noncontig_sync() 594 if (dmab->dev.dir == DMA_FROM_DEVICE) in snd_dma_noncontig_sync() 598 dmab->dev.dir); in snd_dma_noncontig_sync() 874 dmab->dev.dir, DEFAULT_GFP); in snd_dma_noncoherent_alloc() 883 dmab->addr, dmab->dev.dir); in snd_dma_noncoherent_free() 899 if (dmab->dev.dir != DMA_TO_DEVICE) in snd_dma_noncoherent_sync() 901 dmab->bytes, dmab->dev.dir); in snd_dma_noncoherent_sync() [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-stmfx.c | 222 int ret, dir, type, pupd; in stmfx_pinconf_get() local 229 if (dir < 0) in stmfx_pinconf_get() 230 return dir; in stmfx_pinconf_get() 236 dir = (dir == GPIO_LINE_DIRECTION_IN) ? 1 : 0; in stmfx_pinconf_get() 247 if ((!dir && (!type || !pupd)) || (dir && !type)) in stmfx_pinconf_get() 251 if (dir && type && !pupd) in stmfx_pinconf_get() 259 if ((!dir && type) || (dir && !type)) in stmfx_pinconf_get() 263 if ((!dir && !type) || (dir && type)) in stmfx_pinconf_get() 267 if (dir) in stmfx_pinconf_get() 352 int dir, type, pupd, val; in stmfx_pinconf_dbg_show() local [all …]
|
/openbmc/qemu/hw/xen/ |
H A D | xen-hvm-common.c | 317 if (req->dir == IOREQ_READ) { in cpu_ioreq_pio() 330 } else if (req->dir == IOREQ_WRITE) { in cpu_ioreq_pio() 358 if (req->dir == IOREQ_READ) { in cpu_ioreq_move() 362 } else if (req->dir == IOREQ_WRITE) { in cpu_ioreq_move() 370 if (req->dir == IOREQ_READ) { in cpu_ioreq_move() 405 if (req->dir == IOREQ_READ) { in cpu_ioreq_config() 421 if (req->dir == IOREQ_READ) { in cpu_ioreq_config() 450 if (req->dir == IOREQ_WRITE) in handle_ioreq() 472 if (req->dir == IOREQ_READ) { in handle_ioreq() 493 req.dir = IOREQ_WRITE; in handle_buffered_iopage() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-gnome/gnome-doc-utils-stub/files/ |
H A D | gnome-doc-utils.m4 | 5 AC_ARG_WITH([help-dir], 6 AC_HELP_STRING([--with-help-dir=DIR], [path to help docs]),, 11 AC_ARG_WITH([omf-dir], 12 AC_HELP_STRING([--with-omf-dir=DIR], [path to OMF files]),,
|
/openbmc/u-boot/drivers/usb/musb/ |
H A D | musb_core.c | 47 # define config_fifo(dir, idx, addr) argument 49 # define config_fifo(dir, idx, addr) \ argument 51 writeb(idx, &musbr->dir##fifosz); \ 52 writew(fifoaddr >> 3, &musbr->dir##fifoadd); \
|
/openbmc/linux/kernel/dma/ |
H A D | ops_helpers.c | 62 dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp) in dma_common_alloc_pages() argument 73 *dma_handle = ops->map_page(dev, page, 0, size, dir, in dma_common_alloc_pages() 85 dma_addr_t dma_handle, enum dma_data_direction dir) in dma_common_free_pages() argument 90 ops->unmap_page(dev, dma_handle, size, dir, in dma_common_free_pages()
|
/openbmc/linux/drivers/crypto/qce/ |
H A D | common.h | 81 #define IS_ENCRYPT(dir) (dir & QCE_ENCRYPT) argument 82 #define IS_DECRYPT(dir) (dir & QCE_DECRYPT) argument
|
/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A D | Makefile | 7 srctree := $(patsubst %/,%,$(dir $(CURDIR))) 8 srctree := $(patsubst %/,%,$(dir $(srctree))) 9 srctree := $(patsubst %/,%,$(dir $(srctree))) 10 srctree := $(patsubst %/,%,$(dir $(srctree)))
|
/openbmc/linux/arch/riscv/mm/ |
H A D | dma-noncoherent.c | 70 enum dma_data_direction dir) in arch_sync_dma_for_device() argument 72 switch (dir) { in arch_sync_dma_for_device() 99 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument 101 switch (dir) { in arch_sync_dma_for_cpu()
|
/openbmc/linux/fs/f2fs/ |
H A D | hash.c | 96 void f2fs_hash_filename(const struct inode *dir, struct f2fs_filename *fname) in f2fs_hash_filename() argument 109 if (IS_CASEFOLDED(dir)) { in f2fs_hash_filename() 127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename() 131 cpu_to_le32(fscrypt_fname_siphash(dir, &tmp)); in f2fs_hash_filename()
|
/openbmc/u-boot/drivers/dma/ |
H A D | sandbox-dma-test.c | 24 enum dma_direction dir; member 63 uc->dir = DMA_MEM_TO_DEV; in sandbox_dma_of_xlate() 65 uc->dir = DMA_DEV_TO_MEM; in sandbox_dma_of_xlate() 67 uc->dir = DMA_MEM_TO_MEM; in sandbox_dma_of_xlate() 68 debug("%s(dma id=%lu dir=%d)\n", __func__, dma->id, uc->dir); in sandbox_dma_of_xlate() 165 if (uc->dir != DMA_MEM_TO_DEV) in sandbox_dma_send() 195 if (uc->dir != DMA_DEV_TO_MEM) in sandbox_dma_receive()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed_debugfs.c | 255 struct dentry *dir; in mtk_wed_hw_add_debugfs() local 258 dir = debugfs_create_dir(hw->dirname, NULL); in mtk_wed_hw_add_debugfs() 260 hw->debugfs_dir = dir; in mtk_wed_hw_add_debugfs() 261 debugfs_create_u32("regidx", 0600, dir, &hw->debugfs_reg); in mtk_wed_hw_add_debugfs() 262 debugfs_create_file_unsafe("regval", 0600, dir, hw, &fops_regval); in mtk_wed_hw_add_debugfs() 263 debugfs_create_file_unsafe("txinfo", 0400, dir, hw, &wed_txinfo_fops); in mtk_wed_hw_add_debugfs() 265 debugfs_create_file_unsafe("rxinfo", 0400, dir, hw, in mtk_wed_hw_add_debugfs()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mcs_cnf10kb.c | 73 void cnf10kb_mcs_flowid_secy_map(struct mcs *mcs, struct secy_mem_map *map, int dir) in cnf10kb_mcs_flowid_secy_map() argument 78 if (dir == MCS_RX) { in cnf10kb_mcs_flowid_secy_map() 220 enum mcs_direction dir) in cnf10kb_mcs_bbe_intr_handler() argument 239 event.intr_mask = (dir == MCS_RX) ? in cnf10kb_mcs_bbe_intr_handler() 243 event.intr_mask = (dir == MCS_RX) ? in cnf10kb_mcs_bbe_intr_handler() 254 enum mcs_direction dir) in cnf10kb_mcs_pab_intr_handler() argument 269 event.intr_mask = (dir == MCS_RX) ? in cnf10kb_mcs_pab_intr_handler()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | u_uac1_legacy.c | 41 int dir) in _snd_pcm_hw_param_set() argument 46 if (val == 0 && dir < 0) { in _snd_pcm_hw_param_set() 50 if (dir > 0) in _snd_pcm_hw_param_set() 52 else if (dir < 0) in _snd_pcm_hw_param_set() 59 if (val == 0 && dir < 0) { in _snd_pcm_hw_param_set() 62 } else if (dir == 0) in _snd_pcm_hw_param_set() 70 if (dir < 0) { in _snd_pcm_hw_param_set()
|
/openbmc/linux/net/netfilter/ |
H A D | nft_ct.c | 131 priv->key, priv->dir); in nft_ct_get_eval() 162 if (priv->dir < IP_CT_DIR_MAX) in nft_ct_get_eval() 240 switch (priv->dir) { in nft_ct_set_zone_eval() 242 zone.dir = NF_CT_ZONE_DIR_ORIG; in nft_ct_set_zone_eval() 245 zone.dir = NF_CT_ZONE_DIR_REPL; in nft_ct_set_zone_eval() 389 priv->dir = IP_CT_DIR_MAX; in nft_ct_get_init() 490 switch (priv->dir) { in nft_ct_get_init() 546 priv->dir = IP_CT_DIR_MAX; in nft_ct_set_init() 598 switch (priv->dir) { in nft_ct_set_init() 1316 enum ip_conntrack_dir dir; in nft_ct_expect_obj_eval() local [all …]
|
/openbmc/linux/drivers/usb/chipidea/ |
H A D | debug.c | 291 struct dentry *dir; in dbg_create_files() local 293 dir = debugfs_create_dir(dev_name(ci->dev), usb_debug_root); in dbg_create_files() 295 debugfs_create_file("device", S_IRUGO, dir, ci, &ci_device_fops); in dbg_create_files() 296 debugfs_create_file("port_test", S_IRUGO | S_IWUSR, dir, ci, &ci_port_test_fops); in dbg_create_files() 297 debugfs_create_file("qheads", S_IRUGO, dir, ci, &ci_qheads_fops); in dbg_create_files() 298 debugfs_create_file("requests", S_IRUGO, dir, ci, &ci_requests_fops); in dbg_create_files() 301 debugfs_create_file("otg", S_IRUGO, dir, ci, &ci_otg_fops); in dbg_create_files() 303 debugfs_create_file("registers", S_IRUGO, dir, ci, &ci_registers_fops); in dbg_create_files()
|
/openbmc/linux/drivers/firmware/ |
H A D | qemu_fw_cfg.c | 500 if (!dir || !target || !name || !*name) in fw_cfg_build_symlink() 518 ko = kset_find_obj(dir, tok); in fw_cfg_build_symlink() 524 if (ko->ktype != dir->kobj.ktype) { in fw_cfg_build_symlink() 530 dir = to_kset(ko); in fw_cfg_build_symlink() 538 subdir->kobj.kset = dir; in fw_cfg_build_symlink() 552 dir = subdir; in fw_cfg_build_symlink() 636 struct fw_cfg_file *dir; in fw_cfg_register_dir_entries() local 647 dir = kmalloc(dir_size, GFP_KERNEL); in fw_cfg_register_dir_entries() 648 if (!dir) in fw_cfg_register_dir_entries() 657 ret = fw_cfg_register_file(&dir[i]); in fw_cfg_register_dir_entries() [all …]
|
/openbmc/linux/drivers/staging/rts5208/ |
H A D | rtsx_transport.c | 51 if (dir == TO_XFER_BUF) in rtsx_stor_access_xfer_buf() 96 if (dir == TO_XFER_BUF) in rtsx_stor_access_xfer_buf() 320 u8 dir; in rtsx_transfer_sglist_adma_partial() local 331 dir = HOST_TO_DEVICE; in rtsx_transfer_sglist_adma_partial() 333 dir = DEVICE_TO_HOST; in rtsx_transfer_sglist_adma_partial() 484 u8 dir; in rtsx_transfer_sglist_adma() local 494 dir = HOST_TO_DEVICE; in rtsx_transfer_sglist_adma() 496 dir = DEVICE_TO_HOST; in rtsx_transfer_sglist_adma() 631 u8 dir; in rtsx_transfer_buf() local 640 dir = HOST_TO_DEVICE; in rtsx_transfer_buf() [all …]
|
/openbmc/linux/drivers/iio/accel/ |
H A D | mma9553.c | 111 .dir = IIO_EV_DIR_NONE, 116 .dir = IIO_EV_DIR_RISING, 121 .dir = IIO_EV_DIR_FALLING, 126 .dir = IIO_EV_DIR_RISING, 131 .dir = IIO_EV_DIR_FALLING, 136 .dir = IIO_EV_DIR_RISING, 141 .dir = IIO_EV_DIR_FALLING, 146 .dir = IIO_EV_DIR_RISING, 151 .dir = IIO_EV_DIR_FALLING, 242 data->events[i].info->dir == dir) in mma9553_get_event() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/xmlsec1/xmlsec1/ |
H A D | fix-ltmain.sh.patch | 19 dir=$func_resolve_sysroot_result 21 case $dir in 25 absdir=`cd "$dir" && pwd`
|