/linux-master/arch/arm/mach-pxa/ |
H A D | sleep.S | 31 mov r0, #0x06 @ S2D3C4 mode 49 @ prepare value for sleep mode 50 mov r1, r0 @ sleep mode 59 @ enable SDRAM self-refresh mode 90 @ prepare value for sleep mode 91 mov r1, r0 @ sleep mode 100 @ enable SDRAM self-refresh mode 116 @ ensure x1 for run and turbo mode with memory clock 160 @ external accesses after SDRAM is put in self-refresh mode 161 @ (see Errata 38 ...hangs when entering self-refresh mode) [all...] |
/linux-master/drivers/gpu/drm/armada/ |
H A D | armada_fbdev.c | 46 struct drm_mode_fb_cmd2 mode; local 53 memset(&mode, 0, sizeof(mode)); 54 mode.width = sizes->surface_width; 55 mode.height = sizes->surface_height; 56 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); 57 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 60 size = mode.pitches[0] * mode [all...] |
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_probe_helper_test.c | 100 struct drm_display_mode *mode; local 123 list_for_each_entry(mode, &connector->probed_modes, head) 128 mode = list_first_entry_or_null(&connector->probed_modes, 130 KUNIT_ASSERT_NOT_NULL(test, mode); 135 KUNIT_EXPECT_TRUE(test, drm_mode_equal(mode, expected)); 136 KUNIT_EXPECT_TRUE(test, mode->type & DRM_MODE_TYPE_PREFERRED); 140 mode = list_next_entry(mode, head); 141 KUNIT_ASSERT_NOT_NULL(test, mode); 146 KUNIT_EXPECT_TRUE(test, drm_mode_equal(mode, expecte [all...] |
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-sony-td4353-jdi.c | 92 dev_err(dev, "Failed to exit sleep mode: %d\n", ret); 131 dev_err(dev, "Failed to enter sleep mode: %d\n", ret); 139 static void sony_td4353_assert_reset_gpios(struct sony_td4353_jdi *ctx, int mode) argument 141 gpiod_set_value_cansleep(ctx->touch_reset_gpio, mode); 142 gpiod_set_value_cansleep(ctx->panel_reset_gpio, mode); 207 struct drm_display_mode *mode = NULL; local 210 mode = drm_mode_duplicate(connector->dev, &sony_td4353_jdi_mode_tama_60hz); 214 if (!mode) 217 drm_mode_set_name(mode); 219 mode [all...] |
/linux-master/drivers/spi/ |
H A D | spi-ljca.c | 60 u8 mode; member in struct:ljca_spi_init_packet 74 u8 mode; member in struct:ljca_spi_dev 117 static int ljca_spi_init(struct ljca_spi_dev *ljca_spi, u8 div, u8 mode) argument 122 if (ljca_spi->mode == mode && ljca_spi->speed == div) 127 w_packet.mode = FIELD_PREP(LJCA_SPI_CLK_MODE_POLARITY, 128 (mode & SPI_CPOL) ? LJCA_SPI_CLOCK_HIGH_POLARITY : 131 (mode & SPI_CPHA) ? LJCA_SPI_CLOCK_SECOND_PHASE : 139 ljca_spi->mode = mode; [all...] |
/linux-master/drivers/gpu/drm/meson/ |
H A D | meson_encoder_cvbs.c | 48 .mode = { 57 .mode = { 74 if (drm_mode_match(req_mode, &meson_mode->mode, 101 struct drm_display_mode *mode; local 107 mode = drm_mode_duplicate(priv->drm, &meson_mode->mode); 108 if (!mode) { 109 dev_err(priv->dev, "Failed to create a new display mode\n"); 113 drm_mode_probed_add(connector, mode); 122 const struct drm_display_mode *mode) 120 meson_encoder_cvbs_mode_valid(struct drm_bridge *bridge, const struct drm_display_info *display_info, const struct drm_display_mode *mode) argument [all...] |
/linux-master/drivers/hwmon/ |
H A D | ltc2990.c | 46 /* Enabled measurements for mode bits 2..0 */ 58 /* Enabled measurements for mode bits 4..3 */ 68 u32 mode[2]; member in struct:ltc2990_data 163 (ltc2990_attrs_ena_0[data->mode[0]] & 164 ltc2990_attrs_ena_1[data->mode[1]]); 167 return a->mode; 221 "lltc,meas-mode", 222 data->mode, 2); 226 if (data->mode[0] & ~LTC2990_MODE0_MASK || 227 data->mode[ [all...] |
/linux-master/include/drm/ |
H A D | drm_modeset_helper_vtables.h | 38 * The DRM mode setting helper functions are common code for drivers to use if 70 * Callback to control power levels on the CRTC. If the mode passed in 83 void (*dpms)(struct drm_crtc *crtc, int mode); 103 * This callback should commit the new mode on the CRTC after a modeset, 118 * This callback is used to check if a specific mode is valid in this 126 * This hook is used by the probe helpers to filter the mode list in 136 * commit, and the mode validation in the probe paths it is not allowed 137 * to look at anything else but the passed-in mode, and validate it 147 const struct drm_display_mode *mode); 152 * This callback is used to validate a mode [all...] |
/linux-master/arch/arm64/kvm/hyp/vhe/ |
H A D | switch.c | 214 u64 spsr, elr, mode; local 231 mode = spsr & (PSR_MODE_MASK | PSR_MODE32_BIT); 233 switch (mode) { 239 mode = PSR_MODE_EL1t; 242 mode = PSR_MODE_EL1h; 256 spsr = (spsr & ~(PSR_MODE_MASK | PSR_MODE32_BIT)) | mode; 294 u64 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); local 296 switch (mode) { 298 mode = PSR_MODE_EL2t; 301 mode [all...] |
/linux-master/drivers/platform/x86/ |
H A D | mlx-platform.c | 3171 .mode = 0444, 3177 .mode = 0444, 3183 .mode = 0444, 3190 .mode = 0444, 3197 .mode = 0444, 3203 .mode = 0444, 3209 .mode = 0444, 3215 .mode = 0444, 3221 .mode = 0444, 3227 .mode [all...] |
/linux-master/arch/parisc/include/asm/ |
H A D | floppy.h | 42 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) 195 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) argument 199 virtual_dma_mode = (mode == DMA_MODE_WRITE); 206 static int hard_dma_setup(char *addr, unsigned long size, int mode, int io) argument 217 set_dma_mode(FLOPPY_DMA,mode); 229 int (*_dma_setup)(char *addr, unsigned long size, int mode, int io);
|
/linux-master/arch/arm/mach-exynos/ |
H A D | firmware.c | 34 static int exynos_do_idle(unsigned long mode) argument 36 switch (mode) { 62 * because Exynos3250 removes WFE in secure mode. 92 * Almost all Exynos-series of SoCs that run in secure mode don't need 228 * cache controller to be written in secure mode. Here .write_sec 241 void exynos_set_boot_flag(unsigned int cpu, unsigned int mode) argument 247 if (mode & BOOT_MODE_MASK) 250 tmp |= mode; 254 void exynos_clear_boot_flag(unsigned int cpu, unsigned int mode) argument 259 tmp &= ~mode; [all...] |
/linux-master/include/uapi/linux/ |
H A D | userfaultfd.h | 176 * with UFFDIO_REGISTER_MODE_MISSING mode will succeed on 218 * write-protection mode is supported on both shmem and hugetlbfs. 221 * write-protection mode will always apply to unpopulated pages 224 * when userfault write-protection mode is registered. 227 * asynchronous mode is supported in which the write fault is 266 __u64 mode; member in struct:uffdio_register 287 __u64 mode; member in struct:uffdio_copy 299 __u64 mode; member in struct:uffdio_zeropage 325 __u64 mode; member in struct:uffdio_writeprotect 338 __u64 mode; member in struct:uffdio_continue 350 __u64 mode; member in struct:uffdio_poison 369 __u64 mode; member in struct:uffdio_move [all...] |
/linux-master/drivers/net/phy/ |
H A D | bcm84881.c | 143 unsigned int mode; local 204 /* Set the host link mode - we set the phy interface mode and 210 mode = (val & 0x1e) >> 1; 211 if (mode == 1 || mode == 2) 213 else if (mode == 3) 215 else if (mode == 4) 217 switch (mode & 7) {
|
/linux-master/tools/include/uapi/linux/ |
H A D | userfaultfd.h | 176 * with UFFDIO_REGISTER_MODE_MISSING mode will succeed on 218 * write-protection mode is supported on both shmem and hugetlbfs. 221 * write-protection mode will always apply to unpopulated pages 224 * when userfault write-protection mode is registered. 227 * asynchronous mode is supported in which the write fault is 266 __u64 mode; member in struct:uffdio_register 287 __u64 mode; member in struct:uffdio_copy 299 __u64 mode; member in struct:uffdio_zeropage 325 __u64 mode; member in struct:uffdio_writeprotect 338 __u64 mode; member in struct:uffdio_continue 350 __u64 mode; member in struct:uffdio_poison 369 __u64 mode; member in struct:uffdio_move [all...] |
/linux-master/tools/perf/util/ |
H A D | print_insn.c | 38 cs_mode mode; local 42 mode = CS_MODE_64; 45 mode = CS_MODE_32; 48 mode = CS_MODE_ARM; 51 mode = CS_MODE_ARM + CS_MODE_V8; 54 mode = CS_MODE_BIG_ENDIAN; 59 if (cs_open(arch, mode, cs_handle) != CS_ERR_OK) {
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 196 * inode. If the inode is unused, mode is zero and we shouldn't mess 368 mode_t mode = be16_to_cpu(dip->di_mode); local 384 if (S_ISDIR(mode)) { 396 if (S_ISLNK(mode)) { 418 if (S_ISREG(mode) && whichfork == XFS_DATA_FORK) 490 uint16_t mode; local 527 mode = be16_to_cpu(dip->di_mode); 528 if (mode && xfs_mode_to_ftype(mode) == XFS_DIR3_FT_UNKNOWN) 532 if ((S_ISLNK(mode) || S_ISDI 682 xfs_inode_validate_extsize( struct xfs_mount *mp, uint32_t extsize, uint16_t mode, uint16_t flags) argument 772 xfs_inode_validate_cowextsize( struct xfs_mount *mp, uint32_t cowextsize, uint16_t mode, uint16_t flags, uint64_t flags2) argument [all...] |
/linux-master/arch/s390/kvm/ |
H A D | gaccess.c | 381 enum gacc_mode mode) 463 if (ale.fo == 1 && mode == GACC_STORE) 481 enum gacc_mode mode, enum prot_type prot, bool terminate) 531 teid->fsi = mode == GACC_STORE ? TEID_FSI_STORE : TEID_FSI_FETCH; 551 enum gacc_mode mode, enum prot_type prot) 553 return trans_exc_ending(vcpu, code, gva, ar, mode, prot, false); 557 unsigned long ga, u8 ar, enum gacc_mode mode) 568 if ((mode == GACC_IFETCH) && (psw.as != PSW_BITS_AS_HOME)) 582 rc = ar_translation(vcpu, asce, ar, mode); 584 return trans_exc(vcpu, rc, ga, ar, mode, PROT_TYPE_AL 380 ar_translation(struct kvm_vcpu *vcpu, union asce *asce, u8 ar, enum gacc_mode mode) argument 480 trans_exc_ending(struct kvm_vcpu *vcpu, int code, unsigned long gva, u8 ar, enum gacc_mode mode, enum prot_type prot, bool terminate) argument 550 trans_exc(struct kvm_vcpu *vcpu, int code, unsigned long gva, u8 ar, enum gacc_mode mode, enum prot_type prot) argument 556 get_vcpu_asce(struct kvm_vcpu *vcpu, union asce *asce, unsigned long ga, u8 ar, enum gacc_mode mode) argument 616 guest_translate(struct kvm_vcpu *vcpu, unsigned long gva, unsigned long *gpa, const union asce asce, enum gacc_mode mode, enum prot_type *prot) argument 799 vm_check_access_key(struct kvm *kvm, u8 access_key, enum gacc_mode mode, gpa_t gpa) argument 828 fetch_prot_override_applicable(struct kvm_vcpu *vcpu, enum gacc_mode mode, union asce asce) argument 862 vcpu_check_access_key(struct kvm_vcpu *vcpu, u8 access_key, enum gacc_mode mode, union asce asce, gpa_t gpa, unsigned long ga, unsigned int len) argument 936 guest_range_to_gpas(struct kvm_vcpu *vcpu, unsigned long ga, u8 ar, unsigned long *gpas, unsigned long len, const union asce asce, enum gacc_mode mode, u8 access_key) argument 981 access_guest_page(struct kvm *kvm, enum gacc_mode mode, gpa_t gpa, void *data, unsigned int len) argument 996 access_guest_page_with_key(struct kvm *kvm, enum gacc_mode mode, gpa_t gpa, void *data, unsigned int len, u8 access_key) argument 1029 access_guest_abs_with_key(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len, enum gacc_mode mode, u8 access_key) argument 1049 access_guest_with_key(struct kvm_vcpu *vcpu, unsigned long ga, u8 ar, void *data, unsigned long len, enum gacc_mode mode, u8 access_key) argument 1130 access_guest_real(struct kvm_vcpu *vcpu, unsigned long gra, void *data, unsigned long len, enum gacc_mode mode) argument 1272 guest_translate_address_with_key(struct kvm_vcpu *vcpu, unsigned long gva, u8 ar, unsigned long *gpa, enum gacc_mode mode, u8 access_key) argument 1296 check_gva_range(struct kvm_vcpu *vcpu, unsigned long gva, u8 ar, unsigned long length, enum gacc_mode mode, u8 access_key) argument 1321 check_gpa_range(struct kvm *kvm, unsigned long gpa, unsigned long length, enum gacc_mode mode, u8 access_key) argument [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_client_modeset.c | 79 drm_mode_destroy(client->dev, modeset->mode); 80 modeset->mode = NULL; 123 struct drm_display_mode *mode; local 125 list_for_each_entry(mode, &connector->modes, head) { 126 if (mode->hdisplay == connector->tile_h_size && 127 mode->vdisplay == connector->tile_v_size) 128 return mode; 136 struct drm_display_mode *mode; local 138 list_for_each_entry(mode, &connector->modes, head) { 139 if (mode 150 struct drm_display_mode *mode; local 165 struct drm_display_mode *mode; local 269 struct drm_display_mode *dmt_mode, *mode; local 863 struct drm_display_mode *mode = modes[i]; local 1234 drm_client_modeset_dpms(struct drm_client_dev *client, int mode) argument [all...] |
/linux-master/kernel/ |
H A D | kcov.c | 55 /* The lock protects mode, size, area and t. */ 57 enum kcov_mode mode; member in struct:kcov 166 unsigned int mode; local 175 mode = READ_ONCE(t->kcov_mode); 184 return mode == needed_mode; 347 unsigned int size, void *area, enum kcov_mode mode, 358 WRITE_ONCE(t->kcov_mode, mode); 386 kcov->mode = KCOV_MODE_INIT; 515 kcov->mode = KCOV_MODE_DISABLED; 580 int mode, local 346 kcov_start(struct task_struct *t, struct kcov *kcov, unsigned int size, void *area, enum kcov_mode mode, int sequence) argument 800 kcov_mode_enabled(unsigned int mode) argument 808 unsigned int mode; local 843 unsigned int mode; local 927 kcov_move_area(enum kcov_mode mode, void *dst_area, unsigned int dst_area_size, void *src_area) argument 987 unsigned int mode; local [all...] |
/linux-master/sound/firewire/fireworks/ |
H A D | fireworks_pcm.c | 31 /* multiplier mode 0 */ 35 /* multiplier mode 1 */ 38 /* multiplier mode 2 */ 49 int snd_efw_get_multiplier_mode(unsigned int sampling_rate, unsigned int *mode) argument 55 *mode = get_multiplier_mode_with_index(i); 74 unsigned int i, mode; local 77 mode = get_multiplier_mode_with_index(i); 78 if (!snd_interval_test(c, pcm_channels[mode])) 99 unsigned int i, mode; local 102 mode 116 unsigned int i, mode; local [all...] |
/linux-master/include/trace/events/ |
H A D | timer.h | 172 #define decode_hrtimer_mode(mode) \ 173 __print_symbolic(mode, \ 191 * @mode: the hrtimers mode 196 enum hrtimer_mode mode), 198 TP_ARGS(hrtimer, clockid, mode), 203 __field( enum hrtimer_mode, mode ) 209 __entry->mode = mode; 212 TP_printk("hrtimer=%p clockid=%s mode [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | base.c | 106 nvkm_therm_update(struct nvkm_therm *therm, int mode) argument 116 if (mode < 0) 117 mode = therm->mode; 118 therm->mode = mode; 120 switch (mode) { 185 nvkm_therm_fan_mode(struct nvkm_therm *therm, int mode) argument 196 if ((mode >= ARRAY_SIZE(name)) || 197 (mode ! [all...] |
/linux-master/security/tomoyo/ |
H A D | audit.c | 114 * @mode: Mode value for stat(). 118 static inline const char *tomoyo_filetype(const umode_t mode) argument 120 switch (mode & S_IFMT) { 166 "#%04u/%02u/%02u %02u:%02u:%02u# profile=%u mode=%s granted=%s (global-pid=%u) task={ pid=%u ppid=%u uid=%u gid=%u euid=%u egid=%u suid=%u sgid=%u fsuid=%u fsgid=%u }", 168 stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode], 188 umode_t mode; local 194 mode = stat->mode; 203 stat->mode & S_IALLUGO); 213 mode 333 u8 mode; local [all...] |
/linux-master/drivers/clk/starfive/ |
H A D | clk-starfive-jh7110-pll.c | 10 * Each PLL clocks work in integer mode or fraction mode by some dividers, 86 unsigned mode : 1; member in struct:jh7110_pll_preset 166 .mode = JH7110_PLL_MODE_INTEGER, 172 .mode = JH7110_PLL_MODE_INTEGER, 178 .mode = JH7110_PLL_MODE_INTEGER, 184 .mode = JH7110_PLL_MODE_INTEGER, 190 .mode = JH7110_PLL_MODE_INTEGER, 196 .mode = JH7110_PLL_MODE_INTEGER, 202 .mode [all...] |