/openbmc/u-boot/drivers/gpio/ |
H A D | s5p_gpio.c | 31 #define DRV_SET(gpio, mode) ((mode) << ((gpio) << 1)) argument 122 static void s5p_gpio_set_pull(struct s5p_gpio_bank *bank, int gpio, int mode) in s5p_gpio_set_pull() 141 static void s5p_gpio_set_drv(struct s5p_gpio_bank *bank, int gpio, int mode) in s5p_gpio_set_drv() 162 static void s5p_gpio_set_rate(struct s5p_gpio_bank *bank, int gpio, int mode) in s5p_gpio_set_rate() 238 void gpio_set_pull(int gpio, int mode) in gpio_set_pull() 244 void gpio_set_drv(int gpio, int mode) in gpio_set_drv() 256 void gpio_set_rate(int gpio, int mode) in gpio_set_rate()
|
/openbmc/linux/fs/ |
H A D | attr.c | 40 umode_t mode = inode->i_mode; in setattr_should_drop_sgid() local 70 umode_t mode = inode->i_mode; in setattr_should_drop_suidgid() local 317 umode_t mode = attr->ia_mode; in setattr_copy() local 385 umode_t mode = inode->i_mode; in notify_change() local
|
H A D | fs_types.c | 77 unsigned char fs_umode_to_ftype(umode_t mode) in fs_umode_to_ftype() 101 unsigned char fs_umode_to_dtype(umode_t mode) in fs_umode_to_dtype()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-ns2.c | 33 u32 mode; member 56 static int ns2_led_get_mode(struct ns2_led *led, enum ns2_led_modes *mode) in ns2_led_get_mode() 76 static void ns2_led_set_mode(struct ns2_led *led, enum ns2_led_modes mode) in ns2_led_set_mode() 107 enum ns2_led_modes mode; in ns2_led_set() local 180 enum ns2_led_modes mode; in ns2_led_register() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H A D | agp.c | 31 int mode; member 59 u32 mode = nvkm_pci_rd32(pci, 0x004c); in nvkm_agp_preinit() local 110 int mode = -1; in nvkm_agp_ctor() local
|
/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 77 spufs_new_inode(struct super_block *sb, umode_t mode) in spufs_new_inode() 111 const struct file_operations *fops, umode_t mode, in spufs_new_file() 184 const struct spufs_tree_descr *files, umode_t mode, in spufs_fill_dir() 230 umode_t mode) in spufs_mkdir() 402 struct vfsmount *mnt, int flags, umode_t mode, in spufs_create_context() 459 spufs_mkgang(struct inode *dir, struct dentry *dentry, umode_t mode) in spufs_mkgang() 520 struct vfsmount *mnt, umode_t mode) in spufs_create_gang() 540 unsigned int flags, umode_t mode, struct file *filp) in spufs_create() 575 umode_t mode; member
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_ethtool.c | 325 u32 type, mode; in prestera_port_type_set() local 362 u32 mode; in prestera_modes_to_eth() local 388 u32 mode; in prestera_modes_from_eth() local 414 u32 mode; in prestera_port_supp_types_get() local 591 u32 mode; in prestera_port_link_mode_set() local 683 u32 mode; in prestera_ethtool_get_fecparam() local 712 u32 mode; in prestera_ethtool_set_fecparam() local
|
/openbmc/linux/drivers/regulator/ |
H A D | da9062-regulator.c | 49 struct reg_field mode; member 65 struct regmap_field *mode; member 101 static unsigned int da9062_map_buck_mode(unsigned int mode) in da9062_map_buck_mode() 115 static int da9062_buck_set_mode(struct regulator_dev *rdev, unsigned mode) in da9062_buck_set_mode() 180 static int da9062_ldo_set_mode(struct regulator_dev *rdev, unsigned mode) in da9062_ldo_set_mode() 281 unsigned mode) in da9062_buck_set_suspend_mode() 304 unsigned mode) in da9062_ldo_set_suspend_mode()
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | dfp.c | 113 void nv04_dfp_update_fp_control(struct drm_encoder *encoder, int mode) in nv04_dfp_update_fp_control() 183 const struct drm_display_mode *mode, in nv04_dfp_mode_fixup() 281 struct drm_display_mode *mode, in nv04_dfp_mode_set() 486 static void nv04_dfp_update_backlight(struct drm_encoder *encoder, int mode) in nv04_dfp_update_backlight() 509 static inline bool is_powersaving_dpms(int mode) in is_powersaving_dpms() 514 static void nv04_lvds_dpms(struct drm_encoder *encoder, int mode) in nv04_lvds_dpms() 562 static void nv04_tmds_dpms(struct drm_encoder *encoder, int mode) in nv04_tmds_dpms()
|
/openbmc/linux/kernel/bpf/ |
H A D | inode.c | 103 umode_t mode) in bpf_get_inode() 154 struct dentry *dentry, umode_t mode) in bpf_mkdir() 329 static int bpf_mkobj_ops(struct dentry *dentry, umode_t mode, void *raw, in bpf_mkobj_ops() 346 static int bpf_mkprog(struct dentry *dentry, umode_t mode, void *arg) in bpf_mkprog() 352 static int bpf_mkmap(struct dentry *dentry, umode_t mode, void *arg) in bpf_mkmap() 361 static int bpf_mklink(struct dentry *dentry, umode_t mode, void *arg) in bpf_mklink() 419 umode_t mode = S_IFREG | S_IRUSR; in bpf_iter_link_pin_kernel() local 442 umode_t mode; in bpf_obj_do_pin() local 603 umode_t mode = d_inode(root)->i_mode & S_IALLUGO & ~S_ISVTX; in bpf_show_options() local 638 umode_t mode; member
|
/openbmc/linux/fs/proc/ |
H A D | generic.c | 393 umode_t mode, in __proc_create() 481 struct proc_dir_entry *_proc_mkdir(const char *name, umode_t mode, in _proc_mkdir() 503 struct proc_dir_entry *proc_mkdir_data(const char *name, umode_t mode, in proc_mkdir_data() 510 struct proc_dir_entry *proc_mkdir_mode(const char *name, umode_t mode, in proc_mkdir_mode() 526 umode_t mode = S_IFDIR | S_IRUGO | S_IXUGO; in proc_create_mount_point() local 540 struct proc_dir_entry *proc_create_reg(const char *name, umode_t mode, in proc_create_reg() 566 struct proc_dir_entry *proc_create_data(const char *name, umode_t mode, in proc_create_data() 581 struct proc_dir_entry *proc_create(const char *name, umode_t mode, in proc_create() 615 struct proc_dir_entry *proc_create_seq_private(const char *name, umode_t mode, in proc_create_seq_private() 646 struct proc_dir_entry *proc_create_single_data(const char *name, umode_t mode, in proc_create_single_data()
|
/openbmc/linux/arch/x86/boot/ |
H A D | video-mode.c | 52 int mode_defined(u16 mode) in mode_defined() 70 static int raw_set_mode(u16 mode, u16 *real_mode) in raw_set_mode() 145 int set_mode(u16 mode) in set_mode()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | ni_labpc_common.c | 120 enum scan_mode mode, in labpc_ai_set_chan_and_gain() 149 enum scan_mode mode, in labpc_setup_cmd6_reg() 272 enum scan_mode mode) in labpc_use_continuous_mode() 281 enum scan_mode mode) in labpc_ai_convert_period() 293 enum scan_mode mode, unsigned int ns) in labpc_set_ai_convert_period() 309 enum scan_mode mode) in labpc_ai_scan_period() 321 enum scan_mode mode, unsigned int ns) in labpc_set_ai_scan_period() 334 enum scan_mode mode) in labpc_adc_timing() 443 enum scan_mode mode = labpc_ai_scan_mode(cmd); in labpc_ai_check_chanlist() local 503 enum scan_mode mode; in labpc_ai_cmdtest() local [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | rdma_core.c | 62 enum rdma_lookup_mode mode) in uverbs_try_lock_object() 89 enum rdma_lookup_mode mode) in assert_uverbs_usecnt() 311 enum rdma_lookup_mode mode) in lookup_get_idr_uobject() 335 enum rdma_lookup_mode mode) in lookup_get_fd_uobject() 374 enum rdma_lookup_mode mode, in rdma_lookup_get_uobject() 724 enum rdma_lookup_mode mode) in lookup_put_idr_uobject() 729 enum rdma_lookup_mode mode) in lookup_put_fd_uobject() 742 enum rdma_lookup_mode mode) in rdma_lookup_put_uobject()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | lp8788_bl.c | 47 enum lp8788_bl_ctrl_mode mode; member 60 static inline bool is_brightness_ctrl_by_pwm(enum lp8788_bl_ctrl_mode mode) in is_brightness_ctrl_by_pwm() 65 static inline bool is_brightness_ctrl_by_register(enum lp8788_bl_ctrl_mode mode) in is_brightness_ctrl_by_register() 162 enum lp8788_bl_ctrl_mode mode = bl->mode; in lp8788_bl_update_status() local 234 enum lp8788_bl_ctrl_mode mode = bl->mode; in lp8788_get_bl_ctl_mode() local
|
/openbmc/linux/drivers/hid/ |
H A D | hid-saitek.c | 33 int mode; member 100 int mode = -1; in saitek_raw_event() local 122 int mode = -1; in saitek_raw_event() local
|
/openbmc/linux/drivers/thermal/qcom/ |
H A D | tsens-v0_1.c | 90 int mode, ret; in calibrate_8916() local 117 static void fixup_8974_points(int mode, u32 *p1, u32 *p2) in fixup_8974_points() 150 int ret, mode; in calibrate_8974_nvmem() local 174 int mode, ret; in calibrate_8974() local
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | macmodes.c | 142 const struct fb_videomode *mode; member 223 const struct fb_videomode *mode = NULL; in mac_vmode_to_var() local 322 const struct fb_videomode *mode = map->mode; in mac_var_to_vmode() local
|
/openbmc/u-boot/drivers/qe/ |
H A D | uccf.c | 86 static int ucc_set_clk_src(int ucc_num, qe_clock_e clock, comm_dir_e mode) in ucc_set_clk_src() 219 void ucc_fast_enable(ucc_fast_private_t *uccf, comm_dir_e mode) in ucc_fast_enable() 239 void ucc_fast_disable(ucc_fast_private_t *uccf, comm_dir_e mode) in ucc_fast_disable()
|
/openbmc/linux/include/rdma/ |
H A D | rdma_counter.h | 23 enum rdma_nl_counter_mode mode; member 29 struct rdma_counter_mode mode; member 40 struct rdma_counter_mode mode; member
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | s2mps11_regulator.c | 168 unsigned int addr, mode; in s2mps11_buck_mode() local 290 int mode; in buck_get_mode() local 300 static int buck_set_mode(struct udevice *dev, int mode) in buck_set_mode() 431 unsigned int addr, mode; in s2mps11_ldo_mode() local 568 int mode, ret; in ldo_get_mode() local 576 static int ldo_set_mode(struct udevice *dev, int mode) in ldo_set_mode()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_encoder_slave.c | 128 void drm_i2c_encoder_dpms(struct drm_encoder *encoder, int mode) in drm_i2c_encoder_dpms() 135 const struct drm_display_mode *mode, in drm_i2c_encoder_mode_fixup() 158 struct drm_display_mode *mode, in drm_i2c_encoder_mode_set()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_algs.c | 28 #define QAT_AES_HW_CONFIG_ENC(alg, mode) \ argument 33 #define QAT_AES_HW_CONFIG_DEC(alg, mode) \ argument 94 int mode; member 239 int mode) in qat_alg_aead_init_enc_session() 320 int mode) in qat_alg_aead_init_dec_session() 418 int mode = ctx->mode; in qat_alg_skcipher_init_com() local 453 unsigned int keylen, int mode) in qat_alg_skcipher_init_enc() 577 int mode) in qat_alg_skcipher_init_sessions() 877 int mode) in qat_alg_skcipher_rekey() 889 int mode) in qat_alg_skcipher_newkey() [all …]
|
/openbmc/linux/fs/9p/ |
H A D | vfs_inode.c | 45 static u32 unixmode2p9mode(struct v9fs_session_info *v9ses, umode_t mode) in unixmode2p9mode() 84 int mode = stat->mode; in p9mode2perm() local 111 u32 mode = stat->mode; in p9mode2unixmode() local 259 struct inode *inode, umode_t mode, dev_t rdev) in v9fs_init_inode() 344 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t rdev) in v9fs_get_inode() 599 struct dentry *dentry, char *extension, u32 perm, u8 mode) in v9fs_create() 676 struct dentry *dentry, umode_t mode, bool excl) in v9fs_vfs_create() 703 struct dentry *dentry, umode_t mode) in v9fs_vfs_mkdir() 795 struct file *file, unsigned int flags, umode_t mode) in v9fs_vfs_atomic_open() 1150 umode_t mode; in v9fs_stat2inode() local [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_crtc.c | 69 const struct drm_display_mode *mode = &crtc->mode; in shmob_drm_crtc_setup_geometry() local 328 static void shmob_drm_crtc_dpms(struct drm_crtc *crtc, int mode) in shmob_drm_crtc_dpms() 349 struct drm_display_mode *mode, in shmob_drm_crtc_mode_set() 530 static void shmob_drm_encoder_dpms(struct drm_encoder *encoder, int mode) in shmob_drm_encoder_dpms() 545 const struct drm_display_mode *mode, in shmob_drm_encoder_mode_fixup() 572 struct drm_display_mode *mode, in shmob_drm_encoder_mode_set() 620 struct drm_display_mode *mode; in shmob_drm_connector_get_modes() local
|