Searched refs:type (Results 276 - 300 of 13790) sorted by last modified time

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/panel/
H A Dpanel-novatek-nt36672e.c540 mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED;
H A Dpanel-visionox-rm69299.c172 mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dnv50.c422 struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
429 nvkm_instmem_ctor(func, device, type, inst, &imem->base);
436 nv50_instmem_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
440 return r535_instmem_new(&nv50_instmem, device, type, inst, pimem);
442 return nv50_instmem_new_(&nv50_instmem, device, type, inst, pimem);
421 nv50_instmem_new_(const struct nvkm_instmem_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_instmem **pimem) argument
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c374 * common case for the panel type field is 0x0005, and that is in
465 * bytes 1-2 are "panel type", including bits on whether Colour/mono,
466 * single/dual link, and type (TFT etc.)
494 mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED;
982 if (bios->type != NVBIOS_BIT)
1387 static void fabricate_dcb_output(struct dcb_table *dcb, int type, int i2c, argument
1392 entry->type = type;
1395 if (type != DCB_OUTPUT_ANALOG)
1407 entry->type
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_dio_link_encoder.c159 cmd->query_dp_alt.header.type = DMUB_CMD__VBIOS;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.c184 if (bo->tbo.type == ttm_bo_type_kernel)
305 if (!bo || bo->tbo.type != ttm_bo_type_kernel)
342 if (bo->tbo.type == ttm_bo_type_kernel && bo->parent)
499 if (bo->tbo.type != ttm_bo_type_kernel) {
597 if (ring->funcs->type == AMDGPU_RING_TYPE_COMPUTE)
1500 * @flush_type: flush type
2109 if (bo->tbo.type == ttm_bo_type_kernel)
H A Damdgpu_ttm.h169 uint64_t amdgpu_ttm_domain_start(struct amdgpu_device *adev, uint32_t type);
H A Damdgpu_ttm.c75 unsigned int type,
78 return ttm_range_man_init(&adev->mman.bdev, type,
103 if (bo->type == ttm_bo_type_sg) {
392 if (bo->type == ttm_bo_type_kernel)
523 if (bo->type == ttm_bo_type_device &&
628 * @type: type of the memory
634 uint64_t amdgpu_ttm_domain_start(struct amdgpu_device *adev, uint32_t type)
636 switch (type) {
831 * and uses memory type defaul
74 amdgpu_ttm_init_on_chip(struct amdgpu_device *adev, unsigned int type, uint64_t size_in_page) argument
630 amdgpu_ttm_domain_start(struct amdgpu_device *adev, uint32_t type) argument
[all...]
H A Damdgpu_object.h55 enum ttm_bo_type type; member in struct:amdgpu_bo_param
172 * @mem_type: ttm memory type
282 if (bo->tbo.type == ttm_bo_type_kernel)
/linux-master/drivers/gpio/
H A Dgpio-wcove.c102 static inline int to_reg(int gpio, enum ctrl_register type) argument
104 unsigned int reg = type == CTRL_IN ? GPIO_IN_CTRL_BASE : GPIO_OUT_CTRL_BASE;
112 static inline int to_ireg(int gpio, enum ctrl_register type, unsigned int *mask) argument
114 unsigned int reg = type == IRQ_STATUS ? IRQ_STATUS_BASE : IRQ_MASK_BASE;
239 static int wcove_irq_type(struct irq_data *data, unsigned int type) argument
248 switch (type) {
H A Dgpio-crystalcove.c184 static int crystalcove_irq_type(struct irq_data *data, unsigned int type) argument
192 switch (type) {
/linux-master/drivers/char/
H A Drandom.c477 #define DEFINE_BATCHED_ENTROPY(type) \
478 struct batch_ ##type { \
486 type entropy[CHACHA_BLOCK_SIZE * 3 / (2 * sizeof(type))]; \
492 static DEFINE_PER_CPU(struct batch_ ##type, batched_entropy_ ##type) = { \
493 .lock = INIT_LOCAL_LOCK(batched_entropy_ ##type.lock), \
497 type get_random_ ##type(void) \
499 type re
1193 add_input_randomness(unsigned int type, unsigned int code, unsigned int value) argument
[all...]
/linux-master/fs/btrfs/
H A Dextent_io.c2771 if (key.objectid != btrfs_ino(inode) || key.type != BTRFS_EXTENT_DATA_KEY) {
2811 key.type = BTRFS_EXTENT_DATA_KEY;
2820 if (key.objectid == ino && key.type == BTRFS_EXTENT_DATA_KEY)
2830 if (key.objectid != ino || key.type != BTRFS_EXTENT_DATA_KEY)
3017 if (key.objectid != ino || key.type != BTRFS_EXTENT_DATA_KEY) {
3128 if (key.objectid != ino || key.type != BTRFS_EXTENT_DATA_KEY)
H A Dextent-tree.c85 key.type = BTRFS_EXTENT_ITEM_KEY;
140 key.type = BTRFS_METADATA_ITEM_KEY;
142 key.type = BTRFS_EXTENT_ITEM_KEY;
149 if (ret > 0 && metadata && key.type == BTRFS_METADATA_ITEM_KEY) {
155 key.type == BTRFS_EXTENT_ITEM_KEY &&
292 * The key type is used to differentiate between types of back refs.
344 * is_data == BTRFS_REF_TYPE_BLOCK, tree block type is required,
345 * is_data == BTRFS_REF_TYPE_DATA, data type is requiried,
346 * is_data == BTRFS_REF_TYPE_ANY, either type is OK.
353 int type local
649 int type; local
731 int type; local
799 int type; local
1005 int type; local
1097 int type; local
2389 int type; local
2966 int type; local
4827 int type; local
[all...]
/linux-master/tools/testing/selftests/timers/
H A Dposix_timers.c136 const char *type; local
145 type = "thread";
147 type = "process";
149 ksft_print_msg("Unknown timer_create() type %d\n", which);
182 "timer_create() per %s\n", type); local
/linux-master/fs/bcachefs/
H A Dsysfs.c45 #define SYSFS_OPS(type) \
46 const struct sysfs_ops type ## _sysfs_ops = { \
47 .show = type ## _show, \
48 .store = type ## _store \
316 prt_str(out, "type");
H A Dsuper-io.c82 enum bch_sb_field_type type)
87 if (le32_to_cpu(f->type) == type)
107 f->type = 0;
132 enum bch_sb_field_type type)
134 struct bch_sb_field *f = bch2_sb_field_get_id(sb->sb, type);
214 enum bch_sb_field_type type,
217 struct bch_sb_field *f = bch2_sb_field_get_id(sb->sb, type);
241 f = bch2_sb_field_get_id(sb->sb, type);
244 f->type
81 bch2_sb_field_get_id(struct bch_sb *sb, enum bch_sb_field_type type) argument
131 bch2_sb_field_delete(struct bch_sb_handle *sb, enum bch_sb_field_type type) argument
213 bch2_sb_field_resize_id(struct bch_sb_handle *sb, enum bch_sb_field_type type, unsigned u64s) argument
248 bch2_sb_field_get_minsize_id(struct bch_sb_handle *sb, enum bch_sb_field_type type, unsigned u64s) argument
1191 bch2_sb_field_type_ops(unsigned type) argument
1201 unsigned type = le32_to_cpu(f->type); local
1221 unsigned type = le32_to_cpu(f->type); local
1234 unsigned type = le32_to_cpu(f->type); local
[all...]
H A Dopts.h82 * x(name, shortopt, type, in mem type, mode, sb_opt)
91 * @type - one of OPT_BOOL, OPT_UINT, OPT_STR
537 enum opt_type type; member in struct:bch_option
H A Dopts.c99 unsigned nr, const char *type, unsigned idx)
104 prt_printf(out, "(unknown %s %u)", type, idx);
107 #define PRT_STR_OPT_BOUNDSCHECKED(name, type) \
108 void bch2_prt_##name(struct printbuf *out, type t) \
224 #define OPT_BOOL() .type = BCH_OPT_BOOL, .min = 0, .max = 2
225 #define OPT_UINT(_min, _max) .type = BCH_OPT_UINT, \
227 #define OPT_STR(_choices) .type = BCH_OPT_STR, \
230 #define OPT_STR_NOLIMIT(_choices) .type = BCH_OPT_STR, \
233 #define OPT_FN(_fn) .type = BCH_OPT_FN, .fn = _fn
330 switch (opt->type) {
98 prt_str_opt_boundscheck(struct printbuf *out, const char * const opts[], unsigned nr, const char *type, unsigned idx) argument
[all...]
H A Dec.c195 "bucket %llu:%llu gen %u data type %s dirty_sectors %u: multiple stripes using same bucket (%u, %llu)",
205 "bucket %llu:%llu gen %u data type %s dirty_sectors %u: data already in stripe bucket %llu",
310 const struct bch_stripe *old_s = old.k->type == KEY_TYPE_stripe
312 const struct bch_stripe *new_s = new.k->type == KEY_TYPE_stripe
484 switch (k.k->type) {
506 if (buf->key.k.type == KEY_TYPE_stripe) {
776 if (k.k->type != KEY_TYPE_stripe) {
1068 if (k.k->type != KEY_TYPE_stripe) {
1139 if (k.k->type != (create ? KEY_TYPE_deleted : KEY_TYPE_stripe)) {
1140 bch2_fs_inconsistent(c, "error %s stripe: got existing key type
[all...]
H A Dextents.c115 if (k.k->type == KEY_TYPE_error)
518 enum bch_extent_entry_type type)
521 _dst.type = 1 << type; \
528 switch (type) {
555 enum bch_extent_entry_type type; local
560 type = BCH_EXTENT_ENTRY_crc32;
564 type = BCH_EXTENT_ENTRY_crc64;
568 type = BCH_EXTENT_ENTRY_crc128;
572 bch2_extent_crc_pack(crc, new, type);
516 bch2_extent_crc_pack(union bch_extent_crc *dst, struct bch_extent_crc_unpacked src, enum bch_extent_entry_type type) argument
[all...]
H A Dcompress.h14 u8 type:4, member in struct:bch_compression_opt
21 .type = v & 15,
30 return opt.type < ARRAY_SIZE(__bch2_compression_opt_to_type) && !(!opt.type && opt.level);
42 return opt.type|(opt.level << 4);
47 return __bch2_compression_opt_to_type[bch2_compression_decode(v).type];
H A Dchecksum.c19 #include <keys/user-type.h>
33 unsigned int type; member in struct:bch2_checksum_state
38 switch (state->type) {
60 switch (state->type) {
78 switch (state->type) {
200 struct bch_csum bch2_checksum(struct bch_fs *c, unsigned type, argument
203 switch (type) {
212 state.type = type;
231 memcpy(&ret, digest, bch_crc_bytes[type]);
239 bch2_encrypt(struct bch_fs *c, unsigned type, struct nonce nonce, void *data, size_t len) argument
248 __bch2_checksum_bio(struct bch_fs *c, unsigned type, struct nonce nonce, struct bio *bio, struct bvec_iter *iter) argument
313 bch2_checksum_bio(struct bch_fs *c, unsigned type, struct nonce nonce, struct bio *bio) argument
321 __bch2_encrypt_bio(struct bch_fs *c, unsigned type, struct nonce nonce, struct bio *bio) argument
358 bch2_checksum_merge(unsigned type, struct bch_csum a, struct bch_csum b, size_t b_len) argument
[all...]
H A Dchecksum.h12 static inline bool bch2_checksum_mergeable(unsigned type) argument
15 switch (type) {
49 enum bch_csum_type type,
53 unsigned bytes = type < BCH_CSUM_NR ? bch_crc_bytes[type] : 16;
60 enum bch_csum_type type,
64 prt_str(out, "checksum error, type ");
65 bch2_prt_csum_type(out, type);
67 bch2_csum_to_text(out, type, got);
69 bch2_csum_to_text(out, type, expecte
48 bch2_csum_to_text(struct printbuf *out, enum bch_csum_type type, struct bch_csum csum) argument
151 bch2_checksum_type_valid(const struct bch_fs *c, unsigned type) argument
[all...]
H A Dbuckets.h353 if (_old.k->type) \
355 if (!ret && _new.k->type) \
391 static inline const char *bch2_data_type_str(enum bch_data_type type)
393 return type < BCH_DATA_NR
394 ? __bch2_data_types[type]
395 : "(invalid data type)";

Completed in 206 milliseconds

<<11121314151617181920>>