/openbmc/linux/arch/alpha/include/asm/ |
H A D | floppy.h | 44 int dir; in alpha_fd_dma_setup() local 46 dir = (mode != DMA_MODE_READ) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in alpha_fd_dma_setup() 49 && (addr != prev_addr || size != prev_size || dir != prev_dir)) { in alpha_fd_dma_setup() 57 bus_addr = dma_map_single(&isa_bridge->dev, addr, size, dir); in alpha_fd_dma_setup() 62 prev_dir = dir; in alpha_fd_dma_setup()
|
/openbmc/qemu/tests/unit/ |
H A D | test-logging.c | 90 static void set_log_path_tmp(char const *dir, char const *tpl, Error **errp) in set_log_path_tmp() argument 92 gchar *file_path = g_build_filename(dir, tpl, NULL); in set_log_path_tmp() 114 gchar const *dir = data; in test_logfile_write() local 125 file_path0 = g_build_filename(dir, "qemu_test_log_write0.log", NULL); in test_logfile_write() 126 file_path1 = g_build_filename(dir, "qemu_test_log_write1.log", NULL); in test_logfile_write() 152 gchar const *dir = data; in test_logfile_lock() local 155 file_path = g_build_filename(dir, "qemu_test_logfile_lock0.log", NULL); in test_logfile_lock()
|
H A D | test-util-filemonitor.c | 412 gchar *dir = NULL; in test_file_monitor_events() local 454 dir = g_dir_make_tmp("test-util-filemonitor-XXXXXX", in test_file_monitor_events() 456 if (!dir) { in test_file_monitor_events() 483 dir, op->filesrc); in test_file_monitor_events() 494 watchdir = g_strdup(dir); in test_file_monitor_events() 529 watchdir = g_strdup(dir); in test_file_monitor_events() 685 if (dir) { in test_file_monitor_events() 689 dir, op->filesrc); in test_file_monitor_events() 704 if (rmdir(dir) < 0) { in test_file_monitor_events() 706 dir, strerror(errno)); in test_file_monitor_events() [all …]
|
/openbmc/linux/drivers/misc/mei/ |
H A D | debugfs.c | 181 struct dentry *dir; in mei_dbgfs_register() local 183 dir = debugfs_create_dir(name, NULL); in mei_dbgfs_register() 184 dev->dbgfs_dir = dir; in mei_dbgfs_register() 186 debugfs_create_file("meclients", S_IRUSR, dir, dev, in mei_dbgfs_register() 188 debugfs_create_file("active", S_IRUSR, dir, dev, in mei_dbgfs_register() 190 debugfs_create_file("devstate", S_IRUSR, dir, dev, in mei_dbgfs_register() 192 debugfs_create_file("allow_fixed_address", S_IRUSR | S_IWUSR, dir, in mei_dbgfs_register()
|
/openbmc/qemu/hw/gpio/ |
H A D | mpc8xxx.c | 38 uint32_t dir; member 51 VMSTATE_UINT32(dir, MPC8XXXGPIOState), 78 return s->dir; in mpc8xxx_gpio_read() 106 if (s->dir & mask) { in mpc8xxx_write_data() 127 s->dir = value; in mpc8xxx_gpio_write() 153 s->dir = 0; in mpc8xxx_gpio_reset() 167 if ((s->dir & mask) == 0) { in mpc8xxx_gpio_set_irq()
|
/openbmc/linux/fs/afs/ |
H A D | dir.c | 1050 struct inode *dir; in afs_d_revalidate_rcu() local 1057 dir = d_inode_rcu(parent); in afs_d_revalidate_rcu() 1058 if (!dir) in afs_d_revalidate_rcu() 1060 dvnode = AFS_FS_I(dir); in afs_d_revalidate_rcu() 1090 struct afs_vnode *vnode, *dir; in afs_d_revalidate() local 1117 dir = AFS_FS_I(d_inode(parent)); in afs_d_revalidate() 1120 afs_validate(dir, key); in afs_d_revalidate() 1142 afs_stat_v(dir, n_reval); in afs_d_revalidate() 1362 op->mtime = current_time(dir); in afs_mkdir() 1666 op->mtime = current_time(dir); in afs_create() [all …]
|
/openbmc/u-boot/fs/ubifs/ |
H A D | ubifs.c | 401 struct inode *dir; in ubifs_finddir() local 407 if (!file || !dentry || !dir) { in ubifs_finddir() 413 dir->i_sb = sb; in ubifs_finddir() 416 file->f_path.dentry->d_inode = dir; in ubifs_finddir() 473 free(dir); in ubifs_finddir() 589 struct inode *dir; in ubifs_ls() local 604 if (!file || !dentry || !dir) { in ubifs_ls() 610 dir->i_sb = ubifs_sb; in ubifs_ls() 613 file->f_path.dentry->d_inode = dir; in ubifs_ls() 624 if (dir) in ubifs_ls() [all …]
|
/openbmc/linux/drivers/iio/proximity/ |
H A D | irsd200.c | 174 if (dir == IIO_EV_DIR_RISING) { in irsd200_read_threshold() 204 if (dir == IIO_EV_DIR_RISING) { in irsd200_write_threshold() 577 enum iio_event_direction dir, in irsd200_read_event() argument 676 enum iio_event_direction dir; in irsd200_irq_thread() local 725 dir = IIO_EV_DIR_RISING; in irsd200_irq_thread() 727 dir = IIO_EV_DIR_FALLING; in irsd200_irq_thread() 729 dir = IIO_EV_DIR_EITHER; in irsd200_irq_thread() 733 IIO_EV_TYPE_THRESH, dir), in irsd200_irq_thread() 810 .dir = IIO_EV_DIR_RISING, 815 .dir = IIO_EV_DIR_FALLING, [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_local.h | 26 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument 29 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument 30 HDA_COMPOSE_AMP_VAL_OFS(nid, chs, idx, dir, 0) 85 HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, ch, xidx, dir) 117 #define snd_hda_codec_amp_read(codec, nid, ch, dir, idx) \ argument 120 int ch, int dir, int idx, int mask, int val); 126 int dir, int idx, int mask, int val); 552 int dir, unsigned int bits); 554 #define nid_has_mute(codec, nid, dir) \ argument 556 #define nid_has_volume(codec, nid, dir) \ argument [all …]
|
/openbmc/linux/drivers/usb/chipidea/ |
H A D | udc.c | 106 int n = hw_ep_bit(num, dir); in hw_ep_flush() 146 if (dir == TX) { in hw_ep_enable() 195 int n = hw_ep_bit(num, dir); in hw_ep_prime() 715 if (hwep->dir == TX) { in _hardware_dequeue() 810 direction = hwep->dir; in _ep_set_halt() 818 hwep->dir = (hwep->dir == TX) ? RX : TX; in _ep_set_halt() 997 int dir, num, retval; in isr_get_status_response() local 1185 if (dir == TX) in isr_setup_packet_handler() 1237 if (dir == TX) in isr_setup_packet_handler() 1449 direction = hwep->dir; in ep_disable() [all …]
|
/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_debugfs.c | 77 drvdata->dir = debugfs_create_dir(drvdata->plat_dev->name, in cc_debugfs_init() 80 debugfs_create_regset32("regs", 0400, drvdata->dir, regset); in cc_debugfs_init() 81 debugfs_create_bool("coherent", 0400, drvdata->dir, &drvdata->coherent); in cc_debugfs_init() 100 debugfs_create_regset32("version", 0400, drvdata->dir, verset); in cc_debugfs_init() 106 debugfs_remove_recursive(drvdata->dir); in cc_debugfs_fini()
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | mpc85xx_gpio.h | 20 unsigned int dir, unsigned int val) in mpc85xx_gpio_set() argument 25 dir &= mask; in mpc85xx_gpio_set() 29 dir |= (in_be32(&gpio->gpdir) & ~mask); in mpc85xx_gpio_set() 38 out_be32(&gpio->gpdir, dir); in mpc85xx_gpio_set()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | hi8435.c | 125 enum iio_event_direction dir) in hi8435_read_event_config() argument 160 enum iio_event_direction dir, in hi8435_read_event_value() argument 181 if (dir == IIO_EV_DIR_FALLING) in hi8435_read_event_value() 183 else if (dir == IIO_EV_DIR_RISING) in hi8435_read_event_value() 192 enum iio_event_direction dir, in hi8435_write_event_value() argument 213 if (dir == IIO_EV_DIR_FALLING) { in hi8435_write_event_value() 287 .dir = IIO_EV_DIR_RISING, 291 .dir = IIO_EV_DIR_FALLING, 295 .dir = IIO_EV_DIR_EITHER, 416 enum iio_event_direction dir; in hi8435_iio_push_event() local [all …]
|
H A D | ad7091r-base.c | 57 .dir = IIO_EV_DIR_RISING, 63 .dir = IIO_EV_DIR_FALLING, 69 .dir = IIO_EV_DIR_EITHER, 197 enum iio_event_direction dir) in ad7091r_read_event_config() argument 202 switch (dir) { in ad7091r_read_event_config() 225 enum iio_event_direction dir, int state) in ad7091r_write_event_config() argument 237 switch (dir) { in ad7091r_write_event_config() 255 enum iio_event_direction dir, in ad7091r_read_event_value() argument 263 switch (dir) { in ad7091r_read_event_value() 296 enum iio_event_direction dir, in ad7091r_write_event_value() argument [all …]
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | pci-dma.c | 47 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument 49 switch (dir) { in arch_sync_dma_for_cpu() 65 enum dma_data_direction dir) in arch_sync_dma_for_device() argument 67 switch (dir) { in arch_sync_dma_for_device()
|
/openbmc/linux/fs/crypto/ |
H A D | fname.c | 447 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename() 452 ret = fscrypt_get_encryption_info(dir, lookup); in fscrypt_setup_filename() 456 if (fscrypt_has_encryption_key(dir)) { in fscrypt_setup_filename() 457 if (!fscrypt_fname_encrypted_size(dir, iname->len, NAME_MAX, in fscrypt_setup_filename() 465 ret = fscrypt_fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename() 565 const struct fscrypt_info *ci = dir->i_crypt_info; in fscrypt_fname_siphash() 579 struct dentry *dir; in fscrypt_d_revalidate() local 606 dir = dget_parent(dentry); in fscrypt_d_revalidate() 611 err = fscrypt_get_encryption_info(d_inode(dir), true); in fscrypt_d_revalidate() 612 valid = !fscrypt_has_encryption_key(d_inode(dir)); in fscrypt_d_revalidate() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | dir-item.c | 110 const struct fscrypt_str *name, struct btrfs_inode *dir, in btrfs_insert_dir_item() argument 115 struct btrfs_root *root = dir->root; in btrfs_insert_dir_item() 124 key.objectid = btrfs_ino(dir); in btrfs_insert_dir_item() 144 if (IS_ENCRYPTED(&dir->vfs_inode)) in btrfs_insert_dir_item() 214 struct btrfs_path *path, u64 dir, in btrfs_lookup_dir_item() argument 221 key.objectid = dir; in btrfs_lookup_dir_item() 248 key.objectid = dir; in btrfs_check_dir_item_collision() 310 struct btrfs_path *path, u64 dir, in btrfs_lookup_dir_index_item() argument 316 key.objectid = dir; in btrfs_lookup_dir_index_item() 358 struct btrfs_path *path, u64 dir, in btrfs_lookup_xattr() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_prime.c | 48 enum dma_data_direction dir) in virtgpu_gem_map_dma_buf() argument 54 return virtio_gpu_vram_map_dma_buf(bo, attach->dev, dir); in virtgpu_gem_map_dma_buf() 56 return drm_gem_map_dma_buf(attach, dir); in virtgpu_gem_map_dma_buf() 61 enum dma_data_direction dir) in virtgpu_gem_unmap_dma_buf() argument 67 virtio_gpu_vram_unmap_dma_buf(attach->dev, sgt, dir); in virtgpu_gem_unmap_dma_buf() 71 drm_gem_unmap_dma_buf(attach, sgt, dir); in virtgpu_gem_unmap_dma_buf()
|
/openbmc/linux/include/trace/events/ |
H A D | asoc.h | 13 #define DAPM_ARROW(dir) (((dir) == SND_SOC_DAPM_DIR_OUT) ? "->" : "<-") argument 162 enum snd_soc_dapm_direction dir, 165 TP_ARGS(widget, dir, path), 170 __string( pnname, path->node[dir]->name ) 179 __assign_str(pnname, path->node[dir]->name); 181 __entry->path_node = (long)path->node[dir]; 182 __entry->path_dir = dir;
|
/openbmc/linux/fs/gfs2/ |
H A D | inode.c | 310 struct super_block *sb = dir->i_sb; in gfs2_lookupi() 322 dir == d_inode(sb->s_root))) { in gfs2_lookupi() 323 igrab(dir); in gfs2_lookupi() 324 return dir; in gfs2_lookupi() 1330 struct inode *dir = &to->i_inode; in gfs2_ok_to_move() local 1335 igrab(dir); in gfs2_ok_to_move() 1338 if (dir == &this->i_inode) { in gfs2_ok_to_move() 1342 if (dir == d_inode(sb->s_root)) { in gfs2_ok_to_move() 1357 iput(dir); in gfs2_ok_to_move() 1358 dir = tmp; in gfs2_ok_to_move() [all …]
|
/openbmc/linux/tools/net/ynl/ |
H A D | Makefile | 14 @for dir in $(SUBDIRS) ; do \ 15 if [ -f "$$dir/Makefile" ] ; then \ 16 $(MAKE) -C $$dir $@; \
|
/openbmc/linux/fs/overlayfs/ |
H A D | overlayfs.h | 192 struct inode *dir, struct dentry *dentry) in ovl_do_rmdir() argument 194 int err = vfs_rmdir(ovl_upper_mnt_idmap(ofs), dir, dentry); in ovl_do_rmdir() 210 struct inode *dir, struct dentry *new_dentry) in ovl_do_link() argument 220 struct inode *dir, struct dentry *dentry, in ovl_do_create() argument 230 struct inode *dir, struct dentry *dentry, in ovl_do_mkdir() argument 239 struct inode *dir, struct dentry *dentry, in ovl_do_mknod() argument 249 struct inode *dir, struct dentry *dentry, in ovl_do_symlink() argument 365 struct inode *dir, struct dentry *dentry) in ovl_do_whiteout() argument 684 static inline bool ovl_dir_is_real(struct inode *dir) in ovl_dir_is_real() argument 686 return !ovl_test_flag(OVL_WHITEOUTS, dir); in ovl_dir_is_real() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | libhw.c | 28 DMADirection dir = (p->pid == USB_TOKEN_IN) ? in usb_packet_map() local 39 mem = dma_memory_map(sgl->as, base, &xlen, dir, in usb_packet_map() 61 DMADirection dir = (p->pid == USB_TOKEN_IN) ? in usb_packet_unmap() local 67 p->iov.iov[i].iov_len, dir, in usb_packet_unmap()
|
/openbmc/linux/Documentation/sphinx/ |
H A D | load_config.py | 31 dir = config_file[start + 1:end] 33 print("source directory: %s" % dir) 38 if l[0].find(dir + '/') == 0: 40 fn = l[0][len(dir) + 1:]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/influxdb/influxdb/ |
H A D | influxdb.conf | 26 dir = "/var/lib/influxdb/meta" 45 dir = "/var/lib/influxdb/data" 48 wal-dir = "/var/lib/influxdb/wal"
|