/openbmc/linux/fs/exfat/ |
H A D | dir.c | 82 if (ei->type != TYPE_DIR) in exfat_readdir() 131 if (type != TYPE_FILE && type != TYPE_DIR) { in exfat_readdir() 398 ep->type = EXFAT_UNUSED; in exfat_set_entry_type() 404 ep->type = EXFAT_NAME; in exfat_set_entry_type() 412 ep->type = EXFAT_FILE; in exfat_set_entry_type() 415 ep->type = EXFAT_FILE; in exfat_set_entry_type() 789 if (type == TYPE_UNUSED || type == TYPE_DELETED) in exfat_validate_entry() 794 if (type != TYPE_FILE && type != TYPE_DIR) in exfat_validate_entry() 852 unsigned int type) in exfat_get_dentry_set() argument 1194 unsigned int type; in exfat_count_ext_entries() local [all …]
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_compat.c | 72 #define XMSGSIZE(type) sizeof(struct type) argument 103 [XFRMA_LASTUSED] = { .type = NLA_U64}, 125 [XFRMA_PROTO] = { .type = NLA_U8 }, 130 [XFRMA_IF_ID] = { .type = NLA_U32 }, 137 int payload = compat_msg_min[type]; in xfrm_nlmsg_put_compat() 138 int src_len = xfrm_msg_min[type]; in xfrm_nlmsg_put_compat() 432 int type = nla_type(nla); in xfrm_xlate32_attr() local 436 if (type > XFRMA_MAX) { in xfrm_xlate32_attr() 441 type = array_index_nospec(type, XFRMA_MAX + 1); in xfrm_xlate32_attr() 447 pol_len32 = compat_policy[type].len; in xfrm_xlate32_attr() [all …]
|
/openbmc/qemu/ui/ |
H A D | spice-core.c | 204 sc->channel_type = info->type; in add_channel_info() 428 .type = QEMU_OPT_BOOL, 431 .type = QEMU_OPT_BOOL, 435 .type = QEMU_OPT_BOOL, 442 .type = QEMU_OPT_BOOL, 445 .type = QEMU_OPT_BOOL, 448 .type = QEMU_OPT_BOOL, 451 .type = QEMU_OPT_BOOL, 493 .type = QEMU_OPT_BOOL, 496 .type = QEMU_OPT_BOOL, [all …]
|
H A D | vnc-clipboard.c | 162 switch (type) { in vnc_clipboard_provide() 171 buf = g_malloc(info->types[type].size + 4); in vnc_clipboard_provide() 172 buf[0] = (info->types[type].size >> 24) & 0xff; in vnc_clipboard_provide() 176 memcpy(buf + 4, info->types[type].data, info->types[type].size); in vnc_clipboard_provide() 196 QemuClipboardType type; in vnc_clipboard_update_info() local 218 for (type = 0; type < QEMU_CLIPBOARD_TYPE__COUNT; type++) { in vnc_clipboard_update_info() 219 if (vs->cbpending & (1 << type)) { in vnc_clipboard_update_info() 220 vs->cbpending &= ~(1 << type); in vnc_clipboard_update_info() 221 vnc_clipboard_provide(vs, info, type); in vnc_clipboard_update_info() 231 switch (notify->type) { in vnc_clipboard_notify() [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | patch_realtek.c | 624 switch (type) { in alc_auto_init_amp() 1270 .type = HDA_FIXUP_FUNC, 1274 .type = HDA_FIXUP_FUNC, 1288 .type = HDA_FIXUP_PINS, 1298 .type = HDA_FIXUP_PINS, 1306 .type = HDA_FIXUP_PINS, 1336 .type = HDA_FIXUP_FUNC, 1341 .type = HDA_FIXUP_PINS, 1361 .type = HDA_FIXUP_PINS, 1381 .type = HDA_FIXUP_PINS, [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_probe.c | 114 (!strcmp(type, "symbol") || !strcmp(type, "symstr"))) in find_fetch_type() 117 if (!type) in find_fetch_type() 124 type = strchr(type, '/'); in find_fetch_type() 125 if (!type) in find_fetch_type() 128 type++; in find_fetch_type() 452 if (!type) in query_btf_context() 539 type = btf_type_skip_modifiers(ctx->btf, type->type, &tid); in parse_btf_field() 540 if (!type) { in parse_btf_field() 675 if (!type) { in parse_btf_arg() 1553 if (type && !(*type == ':' || *type == '\0')) { in traceprobe_expand_meta_args() [all …]
|
/openbmc/linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | dell-wmi-sysman.h | 101 #define get_instance_id(type) \ argument 102 static int get_##type##_instance_id(struct kobject *kobj) \ 105 for (i = 0; i <= wmi_priv.type##_instances_count; i++) { \ 112 #define attribute_s_property_show(name, type) \ argument 116 int i = get_##type##_instance_id(kobj); \ 122 #define attribute_n_property_show(name, type) \ argument 126 int i = get_##type##_instance_id(kobj); \ 132 #define attribute_property_store(curr_val, type) \ argument 146 i = get_##type##_instance_id(kobj); \ 148 ret = validate_##type##_input(i, buf_cp); \ [all …]
|
/openbmc/qemu/monitor/ |
H A D | qemu-config-qmp.c | 20 switch (desc[i].type) { in query_option_descs() 22 info->type = COMMAND_LINE_PARAMETER_TYPE_STRING; in query_option_descs() 28 info->type = COMMAND_LINE_PARAMETER_TYPE_NUMBER; in query_option_descs() 31 info->type = COMMAND_LINE_PARAMETER_TYPE_SIZE; in query_option_descs() 105 if (g_str_equal(prop->type, "bool") || g_str_equal(prop->type, "OnOffAuto")) { in objprop_to_cmdline_prop() 107 } else if (g_str_equal(prop->type, "int")) { in objprop_to_cmdline_prop() 108 info->type = COMMAND_LINE_PARAMETER_TYPE_NUMBER; in objprop_to_cmdline_prop() 109 } else if (g_str_equal(prop->type, "size")) { in objprop_to_cmdline_prop() 110 info->type = COMMAND_LINE_PARAMETER_TYPE_SIZE; in objprop_to_cmdline_prop() 112 info->type = COMMAND_LINE_PARAMETER_TYPE_STRING; in objprop_to_cmdline_prop() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | vio.c | 26 const char *type, *compat; in vio_match_device() local 29 type = dev->type; in vio_match_device() 35 if (matches->type[0]) in vio_match_device() 36 match &= !strcmp(matches->type, type); in vio_match_device() 133 static DEVICE_ATTR_RO(type); 294 const char *type, *compat; in vio_create_one() local 301 if (!type) { in vio_create_one() 303 if (!type) { in vio_create_one() 310 type); in vio_create_one() 323 clen, type); in vio_create_one() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | dccp.h | 118 static inline unsigned int dccp_packet_hdr_len(const __u8 type) in dccp_packet_hdr_len() argument 120 if (type == DCCP_PKT_DATA) in dccp_packet_hdr_len() 122 if (type == DCCP_PKT_DATAACK || in dccp_packet_hdr_len() 123 type == DCCP_PKT_ACK || in dccp_packet_hdr_len() 124 type == DCCP_PKT_SYNC || in dccp_packet_hdr_len() 125 type == DCCP_PKT_SYNCACK || in dccp_packet_hdr_len() 126 type == DCCP_PKT_CLOSE || in dccp_packet_hdr_len() 127 type == DCCP_PKT_CLOSEREQ) in dccp_packet_hdr_len() 129 if (type == DCCP_PKT_REQUEST) in dccp_packet_hdr_len() 131 if (type == DCCP_PKT_RESPONSE) in dccp_packet_hdr_len()
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_indirect.c | 16 #define cfg_read(val, addr, type, op) *val = op((type)(addr)) argument 17 #define cfg_write(val, addr, type, op) op((type *)(addr), (val)) argument 20 #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ argument 23 pci_dev_t dev, int offset, type val) \ 31 cfg_##rw(val, hose->cfg_data + (offset & mask), type, op); \ 35 #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ argument 38 pci_dev_t dev, int offset, type val) \ 45 cfg_##rw(val, hose->cfg_data + (offset & mask), type, op); \
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | cacheinfo.c | 26 static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type) in get_cacheinfo() argument 43 if (this_leaf->level == level && this_leaf->type == type) in get_cacheinfo() 50 uintptr_t get_cache_size(u32 level, enum cache_type type) in get_cache_size() argument 52 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_size() 57 uintptr_t get_cache_geometry(u32 level, enum cache_type type) in get_cache_geometry() argument 59 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_geometry() 68 enum cache_type type, unsigned int level) in ci_leaf_init() argument 71 this_leaf->type = type; in ci_leaf_init()
|
/openbmc/u-boot/tools/binman/ |
H A D | cmdline.py | 21 parser.add_option('-a', '--entry-arg', type='string', action='append', 23 parser.add_option('-b', '--board', type='string', 25 parser.add_option('-B', '--build-dir', type='string', default='b', 27 parser.add_option('-d', '--dt', type='string', 35 parser.add_option('-i', '--image', type='string', action='append', 43 parser.add_option('-O', '--outdir', type='string', 49 parser.add_option('-P', '--processes', type=int, 58 type='int', help='Control verbosity: 0=silent, 1=progress, 3=full, '
|
/openbmc/linux/include/linux/ |
H A D | misc_cgroup.h | 57 u64 misc_cg_res_total_usage(enum misc_res_type type); 58 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity); 59 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount); 60 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount); 101 static inline u64 misc_cg_res_total_usage(enum misc_res_type type) in misc_cg_res_total_usage() argument 106 static inline int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity() argument 111 static inline int misc_cg_try_charge(enum misc_res_type type, in misc_cg_try_charge() argument 118 static inline void misc_cg_uncharge(enum misc_res_type type, in misc_cg_uncharge() argument
|
/openbmc/linux/drivers/acpi/x86/ |
H A D | apple.c | 72 if ( key->type != ACPI_TYPE_STRING || in acpi_extract_apple_properties() 73 (val->type != ACPI_TYPE_INTEGER && in acpi_extract_apple_properties() 74 val->type != ACPI_TYPE_BUFFER && in acpi_extract_apple_properties() 75 val->type != ACPI_TYPE_STRING)) in acpi_extract_apple_properties() 80 if ( val->type == ACPI_TYPE_BUFFER) in acpi_extract_apple_properties() 82 else if (val->type == ACPI_TYPE_STRING) in acpi_extract_apple_properties() 101 newprops->type = ACPI_TYPE_PACKAGE; in acpi_extract_apple_properties() 112 newprops[1 + j].type = ACPI_TYPE_PACKAGE; in acpi_extract_apple_properties() 116 newprops[k].type = ACPI_TYPE_STRING; in acpi_extract_apple_properties() 122 newprops[v].type = val->type; in acpi_extract_apple_properties() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_hmc.h | 102 #define I40E_SET_PF_SD_ENTRY(hw, pa, sd_index, type) \ argument 108 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \ 123 #define I40E_CLEAR_PF_SD_ENTRY(hw, sd_index, type) \ argument 128 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \ 162 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \ 163 (hmc_info)->hmc_obj[(type)].size * (index); \ 164 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\ 186 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \ 187 (hmc_info)->hmc_obj[(type)].size * (idx); \ 188 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-sato/webkit/webkitgtk/ |
H A D | 30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch | 33 +#define simdScalarTypeToB3Type(type) toB3Type(Wasm::simdScalarType(type)) 35 +#define simdScalarTypeToB3Type(type) B3::Type() 45 - VALIDATE(value->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simd… 46 + VALIDATE(value->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane())… 47 VALIDATE(value->child(0)->type() == V128, ("At ", *value)); 52 VALIDATE(value->type() == V128, ("At ", *value)); 53 VALIDATE(value->child(0)->type() == V128, ("At ", *value)); 54 - VALIDATE(value->child(1)->type() == toB3Type(Wasm::simdScalarType(value->asSIMDVal… 55 + VALIDATE(value->child(1)->type() == simdScalarTypeToB3Type(value->asSIMDValue()->s… 62 VALIDATE(value->type() == V128, ("At ", *value)); [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/webkitgtk/webkitgtk3/ |
H A D | 30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch | 31 +#define simdScalarTypeToB3Type(type) toB3Type(Wasm::simdScalarType(type)) 33 +#define simdScalarTypeToB3Type(type) B3::Type() 43 - VALIDATE(value->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simd… 44 + VALIDATE(value->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane())… 45 VALIDATE(value->child(0)->type() == V128, ("At ", *value)); 50 VALIDATE(value->type() == V128, ("At ", *value)); 51 VALIDATE(value->child(0)->type() == V128, ("At ", *value)); 52 - VALIDATE(value->child(1)->type() == toB3Type(Wasm::simdScalarType(value->asSIMDVal… 53 + VALIDATE(value->child(1)->type() == simdScalarTypeToB3Type(value->asSIMDValue()->s… 60 VALIDATE(value->type() == V128, ("At ", *value)); [all …]
|
/openbmc/libcper/generator/ |
H A D | cper-generate.c | 19 size_t generate_section(void **location, char *type); 95 void generate_single_section_record(char *type, FILE *out) in generate_single_section_record() argument 99 size_t section_len = generate_section(§ion, type); in generate_single_section_record() 103 generate_section_descriptor(type, §ion_len, 0, 1); in generate_single_section_record() 161 if (strcmp(type, "unknown") == 0) { in generate_section_descriptor() 166 if (strcmp(type, generator_definitions[i].ShortName) == in generate_section_descriptor() 181 type); in generate_section_descriptor() 189 size_t generate_section(void **location, char *type) in generate_section() argument 196 if (strcmp(type, "unknown") == 0) { in generate_section() 202 if (strcmp(type, generator_definitions[i].ShortName) == in generate_section() [all …]
|
/openbmc/phosphor-psu-code-mgmt/ |
H A D | meson.options | 1 option('tests', type: 'feature', description: 'Build tests') 6 type: 'string', 11 type: 'string', 16 type: 'string', 21 type: 'string', 31 type: 'string', 41 type: 'string', 48 type: 'string', 53 type: 'string', 58 type: 'string', [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nft_inner.c | 45 u8 type; member 190 switch (priv->type) { in nft_inner_parse_tunhdr() 229 tun_ctx->type = priv->type; in nft_inner_parse() 242 if (priv->type != tun_ctx->type) in nft_inner_parse_needed() 278 [NFTA_INNER_NUM] = { .type = NLA_U32 }, 279 [NFTA_INNER_FLAGS] = { .type = NLA_U32 }, 281 [NFTA_INNER_TYPE] = { .type = NLA_U32 }, 296 u32 flags, hdrsize, type, num; in nft_inner_init() local 318 if (type > U8_MAX) in nft_inner_init() 328 priv->type = type; in nft_inner_init() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pincfg-node.yaml | 22 type: boolean 26 type: boolean 30 type: boolean 71 type: boolean 82 type: boolean 87 type: boolean 92 type: boolean 96 type: boolean 109 type: boolean 113 type: boolean [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_ipmark.c | 292 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 }, 293 [IPSET_ATTR_INITVAL] = { .type = NLA_U32 }, 295 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 }, 296 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 }, 300 [IPSET_ATTR_IP] = { .type = NLA_NESTED }, 302 [IPSET_ATTR_MARK] = { .type = NLA_U32 }, 303 [IPSET_ATTR_CIDR] = { .type = NLA_U8 }, 304 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 }, 305 [IPSET_ATTR_LINENO] = { .type = NLA_U32 }, 306 [IPSET_ATTR_BYTES] = { .type = NLA_U64 }, [all …]
|
H A D | ip_set_hash_ip.c | 286 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 }, 287 [IPSET_ATTR_INITVAL] = { .type = NLA_U32 }, 289 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 }, 290 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 }, 291 [IPSET_ATTR_NETMASK] = { .type = NLA_U8 }, 296 [IPSET_ATTR_IP] = { .type = NLA_NESTED }, 298 [IPSET_ATTR_CIDR] = { .type = NLA_U8 }, 299 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 }, 300 [IPSET_ATTR_LINENO] = { .type = NLA_U32 }, 301 [IPSET_ATTR_BYTES] = { .type = NLA_U64 }, [all …]
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | display-connector.c | 57 switch (conn->bridge.type) { in display_connector_detect() 208 unsigned int type; in display_connector_probe() local 221 switch (type) { in display_connector_probe() 266 conn->bridge.type = type; in display_connector_probe() 280 if (type == DRM_MODE_CONNECTOR_DVII || in display_connector_probe() 281 type == DRM_MODE_CONNECTOR_HDMIA || in display_connector_probe() 282 type == DRM_MODE_CONNECTOR_DisplayPort) { in display_connector_probe() 309 if (type == DRM_MODE_CONNECTOR_DVII || in display_connector_probe() 310 type == DRM_MODE_CONNECTOR_HDMIA || in display_connector_probe() 311 type == DRM_MODE_CONNECTOR_VGA) { in display_connector_probe() [all …]
|