Home
last modified time | relevance | path

Searched refs:dir (Results 351 – 375 of 3117) sorted by relevance

1...<<11121314151617181920>>...125

/openbmc/linux/drivers/spi/
H A Dspi-rpc-if.c44 switch (spi_op->data.dir) { in rpcif_spi_mem_prepare()
46 rpc_op.data.dir = RPCIF_DATA_IN; in rpcif_spi_mem_prepare()
50 rpc_op.data.dir = RPCIF_DATA_OUT; in rpcif_spi_mem_prepare()
54 rpc_op.data.dir = RPCIF_NO_DATA; in rpcif_spi_mem_prepare()
58 rpc_op.data.dir = RPCIF_NO_DATA; in rpcif_spi_mem_prepare()
103 if (!rpc->dirmap && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in rpcif_spi_mem_dirmap_create()
106 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) in rpcif_spi_mem_dirmap_create()
/openbmc/linux/tools/thermal/tmon/
H A Dsysfs.c282 DIR *dir; in scan_tzones() local
294 dir = opendir(tz_name); in scan_tzones()
295 if (!dir) { in scan_tzones()
329 closedir(dir); in scan_tzones()
340 DIR *dir; in scan_cdevs() local
353 dir = opendir(cdev_name); in scan_cdevs()
354 if (!dir) { in scan_cdevs()
376 closedir(dir); in scan_cdevs()
385 DIR *dir; in probe_thermal_sysfs() local
390 if (!dir) { in probe_thermal_sysfs()
[all …]
/openbmc/linux/drivers/scsi/
H A Datari_scsi.c423 int dir) in atari_scsi_dma_setup() argument
428 hostdata->host->host_no, data, addr, count, dir); in atari_scsi_dma_setup()
436 if (dir) in atari_scsi_dma_setup()
454 dma_cache_maintenance(addr, count, dir); in atari_scsi_dma_setup()
457 tt_scsi_dma.dma_ctrl = dir; in atari_scsi_dma_setup()
460 tt_scsi_dma.dma_ctrl = dir | 2; in atari_scsi_dma_setup()
467 dir <<= 8; in atari_scsi_dma_setup()
468 st_dma.dma_mode_status = 0x90 | dir; in atari_scsi_dma_setup()
469 st_dma.dma_mode_status = 0x90 | (dir ^ 0x100); in atari_scsi_dma_setup()
470 st_dma.dma_mode_status = 0x90 | dir; in atari_scsi_dma_setup()
[all …]
/openbmc/linux/fs/ecryptfs/
H A Dinode.c157 fsstack_copy_attr_times(dir, lower_dir); in ecryptfs_do_unlink()
452 fsstack_copy_attr_times(dir, lower_dir); in ecryptfs_link()
453 fsstack_copy_inode_size(dir, lower_dir); in ecryptfs_link()
482 dir->i_sb)->mount_crypt_stat; in ecryptfs_symlink()
497 fsstack_copy_attr_times(dir, lower_dir); in ecryptfs_symlink()
498 fsstack_copy_inode_size(dir, lower_dir); in ecryptfs_symlink()
522 fsstack_copy_attr_times(dir, lower_dir); in ecryptfs_mkdir()
523 fsstack_copy_inode_size(dir, lower_dir); in ecryptfs_mkdir()
524 set_nlink(dir, lower_dir->i_nlink); in ecryptfs_mkdir()
549 set_nlink(dir, lower_dir->i_nlink); in ecryptfs_rmdir()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c53 enum mlxsw_reg_sbxx_dir dir; member
164 enum mlxsw_reg_sbxx_dir dir) in mlxsw_sp_sb_cm_get() argument
242 des->dir); in mlxsw_sp_sb_cm_write()
760 enum mlxsw_reg_sbxx_dir dir = pool_dess[i].dir; in mlxsw_sp_sb_prs_init() local
771 rest_cells[dir] -= size_cells; in mlxsw_sp_sb_prs_init()
965 if (WARN_ON(sb_vals->pool_dess[cm->pool_index].dir != dir)) in __mlxsw_sp_sb_cms_init()
1359 enum mlxsw_reg_sbxx_dir dir; in mlxsw_sp_sb_pool_get() local
1362 dir = mlxsw_sp->sb_vals->pool_dess[pool_index].dir; in mlxsw_sp_sb_pool_get()
1491 pg_buff, dir); in mlxsw_sp_sb_tc_pool_bind_get()
1520 if (dir != mlxsw_sp->sb_vals->pool_dess[pool_index].dir) { in mlxsw_sp_sb_tc_pool_bind_set()
[all …]
/openbmc/linux/include/rdma/
H A Drw.h47 u64 remote_addr, u32 rkey, enum dma_data_direction dir);
50 enum dma_data_direction dir);
56 enum dma_data_direction dir);
60 enum dma_data_direction dir);
/openbmc/openpower-proc-control/test/
H A Dutest.cpp36 char dir[50]; in SetUp() local
37 strcpy(dir, masterDir); in SetUp()
38 strcat(dir, "/targetingXXXXXX"); in SetUp()
40 auto path = mkdtemp(dir); in SetUp()
/openbmc/linux/lib/
H A Dnotifier-error-inject.c55 struct dentry *dir; in notifier_err_inject_init() local
61 dir = debugfs_create_dir(name, parent); in notifier_err_inject_init()
63 actions_dir = debugfs_create_dir("actions", dir); in notifier_err_inject_init()
77 return dir; in notifier_err_inject_init()
/openbmc/linux/kernel/dma/
H A Ddirect.c393 enum dma_data_direction dir) in dma_direct_free_pages() argument
420 dir); in dma_direct_sync_sg_for_device()
424 dir); in dma_direct_sync_sg_for_device()
442 arch_sync_dma_for_cpu(paddr, sg->length, dir); in dma_direct_sync_sg_for_cpu()
446 dir); in dma_direct_sync_sg_for_cpu()
448 if (dir == DMA_FROM_DEVICE) in dma_direct_sync_sg_for_cpu()
461 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_direct_unmap_sg() argument
471 sg_dma_len(sg), dir, attrs); in dma_direct_unmap_sg()
477 enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_sg() argument
505 sg->offset, sg->length, dir, attrs); in dma_direct_map_sg()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Damd_gart_64.c198 size_t size, int dir, unsigned long align_mask) in dma_map_area() argument
213 iommu_full(dev, size, dir); in dma_map_area()
227 enum dma_data_direction dir, in gart_map_page() argument
236 bus = dma_map_area(dev, paddr, size, dir, 0); in gart_map_page()
246 size_t size, enum dma_data_direction dir, in gart_unmap_page() argument
291 int nents, int dir) in dma_map_sg_nonforce() argument
304 addr = dma_map_area(dev, addr, s->length, dir, 0); in dma_map_sg_nonforce()
307 gart_unmap_sg(dev, sg, i, dir, 0); in dma_map_sg_nonforce()
447 gart_unmap_sg(dev, sg, out, dir, 0); in gart_map_sg()
451 out = dma_map_sg_nonforce(dev, sg, nents, dir); in gart_map_sg()
[all …]
/openbmc/linux/tools/thermal/thermal-engine/
H A DMakefile5 srctree := $(patsubst %/,%,$(dir $(CURDIR)))
6 srctree := $(patsubst %/,%,$(dir $(srctree)))
7 srctree := $(patsubst %/,%,$(dir $(srctree)))
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Ddebugfs.c790 struct dentry *dir; in mt7996_init_debugfs() local
792 dir = mt76_register_debugfs_fops(phy->mt76, NULL); in mt7996_init_debugfs()
793 if (!dir) in mt7996_init_debugfs()
795 debugfs_create_file("hw-queues", 0400, dir, phy, in mt7996_init_debugfs()
797 debugfs_create_file("xmit-queues", 0400, dir, phy, in mt7996_init_debugfs()
800 debugfs_create_file("sys_recovery", 0600, dir, phy, in mt7996_init_debugfs()
806 debugfs_create_file("fw_util_wa", 0400, dir, dev, in mt7996_init_debugfs()
808 debugfs_create_file("implicit_txbf", 0600, dir, dev, in mt7996_init_debugfs()
815 debugfs_create_u32("dfs_hw_pattern", 0400, dir, in mt7996_init_debugfs()
824 dev->debugfs_dir = dir; in mt7996_init_debugfs()
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dad7291.c169 enum iio_event_direction dir, in ad7291_threshold_reg() argument
187 if (dir == IIO_EV_DIR_FALLING) in ad7291_threshold_reg()
202 enum iio_event_direction dir, in ad7291_read_event_value() argument
210 ret = ad7291_i2c_read(chip, ad7291_threshold_reg(chan, dir, info), in ad7291_read_event_value()
227 enum iio_event_direction dir, in ad7291_write_event_value() argument
241 return ad7291_i2c_write(chip, ad7291_threshold_reg(chan, dir, info), in ad7291_write_event_value()
248 enum iio_event_direction dir) in ad7291_read_event_config() argument
271 enum iio_event_direction dir, in ad7291_write_event_config() argument
408 .dir = IIO_EV_DIR_RISING,
413 .dir = IIO_EV_DIR_FALLING,
[all …]
/openbmc/qemu/system/
H A Ddma-helpers.c67 DMADirection dir; member
94 dbs->iov.iov[i].iov_len, dbs->dir, in dma_blk_unmap()
137 mem = dma_memory_map(dbs->sg->as, cur_addr, &cur_len, dbs->dir, in dma_blk_cb()
146 if (mem && icount_enabled() && dbs->dir == DMA_DIRECTION_FROM_DEVICE) { in dma_blk_cb()
153 dbs->dir, cur_len); in dma_blk_cb()
218 void *opaque, DMADirection dir) in dma_blk_io() argument
222 trace_dma_blk_io(dbs, io_func_opaque, offset, (dir == DMA_DIRECTION_TO_DEVICE)); in dma_blk_io()
231 dbs->dir = dir; in dma_blk_io()
279 QEMUSGList *sg, DMADirection dir, in dma_buf_rw() argument
293 res |= dma_memory_rw(sg->as, entry.base, ptr, xfer, dir, attrs); in dma_buf_rw()
/openbmc/linux/net/netlabel/
H A Dnetlabel_addrlist.c315 char *dir = (src ? "src" : "dst"); in netlbl_af4list_audit_addr() local
319 audit_log_format(audit_buf, " %s=%pI4", dir, &addr); in netlbl_af4list_audit_addr()
326 audit_log_format(audit_buf, " %s_prefixlen=%d", dir, mask_len); in netlbl_af4list_audit_addr()
349 char *dir = (src ? "src" : "dst"); in netlbl_af6list_audit_addr() local
353 audit_log_format(audit_buf, " %s=%pI6", dir, addr); in netlbl_af6list_audit_addr()
365 audit_log_format(audit_buf, " %s_prefixlen=%d", dir, mask_len); in netlbl_af6list_audit_addr()
/openbmc/linux/net/tls/
H A Dtrace.h17 TP_PROTO(struct sock *sk, int dir, u32 tcp_seq, u8 *rec_no, int ret),
19 TP_ARGS(sk, dir, tcp_seq, rec_no, ret),
24 __field( int, dir )
32 __entry->dir = dir;
39 __entry->sk, __entry->dir, __entry->tcp_seq, __entry->rec_no,
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/
H A D0001-tests-use-EXTENSIONS_DIR.patch52 - CHECK( 0, (dir = opendir (BUILD_DIR "/extensions")) == NULL ? 1 : 0 );
55 + CHECK( 0, (dir = opendir (EXTENSIONS_DIR)) == NULL ? 1 : 0 );
58 while ((dp = readdir (dir)) != NULL) {
82 - CHECK( 0, (dir = opendir (BUILD_DIR "/extensions")) == NULL ? 1 : 0 );
85 + CHECK( 0, (dir = opendir (EXTENSIONS_DIR)) == NULL ? 1 : 0 );
88 while ((dp = readdir (dir)) != NULL) {
/openbmc/linux/sound/soc/sh/rcar/
H A Ddebugfs.c71 struct dentry *dir; in rsnd_debugfs_probe() local
87 dir = debugfs_create_dir(name, component->debugfs_root); in rsnd_debugfs_probe()
89 debugfs_create_file("playback", 0444, dir, &rdai->playback, &rsnd_debugfs_fops); in rsnd_debugfs_probe()
90 debugfs_create_file("capture", 0444, dir, &rdai->capture, &rsnd_debugfs_fops); in rsnd_debugfs_probe()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/daemontools/daemontools/
H A D0002-supervise.c-.-supervise-may-be-a-symlink-if-it-s-da.diff23 dir = argv[1];
24 if (!dir || argv[2])
27 strerr_die4sys(111,FATAL,"unable to stat ",dir,"/down: ");
46 strerr_die4sys(111,FATAL,"unable to acquire ",dir,"/supervise/lock: ");
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv-trace.h40 __field(u8, dir)
56 __entry->dir = id->dir;
70 __print_symbolic(__entry->dir,
/openbmc/linux/drivers/staging/vt6655/
H A Dtest8 test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
9 KSP := $(foreach dir, $(KSP), $(test_dir))
/openbmc/linux/drivers/iio/dummy/
H A Diio_simple_dummy_events.c33 enum iio_event_direction dir) in iio_simple_dummy_read_event_config() argument
55 enum iio_event_direction dir, in iio_simple_dummy_write_event_config() argument
68 if (dir == IIO_EV_DIR_RISING) in iio_simple_dummy_write_event_config()
121 enum iio_event_direction dir, in iio_simple_dummy_read_event_value() argument
145 enum iio_event_direction dir, in iio_simple_dummy_write_event_value() argument
/openbmc/linux/fs/ext2/
H A Dialloc.c80 if (dir) in ext2_release_inode()
84 if (dir) in ext2_release_inode()
419 struct inode *ext2_new_inode(struct inode *dir, umode_t mode, in ext2_new_inode() argument
434 sb = dir->i_sb; in ext2_new_inode()
444 group = find_group_dir(sb, dir); in ext2_new_inode()
446 group = find_group_orlov(sb, dir); in ext2_new_inode()
448 group = find_group_other(sb, dir); in ext2_new_inode()
543 inode->i_gid = dir->i_gid; in ext2_new_inode()
545 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in ext2_new_inode()
583 err = ext2_init_acl(inode, dir); in ext2_new_inode()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport.c139 int mlx5e_port_query_sbpr(struct mlx5_core_dev *mdev, u32 desc, u8 dir, in mlx5e_port_query_sbpr() argument
145 MLX5_SET(sbpr_reg, in, dir, dir); in mlx5e_port_query_sbpr()
151 int mlx5e_port_set_sbpr(struct mlx5_core_dev *mdev, u32 desc, u8 dir, in mlx5e_port_set_sbpr() argument
158 MLX5_SET(sbpr_reg, in, dir, dir); in mlx5e_port_set_sbpr()
168 u8 pg_buff_idx, u8 dir, void *out, in mlx5e_port_query_sbcm() argument
176 MLX5_SET(sbcm_reg, in, dir, dir); in mlx5e_port_query_sbcm()
182 u8 dir, u8 infi_size, u32 max_buff, u8 pool_idx) in mlx5e_port_set_sbcm() argument
190 err = mlx5e_port_query_sbcm(mdev, desc, pg_buff_idx, dir, out, in mlx5e_port_set_sbcm()
201 MLX5_SET(sbcm_reg, in, dir, dir); in mlx5e_port_set_sbcm()
/openbmc/linux/arch/powerpc/crypto/
H A Daesp10-ppc.pl105 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
106 ( $xlate="${dir}ppc-xlate.pl" and -f $xlate ) or
107 ( $xlate="${dir}../../perlasm/ppc-xlate.pl" and -f $xlate) or
457 my $dir = shift;
458 my $n = $dir eq "de" ? "n" : "";
462 .globl .${prefix}_${dir}crypt
491 Loop_${dir}c:
500 bdnz Loop_${dir}c
526 .size .${prefix}_${dir}crypt,.-.${prefix}_${dir}crypt

1...<<11121314151617181920>>...125