/openbmc/linux/samples/vfio-mdev/ |
H A D | mdpy.c | 50 struct mdev_type type; member 81 &mdpy_types[0].type, 82 &mdpy_types[1].type, 83 &mdpy_types[2].type, 214 stride = mdev_state->type->width * mdev_state->type->bytepp; in mdpy_reset() 228 container_of(mdev->type, struct mdpy_type, type); in mdpy_init_dev() 236 fbsize = roundup_pow_of_two(type->width * type->height * type->bytepp); in mdpy_init_dev() 244 mdev_state->type = type; in mdpy_init_dev() 250 type->width, type->height); in mdpy_init_dev() 653 struct mdpy_type *type = container_of(mtype, struct mdpy_type, type); in mdpy_show_description() local [all …]
|
/openbmc/linux/fs/notify/ |
H A D | mark.c | 269 unsigned int *type) in fsnotify_detach_connector_from_object() argument 273 *type = conn->type; in fsnotify_detach_connector_from_object() 346 type = conn->type; in fsnotify_put_mark() 351 fsnotify_drop_object(type, objp); in fsnotify_put_mark() 423 int type; in fsnotify_prepare_user_wait() local 425 fsnotify_foreach_iter_type(type) { in fsnotify_prepare_user_wait() 443 for (type--; type >= 0; type--) in fsnotify_prepare_user_wait() 451 int type; in fsnotify_finish_user_wait() local 454 fsnotify_foreach_iter_type(type) in fsnotify_finish_user_wait() 577 conn->type = obj_type; in fsnotify_attach_connector_to_object() [all …]
|
/openbmc/linux/include/linux/ |
H A D | profile.h | 40 void profile_tick(int type); 46 void profile_hits(int type, void *ip, unsigned int nr_hits); 51 static inline void profile_hit(int type, void *ip) in profile_hit() argument 56 if (unlikely(prof_on == type)) in profile_hit() 57 profile_hits(type, ip, 1); in profile_hit() 72 static inline void profile_tick(int type) in profile_tick() argument 77 static inline void profile_hits(int type, void *ip, unsigned int nr_hits) in profile_hits() argument 82 static inline void profile_hit(int type, void *ip) in profile_hit() argument
|
/openbmc/qemu/include/qapi/ |
H A D | clone-visitor.h | 33 #define QAPI_CLONE(type, src) \ argument 36 type *dst_ = (type *) (src); /* Cast away const */ \ 40 visit_type_ ## type(v_, NULL, &dst_, &error_abort); \ 52 #define QAPI_CLONE_MEMBERS(type, dst, src) \ argument 57 *(type *)(dst) = *(src); \ 58 visit_type_ ## type ## _members(v_, (type *)(dst), &error_abort); \
|
/openbmc/linux/net/802/ |
H A D | fddi.c | 49 unsigned short type, in fddi_header() argument 55 if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP) in fddi_header() 59 if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP) in fddi_header() 67 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header() 96 __be16 type; in fddi_type_trans() local 109 type = htons(ETH_P_802_2); in fddi_type_trans() 114 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans() 135 return type; in fddi_type_trans() 148 dev->type = ARPHRD_FDDI; in fddi_setup()
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | stack_expansion_ldst.c | 48 return consume_stack(target_sp, stack_high, delta, type); in consume_stack() 62 if (type == STORE) in consume_stack() 114 int child(unsigned int stack_used, int delta, enum access_type type) in child() argument 120 assert(consume_stack(stack_high - stack_used, stack_high, delta, type) == 0); in child() 123 type == LOAD ? "load" : "store", delta, stack_used, stack_high, in child() 129 static int test_one(unsigned int stack_used, int delta, enum access_type type) in test_one() argument 136 exit(child(stack_used, delta, type)); in test_one() 147 type == LOAD ? "load" : "store", delta, stack_used, in test_one() 163 assert(test_one(DEFAULT_SIZE, delta, type) == 0); in test_one_type() 165 assert(test_one(DEFAULT_SIZE, rlim_cur, type) == 0); in test_one_type() [all …]
|
/openbmc/linux/include/trace/stages/ |
H A D | stage4_event_fields.h | 5 #define ALIGN_STRUCTFIELD(type) ((int)(__alignof__(struct {type b;}))) argument 9 .type = #_type, .name = #_item, \ 15 .type = #_type, .name = #_item, \ 20 #define __field(type, item) __field_ext(type, item, FILTER_OTHER) argument 23 #define __field_struct(type, item) __field_struct_ext(type, item, FILTER_OTHER) argument 27 .type = #_type"["__stringify(_len)"]", .name = #_item, \ 34 .type = "__data_loc " #_type "[]", .name = #_item, \ 52 .type = "__data_loc cpumask_t", .name = #item, \ 61 .type = "__rel_loc " #_type "[]", .name = #_item, \ 76 .type = "__rel_loc cpumask_t", .name = #item, \
|
/openbmc/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_transport.c | 47 const char *usnic_transport_to_str(enum usnic_transport_type type) in usnic_transport_to_str() argument 49 switch (type) { in usnic_transport_to_str() 87 if (type == USNIC_TRANSPORT_ROCE_CUSTOM) { in usnic_transport_rsrv_port() 98 usnic_transport_to_str(type)); in usnic_transport_rsrv_port() 106 usnic_transport_to_str(type)); in usnic_transport_rsrv_port() 111 usnic_transport_to_str(type)); in usnic_transport_rsrv_port() 120 if (type == USNIC_TRANSPORT_ROCE_CUSTOM) { in usnic_transport_unrsrv_port() 124 usnic_transport_to_str(type)); in usnic_transport_unrsrv_port() 131 usnic_transport_to_str(type)); in usnic_transport_unrsrv_port() 136 usnic_transport_to_str(type)); in usnic_transport_unrsrv_port() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | nsaccess.c | 109 new_node->type = init_val->type; in acpi_ns_root_initialize() 152 switch (init_val->type) { in acpi_ns_root_initialize() 226 init_val->type)); in acpi_ns_root_initialize() 282 acpi_object_type type, in acpi_ns_lookup() argument 352 type_to_check_for = type; in acpi_ns_lookup() 475 type = this_node->type; in acpi_ns_lookup() 548 this_search_type = type; in acpi_ns_lookup() 700 type), in acpi_ns_lookup() 710 if (type == ACPI_TYPE_ANY) { in acpi_ns_lookup() 711 type = this_node->type; in acpi_ns_lookup() [all …]
|
/openbmc/linux/tools/net/ynl/generated/ |
H A D | handshake-user.c | 119 unsigned int type = mnl_attr_get_type(attr); in handshake_x509_parse() local 121 if (type == HANDSHAKE_A_X509_CERT) { in handshake_x509_parse() 126 } else if (type == HANDSHAKE_A_X509_PRIVKEY) { in handshake_x509_parse() 175 unsigned int type = mnl_attr_get_type(attr); in handshake_accept_rsp_parse() local 177 if (type == HANDSHAKE_A_ACCEPT_SOCKFD) { in handshake_accept_rsp_parse() 182 } else if (type == HANDSHAKE_A_ACCEPT_MESSAGE_TYPE) { in handshake_accept_rsp_parse() 187 } else if (type == HANDSHAKE_A_ACCEPT_TIMEOUT) { in handshake_accept_rsp_parse() 192 } else if (type == HANDSHAKE_A_ACCEPT_AUTH_MODE) { in handshake_accept_rsp_parse() 197 } else if (type == HANDSHAKE_A_ACCEPT_PEER_IDENTITY) { in handshake_accept_rsp_parse() 199 } else if (type == HANDSHAKE_A_ACCEPT_CERTIFICATE) { in handshake_accept_rsp_parse() [all …]
|
/openbmc/qemu/hw/xen/ |
H A D | xen-backend.c | 15 const char *type; member 52 return g_hash_table_lookup(xen_backend_table_get(), type); in xen_backend_table_lookup() 59 g_assert(info->type); in xen_backend_register() 61 if (xen_backend_table_lookup(info->type)) { in xen_backend_register() 63 info->type); in xen_backend_register() 68 error_report("backend type '%s' has no creator", info->type); in xen_backend_register() 72 impl->type = info->type; in xen_backend_register() 104 bool xen_backend_exists(const char *type, const char *name) in xen_backend_exists() argument 106 const XenBackendImpl *impl = xen_backend_table_lookup(type); in xen_backend_exists() 127 void xen_backend_device_create(XenBus *xenbus, const char *type, in xen_backend_device_create() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | generic_regs.h | 31 #define GENERIC_GPIO_REG_LIST_ENTRY(type, cd, id) \ argument 32 .type ## _reg = REG(DC_GPIO_GENERIC_## type),\ 33 .type ## _mask = DC_GPIO_GENERIC_ ## type ## __DC_GPIO_GENERIC ## id ## _ ## type ## _MASK,\ 34 .type ## _shift = DC_GPIO_GENERIC_ ## type ## __DC_GPIO_GENERIC ## id ## _ ## type ## __SHIFT
|
/openbmc/u-boot/arch/sandbox/include/asm/ |
H A D | io.h | 63 #define out_arch(type,endian,a,v) write##type(cpu_to_##endian(v),a) argument 64 #define in_arch(type,endian,a) endian##_to_cpu(read##type(a)) argument 84 out_##type((addr), in_##type(addr) & ~(clear)) 86 #define setbits(type, addr, set) \ argument 87 out_##type((addr), in_##type(addr) | (set)) 90 out_##type((addr), (in_##type(addr) & ~(clear)) | (set)) 121 #define out_arch(type,endian,a,v) write##type(cpu_to_##endian(v),a) argument 122 #define in_arch(type,endian,a) endian##_to_cpu(read##type(a)) argument 140 out_##type((addr), in_##type(addr) & ~(clear)) 143 out_##type((addr), in_##type(addr) | (set)) [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | sample-parsing.c | 52 if (type & PERF_SAMPLE_IP) in samples_same() 55 if (type & PERF_SAMPLE_TID) { in samples_same() 60 if (type & PERF_SAMPLE_TIME) in samples_same() 63 if (type & PERF_SAMPLE_ADDR) in samples_same() 66 if (type & PERF_SAMPLE_ID) in samples_same() 72 if (type & PERF_SAMPLE_CPU) in samples_same() 75 if (type & PERF_SAMPLE_PERIOD) in samples_same() 78 if (type & PERF_SAMPLE_READ) { in samples_same() 107 if (type & PERF_SAMPLE_RAW) { in samples_same() 150 if (type & PERF_SAMPLE_WEIGHT) in samples_same() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | sriov.c | 15 if (efx->type->sriov_set_vf_mac) in efx_sriov_set_vf_mac() 16 return efx->type->sriov_set_vf_mac(efx, vf_i, mac); in efx_sriov_set_vf_mac() 26 if (efx->type->sriov_set_vf_vlan) { in efx_sriov_set_vf_vlan() 34 return efx->type->sriov_set_vf_vlan(efx, vf_i, vlan, qos); in efx_sriov_set_vf_vlan() 45 if (efx->type->sriov_set_vf_spoofchk) in efx_sriov_set_vf_spoofchk() 46 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk); in efx_sriov_set_vf_spoofchk() 56 if (efx->type->sriov_get_vf_config) in efx_sriov_get_vf_config() 57 return efx->type->sriov_get_vf_config(efx, vf_i, ivi); in efx_sriov_get_vf_config() 67 if (efx->type->sriov_set_vf_link_state) in efx_sriov_set_vf_link_state() 68 return efx->type->sriov_set_vf_link_state(efx, vf_i, in efx_sriov_set_vf_link_state()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | sriov.h | 19 if (efx->type->sriov_set_vf_mac) in efx_sriov_set_vf_mac() 20 return efx->type->sriov_set_vf_mac(efx, vf_i, mac); in efx_sriov_set_vf_mac() 31 if (efx->type->sriov_set_vf_vlan) { in efx_sriov_set_vf_vlan() 39 return efx->type->sriov_set_vf_vlan(efx, vf_i, vlan, qos); in efx_sriov_set_vf_vlan() 51 if (efx->type->sriov_set_vf_spoofchk) in efx_sriov_set_vf_spoofchk() 52 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk); in efx_sriov_set_vf_spoofchk() 63 if (efx->type->sriov_get_vf_config) in efx_sriov_get_vf_config() 64 return efx->type->sriov_get_vf_config(efx, vf_i, ivi); in efx_sriov_get_vf_config() 75 if (efx->type->sriov_set_vf_link_state) in efx_sriov_set_vf_link_state() 76 return efx->type->sriov_set_vf_link_state(efx, vf_i, in efx_sriov_set_vf_link_state()
|
/openbmc/linux/fs/quota/ |
H A D | dquot.c | 279 int type = qid.type; in hashfn() local 584 if (dquot->dq_id.type != type) in invalidate_dquots() 694 if (type != -1 && cnt != type) in dquot_writeback_dquots() 768 if (type != -1 && cnt != type) in dquot_quota_sync() 1485 if (type != -1 && cnt != type) in __dquot_initialize() 2598 for (type = 0; type < MAXQUOTAS; type++) { in dquot_quota_enable() 2617 for (type--; type >= 0; type--) { in dquot_quota_enable() 2645 for (type = 0; type < MAXQUOTAS; type++) in dquot_quota_disable() 2651 for (type = 0; type < MAXQUOTAS; type++) { in dquot_quota_disable() 2661 for (type--; type >= 0; type--) { in dquot_quota_disable() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/soc/ |
H A D | intel_dram.c | 26 #define DRAM_TYPE_STR(type) [INTEL_DRAM_ ## type] = #type argument 38 if (type >= ARRAY_SIZE(str)) in intel_dram_type_str() 39 type = INTEL_DRAM_UNKNOWN; in intel_dram_type_str() 41 return str[type]; in intel_dram_type_str() 504 enum intel_dram_type type; in bxt_get_dram_info() local 513 type = bxt_get_dimm_type(val); in bxt_get_dram_info() 517 dram_info->type != type); in bxt_get_dram_info() 523 intel_dram_type_str(type)); in bxt_get_dram_info() 528 if (type != INTEL_DRAM_UNKNOWN) in bxt_get_dram_info() 529 dram_info->type = type; in bxt_get_dram_info() [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ibm-rainier.dts | 600 type = <PCA955X_TYPE_LED>; 608 type = <PCA955X_TYPE_LED>; 616 type = <PCA955X_TYPE_LED>; 624 type = <PCA955X_TYPE_LED>; 632 type = <PCA955X_TYPE_LED>; 640 type = <PCA955X_TYPE_LED>; 648 type = <PCA955X_TYPE_LED>; 656 type = <PCA955X_TYPE_LED>; 674 type = <PCA955X_TYPE_LED>; 682 type = <PCA955X_TYPE_LED>; [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | hp-wmi-sensors.c | 512 acpi_object_type type = wobj->type; in check_wobj() local 527 type = elements[prop].type; in check_wobj() 578 acpi_object_type type = wobj->type; in check_numeric_sensor_wobj() local 605 type = elements[HP_WMI_PROPERTY_SIZE].type; in check_numeric_sensor_wobj() 632 type = elements[i].type; in check_numeric_sensor_wobj() 653 type = elements[++i].type; in check_numeric_sensor_wobj() 1785 info->type = type; in init_numeric_sensors() 1796 type = info->type; in init_numeric_sensors() 1945 for (type = hwmon_chip; type < hwmon_max; type++) in make_chip_info() 1961 for (type = hwmon_chip; type < hwmon_max; type++) { in make_chip_info() [all …]
|
/openbmc/openbmc/meta-nuvoton/recipes-bsp/u-boot/ |
H A D | u-boot-nuvoton.inc | 117 for type in ${UBOOT_CONFIG}; do 146 for type in ${UBOOT_CONFIG}; do 152 … ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${D}/boot/${UBOOT_BINARY}-${type} 176 … ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${D}/boot/${UBOOT_BINARY}-${type} 205 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${D}/boot/${SPL_BINARYNAME}-${type} 238 for type in ${UBOOT_CONFIG}; do 245 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_SYMLINK}-${type} 247 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_BINARY}-${type} 274 … ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${DEPLOYDIR}/${UBOOT_ELF_BINARY}-${type} 303 … ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}-${type} [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | e820.c | 85 if (type && entry->type != type) in _e820__mapped_any() 120 if (type && entry->type != type) in __e820__mapped_all() 178 table->entries[x].type = type; in __e820__range_add() 189 switch (type) { in e820_print_type() 430 u32 type = entry->type; in __append_e820_table() local 766 if (entry->type != E820_TYPE_RAM && entry->type != E820_TYPE_RESERVED_KERN) in e820__register_nosave_regions() 841 if (entry->type != type) in e820_end_pfn() 1078 switch (entry->type) { in e820_type_to_string() 1094 switch (entry->type) { in e820_type_to_iomem_type() 1110 switch (entry->type) { in e820_type_to_iores_desc() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | emulated_ops.h | 55 extern void ppc_warn_emulated_print(const char *type); 57 #define __PPC_WARN_EMULATED(type) \ argument 59 atomic_inc(&ppc_emulated.type.val); \ 61 ppc_warn_emulated_print(ppc_emulated.type.name); \ 66 #define __PPC_WARN_EMULATED(type) do { } while (0) argument 70 #define PPC_WARN_EMULATED(type, regs) \ argument 74 __PPC_WARN_EMULATED(type); \ 77 #define PPC_WARN_ALIGNMENT(type, regs) \ argument 81 __PPC_WARN_EMULATED(type); \
|
/openbmc/linux/arch/sparc/include/uapi/asm/ |
H A D | ioctl.h | 39 #define _IOC(dir,type,nr,size) \ argument 41 ((type) << _IOC_TYPESHIFT) | \ 45 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 46 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 47 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 48 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_dec.c | 34 .type = MFC_FMT_RAW, 41 .type = MFC_FMT_RAW, 48 .type = MFC_FMT_RAW, 55 .type = MFC_FMT_RAW, 62 .type = MFC_FMT_DEC, 71 .type = MFC_FMT_DEC, 80 .type = MFC_FMT_DEC, 88 .type = MFC_FMT_DEC, 97 .type = MFC_FMT_DEC, 106 .type = MFC_FMT_DEC, [all …]
|