/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 208 pr_err("%s: Invalid BO type %#x\n", __func__, alloc_flag); 277 pr_err("%s: Invalid BO type %#x\n", __func__, alloc_flag); 696 switch (attachment->type) { 792 switch (attachment->type) { 887 * In contrast the access path of VRAM BOs depens upon the type of 920 attachment[i]->type = KFD_MEM_ATT_SHARED; 925 attachment[i]->type = KFD_MEM_ATT_SHARED; 930 attachment[i]->type = KFD_MEM_ATT_USERPTR; 935 } else if (mem->bo->tbo.type == ttm_bo_type_sg) { 939 attachment[i]->type [all...] |
/linux-master/drivers/gpio/ |
H A D | gpio-tegra186.c | 542 static int tegra186_irq_set_type(struct irq_data *data, unsigned int type) argument 557 switch (type & IRQ_TYPE_SENSE_MASK) { 589 if ((type & IRQ_TYPE_EDGE_BOTH) == 0) 595 return irq_chip_set_type_parent(data, type); 670 unsigned int *type) 690 *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; 715 unsigned int type, 720 *parent_type = type; 667 tegra186_gpio_irq_domain_translate(struct irq_domain *domain, struct irq_fwspec *fwspec, unsigned long *hwirq, unsigned int *type) argument 713 tegra186_gpio_child_to_parent_hwirq(struct gpio_chip *chip, unsigned int hwirq, unsigned int type, unsigned int *parent_hwirq, unsigned int *parent_type) argument
|
H A D | gpio-tangier.c | 42 #define GITR 0x300 /* Input type */ 249 static int tng_irq_set_type(struct irq_data *d, unsigned int type) argument 264 if (type & IRQ_TYPE_EDGE_RISING) 271 if (type & IRQ_TYPE_EDGE_FALLING) 282 if (type & IRQ_TYPE_LEVEL_LOW) 288 if (type & IRQ_TYPE_LEVEL_MASK) { 294 } else if (type & IRQ_TYPE_EDGE_BOTH) {
|
/linux-master/drivers/firmware/qcom/ |
H A D | qcom_qseecom_uefisecapp.c | 257 #define __array_offs(type, count, offset) \ 258 __field_impl(sizeof(type) * (count), __alignof__(type), offset) 260 #define __array_offs_aligned(type, count, align, offset) \ 261 __field_impl(sizeof(type) * (count), align, offset) 266 #define __array(type, count) __array_offs(type, count, NULL) 267 #define __field_offs(type, offset) __array_offs(type, 1, offset) 268 #define __field(type) __array_off [all...] |
/linux-master/drivers/dpll/ |
H A D | dpll_core.c | 344 * @type: type of a dpll 355 int dpll_device_register(struct dpll_device *dpll, enum dpll_type type, argument 367 if (WARN_ON(type < DPLL_TYPE_PPS || type > DPLL_TYPE_MAX)) 384 dpll->type = type; 495 if (WARN_ON(prop->type < DPLL_PIN_TYPE_MUX || 496 prop->type > DPLL_PIN_TYPE_MAX)) { 717 if (WARN_ON(parent->prop.type ! [all...] |
/linux-master/drivers/cxl/core/ |
H A D | mbox.c | 806 dev_dbg(dev, "Found LOG type %pU of size %d", &uuid, size); 841 enum cxl_event_log_type type, 846 trace_cxl_general_media(cxlmd, type, &evt->gen_media); 848 trace_cxl_dram(cxlmd, type, &evt->dram); 850 trace_cxl_memory_module(cxlmd, type, &evt->mem_module); 852 trace_cxl_generic_event(cxlmd, type, uuid, &evt->generic); 857 enum cxl_event_log_type type, 870 cxl_event_trace_record(cxlmd, type, ev_type, uuid, &record->event); 944 enum cxl_event_log_type type) 949 u8 log_type = type; 840 cxl_event_trace_record(const struct cxl_memdev *cxlmd, enum cxl_event_log_type type, enum cxl_event_type event_type, const uuid_t *uuid, union cxl_event *evt) argument 856 __cxl_event_trace_record(const struct cxl_memdev *cxlmd, enum cxl_event_log_type type, struct cxl_event_record_raw *record) argument 943 cxl_mem_get_records_log(struct cxl_memdev_state *mds, enum cxl_event_log_type type) argument 1198 add_dpa_res(struct device *dev, struct resource *parent, struct resource *res, resource_size_t start, resource_size_t size, const char *type) argument [all...] |
/linux-master/drivers/bluetooth/ |
H A D | hci_qca.c | 366 /* Assign HCI_IBS type */ 892 /* Prepend skb with frame type */ 1228 .type = HCI_IBS_SLEEP_IND, \ 1235 .type = HCI_IBS_WAKE_IND, \ 1242 .type = HCI_IBS_WAKE_ACK, \ 1337 /* Assign commands to change baudrate and packet type. */
|
H A D | btusb.c | 949 u8 type; member in struct:rtk_dev_coredump_hdr 981 .type = RTK_DEVCOREDUMP_CODE_CMD_TIMEOUT, 1014 .type = RTK_DEVCOREDUMP_CODE_HW_ERR,
|
H A D | btqca.c | 286 switch (config->type) { 382 BT_ERR("Unknown TLV type %d", config->type); 502 if (soc_type == QCA_WCN6750 && config->type == ELF_TYPE_PATCH) { 505 config->type = TLV_TYPE_PATCH; 696 config.type = TLV_TYPE_PATCH; 720 config.type = ELF_TYPE_PATCH; 750 config.type = TLV_TYPE_NVM;
|
/linux-master/drivers/acpi/x86/ |
H A D | s2idle.c | 120 if (package->type == ACPI_TYPE_PACKAGE) { 229 switch (element->type) { 263 switch (info_obj->type) {
|
/linux-master/drivers/acpi/ |
H A D | cppc_acpi.c | 91 * include the type of register (e.g. PCC, System IO, FFH etc.) 102 #define CPC_IN_PCC(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ 107 #define CPC_IN_SYSTEM_MEMORY(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ 112 #define CPC_IN_SYSTEM_IO(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ 124 #define CPC_SUPPORTED(cpc) ((cpc)->type == ACPI_TYPE_INTEGER ? \ 711 if (cpc_obj->type == ACPI_TYPE_INTEGER) { 719 pr_debug("Unexpected _CPC NumEntries entry type (%d) for CPU:%d\n", 720 cpc_obj->type, pr->id); 726 if (cpc_obj->type == ACPI_TYPE_INTEGER) { 729 pr_debug("Unexpected _CPC Revision entry type ( [all...] |
/linux-master/arch/loongarch/kernel/ |
H A D | perf_event.c | 550 switch (event->attr.type) { 755 if (PERF_TYPE_HARDWARE == event->attr.type) { 759 } else if (PERF_TYPE_HW_CACHE == event->attr.type) { 761 } else if (PERF_TYPE_RAW == event->attr.type) { 766 /* The event type is not (yet) supported. */ 771 if (PERF_TYPE_RAW == event->attr.type) 783 if (PERF_TYPE_RAW == event->attr.type)
|
/linux-master/arch/arc/kernel/ |
H A D | perf_event.c | 321 pr_debug("init cache event: type/op/result %d/%d/%d with h/w %d \'%s\'\n", 352 switch (event->attr.type) {
|
/linux-master/arch/arc/include/asm/ |
H A D | pgtable-bits-arcv2.h | 118 * <-------------- offset -------------> <--- zero --> E < type -> 123 #define __swp_entry(type, off) ((swp_entry_t) \ 124 { ((type) & 0x1f) | ((off) << 13) })
|
/linux-master/fs/btrfs/tests/ |
H A D | extent-map-tests.c | 904 map->type = test->raid_type; 987 /* SINGLE chunk type */
|
/linux-master/fs/btrfs/ |
H A D | scrub.c | 413 key.type = BTRFS_INODE_ITEM_KEY; 1341 ASSERT(key.type == BTRFS_EXTENT_ITEM_KEY || 1342 key.type == BTRFS_METADATA_ITEM_KEY); 1343 if (key.type == BTRFS_METADATA_ITEM_KEY) 1384 key.type = BTRFS_METADATA_ITEM_KEY; 1386 key.type = BTRFS_EXTENT_ITEM_KEY; 1418 if (key.type != BTRFS_METADATA_ITEM_KEY && 1419 key.type != BTRFS_EXTENT_ITEM_KEY) 1446 ASSERT(key.type == BTRFS_METADATA_ITEM_KEY || 1447 key.type [all...] |
H A D | messages.c | 217 const char *type = logtypes[4]; local 232 type = logtypes[kern_level - '0']; 246 _printk("%sBTRFS %s (device %s%s): %pV\n", lvl, type, 249 _printk("%sBTRFS %s: %pV\n", lvl, type, &vaf);
|
H A D | inode.c | 144 int type); 168 key.type = BTRFS_INODE_ITEM_KEY; 540 key.type = BTRFS_EXTENT_DATA_KEY; 1428 BTRFS_ORDERED_REGULAR /* type */); 2032 found_key.type == BTRFS_EXTENT_DATA_KEY) 2058 found_key.type < BTRFS_EXTENT_DATA_KEY) { 2064 if (found_key.type > BTRFS_EXTENT_DATA_KEY || 2933 ins.type = BTRFS_EXTENT_DATA_KEY; 2970 ins.type = BTRFS_EXTENT_ITEM_KEY; 3290 * on the type o 5392 btrfs_inode_by_name(struct btrfs_inode *dir, struct dentry *dentry, struct btrfs_key *location, u8 *type) argument 5915 unsigned type; member in struct:dir_entry 7006 btrfs_create_dio_extent(struct btrfs_inode *inode, struct btrfs_dio_data *dio_data, const u64 start, const u64 len, const u64 orig_start, const u64 block_start, const u64 block_len, const u64 orig_block_len, const u64 ram_bytes, const int type) argument 7310 create_io_em(struct btrfs_inode *inode, u64 start, u64 len, u64 orig_start, u64 block_start, u64 block_len, u64 orig_block_len, u64 ram_bytes, int compress_type, int type) argument 7362 int type; local [all...] |
H A D | backref.c | 124 if (key.type != BTRFS_EXTENT_DATA_KEY) 233 if (ref1->key_for_search.type < ref2->key_for_search.type) 235 if (ref1->key_for_search.type > ref2->key_for_search.type) 359 * backref type | shared | indirect | shared | indirect 372 * backref type | shared | indirect | shared | indirect 485 u8 type; local 522 key.type != BTRFS_EXTENT_DATA_KEY) 540 type 1067 int type; local 2346 int type; local 2988 int type; local 3519 int type; local [all...] |
/linux-master/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | 561 report->device->report_enum[report->type].numbered + 2; 567 static void i2c_hid_find_max_report(struct hid_device *hid, unsigned int type, argument 575 list_for_each_entry(report, &hid->report_enum[type].report_list, list) { 600 sizeof(u8) + /* encoded report type/ID */
|
/linux-master/drivers/hid/ |
H A D | hid-nintendo.c | 312 /* Controller type received as part of device info */ 638 /* Helper macros for checking controller type */ 665 * Sega Genesis controller). See type helpers below. 705 * Controller type helpers 775 * use type helpers) cannot be used early in the HID probe. 2003 if (effect->type != FF_RUMBLE) 2425 ctlr->battery_desc.type = POWER_SUPPLY_TYPE_BATTERY; 2478 * Retrieve the type so we can distinguish the controller type 2487 hid_dbg(ctlr->hdev, "controller type [all...] |
H A D | hid-mcp2221.c | 238 struct i2c_msg *msg, int type, u8 last_status) 250 mcp->txbuf[0] = type; 296 struct i2c_msg *msg, int type, u16 smbus_addr, 303 mcp->txbuf[0] = type; 408 u8 command, u8 *buf, u8 len, int type, 413 mcp->txbuf[0] = type; 1053 chan->type = IIO_VOLTAGE; 237 mcp_i2c_write(struct mcp2221 *mcp, struct i2c_msg *msg, int type, u8 last_status) argument 295 mcp_i2c_smbus_read(struct mcp2221 *mcp, struct i2c_msg *msg, int type, u16 smbus_addr, u8 smbus_len, u8 *smbus_buf) argument 407 mcp_smbus_write(struct mcp2221 *mcp, u16 addr, u8 command, u8 *buf, u8 len, int type, u8 last_status) argument
|
H A D | hid-logitech-dj.c | 151 enum recvr_type type; member in struct:dj_receiver_dev 169 u8 type; /* WORKITEM_TYPE_* */ member in struct:dj_workitem 539 * For instance, RF report type 0x01 which has a size of 8 bytes, corresponds 565 static bool recvr_type_is_bluetooth(enum recvr_type type) argument 567 return type == recvr_type_bluetooth || type == recvr_type_dinovo; 578 enum recvr_type type) 587 sep = recvr_type_is_bluetooth(type) ? '.' : '/'; 639 enum recvr_type type, 647 djrcv_dev = dj_find_receiver_dev(hdev, type); 577 dj_find_receiver_dev(struct hid_device *hdev, enum recvr_type type) argument 638 dj_get_receiver_dev(struct hid_device *hdev, enum recvr_type type, unsigned int application, bool is_hidpp) argument [all...] |
/linux-master/virt/kvm/ |
H A D | kvm_main.c | 149 static void kvm_uevent_notify_change(unsigned int type, struct kvm *kvm); 177 * back guest with a certain type of memory and encountering issues. 1188 static struct kvm *kvm_create_vm(unsigned long type, const char *fdname) argument 1260 r = kvm_arch_init_vm(kvm, type); 4758 int kvm_register_device_ops(const struct kvm_device_ops *ops, u32 type) argument 4760 if (type >= ARRAY_SIZE(kvm_device_ops_table)) 4763 if (kvm_device_ops_table[type] != NULL) 4766 kvm_device_ops_table[type] = ops; 4770 void kvm_unregister_device_ops(u32 type) argument 4772 if (kvm_device_ops_table[type] ! 4782 int type; local 5446 kvm_dev_ioctl_create_vm(unsigned long type) argument 6233 kvm_uevent_notify_change(unsigned int type, struct kvm *kvm) argument [all...] |
/linux-master/kernel/sched/ |
H A D | sched.h | 2345 * Also enforce alignment on the instance, not the type, to guarantee layout. 2664 #define DEFINE_LOCK_GUARD_2(name, type, _lock, _unlock, ...) \ 2665 __DEFINE_UNLOCK_GUARD(name, type, _unlock, type *lock2; __VA_ARGS__) \ 2666 static inline class_##name##_t class_##name##_constructor(type *lock, type *lock2) \
|