/openbmc/linux/include/linux/greybus/ |
H A D | operation.h | 98 u8 type; member 147 u8 type, size_t request_size, 153 u8 type, size_t request_size, in gb_operation_create() argument 156 return gb_operation_create_flags(connection, type, request_size, in gb_operation_create() 162 u8 type, size_t request_size, 191 int gb_operation_sync_timeout(struct gb_connection *connection, int type, 196 int type, void *request, int request_size, 199 static inline int gb_operation_sync(struct gb_connection *connection, int type, in gb_operation_sync() argument 203 return gb_operation_sync_timeout(connection, type, in gb_operation_sync() 209 int type, void *request, int request_size) in gb_operation_unidirectional() argument [all …]
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | 8xx-pmu.c | 51 switch (event->attr.type) { in event_type() 74 int type = event_type(event); in mpc8xx_pmu_event_init() local 76 if (type < 0) in mpc8xx_pmu_event_init() 77 return type; in mpc8xx_pmu_event_init() 83 int type = event_type(event); in mpc8xx_pmu_add() local 86 if (type < 0) in mpc8xx_pmu_add() 87 return type; in mpc8xx_pmu_add() 89 switch (type) { in mpc8xx_pmu_add() 121 int type = event_type(event); in mpc8xx_pmu_read() local 124 if (type < 0) in mpc8xx_pmu_read() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | exstoren.c | 62 if (source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) { in acpi_ex_resolve_object() 82 if ((source_desc->common.type != ACPI_TYPE_INTEGER) && in acpi_ex_resolve_object() 83 (source_desc->common.type != ACPI_TYPE_BUFFER) && in acpi_ex_resolve_object() 84 (source_desc->common.type != ACPI_TYPE_STRING) && in acpi_ex_resolve_object() 85 !((source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) && in acpi_ex_resolve_object() 180 if (source_desc->common.type != dest_desc->common.type) { in acpi_ex_store_object_to_object() 190 status = acpi_ex_convert_to_target_type(dest_desc->common.type, in acpi_ex_store_object_to_object() 212 switch (dest_desc->common.type) { in acpi_ex_store_object_to_object()
|
/openbmc/qemu/crypto/ |
H A D | afalg.c | 20 qcrypto_afalg_build_saddr(const char *type, const char *name, in qcrypto_afalg_build_saddr() argument 25 if (strnlen(type, SALG_TYPE_LEN_MAX) >= SALG_TYPE_LEN_MAX) { in qcrypto_afalg_build_saddr() 27 type, SALG_TYPE_LEN_MAX); in qcrypto_afalg_build_saddr() 37 pstrcpy((char *)salg->salg_type, SALG_TYPE_LEN_MAX, type); in qcrypto_afalg_build_saddr() 44 qcrypto_afalg_socket_bind(const char *type, const char *name, in qcrypto_afalg_socket_bind() argument 50 if (!qcrypto_afalg_build_saddr(type, name, &salg, errp)) { in qcrypto_afalg_socket_bind() 70 qcrypto_afalg_comm_alloc(const char *type, const char *name, in qcrypto_afalg_comm_alloc() argument 78 afalg->tfmfd = qcrypto_afalg_socket_bind(type, name, errp); in qcrypto_afalg_comm_alloc()
|
/openbmc/linux/drivers/media/platform/amphion/ |
H A D | vpu_v4l2.h | 25 struct vb2_v4l2_buffer *vpu_find_buf_by_sequence(struct vpu_inst *inst, u32 type, u32 sequence); 26 struct vb2_v4l2_buffer *vpu_find_buf_by_idx(struct vpu_inst *inst, u32 type, u32 idx); 31 void vpu_vb2_buffers_return(struct vpu_inst *inst, unsigned int type, enum vb2_buffer_state state); 32 int vpu_get_num_buffers(struct vpu_inst *inst, u32 type); 37 static inline struct vpu_format *vpu_get_format(struct vpu_inst *inst, u32 type) in vpu_get_format() argument 39 if (V4L2_TYPE_IS_OUTPUT(type)) in vpu_get_format() 45 static inline char *vpu_type_name(u32 type) in vpu_type_name() argument 47 return V4L2_TYPE_IS_OUTPUT(type) ? "output" : "capture"; in vpu_type_name()
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | cmpxchg.h | 9 #define ____xchg(type, args...) __arch_xchg ## type ## _local(args) argument 10 #define ____cmpxchg(type, args...) __cmpxchg ## type ## _local(args) argument 37 #define ____xchg(type, args...) __arch_xchg ##type(args) argument 38 #define ____cmpxchg(type, args...) __cmpxchg ##type(args) argument
|
/openbmc/phosphor-hwmon/ |
H A D | meson.options | 4 type: 'string', 9 type: 'boolean') 13 type: 'string', 16 'tests', type: 'feature', description: 'Build tests.', 21 type: 'boolean') 24 type: 'boolean', 32 type: 'array', 38 type: 'feature',
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | memnv04.c | 51 nv04_mem_new(struct nvkm_mmu *mmu, int type, u8 page, u64 size, in nv04_mem_new() argument 62 if (mmu->type[type].type & NVKM_MEM_MAPPABLE) in nv04_mem_new() 63 type = NVKM_RAM_MM_NORMAL; in nv04_mem_new() 65 type = NVKM_RAM_MM_NOMAP; in nv04_mem_new() 67 return nvkm_ram_get(mmu->subdev.device, type, 0x01, page, in nv04_mem_new()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | ga100.c | 29 ga100_devinit_pll_set(struct nvkm_devinit *init, u32 type, u32 freq) in ga100_devinit_pll_set() argument 34 int head = type - PLL_VPLL0; in ga100_devinit_pll_set() 38 ret = nvbios_pll_parse(device->bios, type, &info); in ga100_devinit_pll_set() 46 switch (info.type) { in ga100_devinit_pll_set() 57 nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq); in ga100_devinit_pll_set() 73 ga100_devinit_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in ga100_devinit_new() argument 76 return nv50_devinit_new_(&ga100_devinit, device, type, inst, pinit); in ga100_devinit_new()
|
H A D | gv100.c | 29 gv100_devinit_pll_set(struct nvkm_devinit *init, u32 type, u32 freq) in gv100_devinit_pll_set() argument 34 int head = type - PLL_VPLL0; in gv100_devinit_pll_set() 38 ret = nvbios_pll_parse(device->bios, type, &info); in gv100_devinit_pll_set() 46 switch (info.type) { in gv100_devinit_pll_set() 57 nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq); in gv100_devinit_pll_set() 75 gv100_devinit_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gv100_devinit_new() argument 78 return nv50_devinit_new_(&gv100_devinit, device, type, inst, pinit); in gv100_devinit_new()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | ior.c | 34 nvkm_ior_find(struct nvkm_disp *disp, enum nvkm_ior_type type, int id) in nvkm_ior_find() argument 38 if (ior->type == type && (id < 0 || ior->id == id)) in nvkm_ior_find() 58 enum nvkm_ior_type type, int id, bool hda) in nvkm_ior_new_() argument 65 ior->type = type; in nvkm_ior_new_() 68 snprintf(ior->name, sizeof(ior->name), "%s-%d", nvkm_ior_name[ior->type], ior->id); in nvkm_ior_new_()
|
/openbmc/linux/include/linux/iio/ |
H A D | events.h | 25 type, chan, chan1, chan2) \ argument 26 (((u64)type << 56) | ((u64)diff << 55) | \ 42 type, direction) \ argument 43 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0) 53 #define IIO_UNMOD_EVENT_CODE(chan_type, number, type, direction) \ argument 54 IIO_EVENT_CODE(chan_type, 0, 0, direction, type, number, 0, 0)
|
/openbmc/linux/net/netfilter/ |
H A D | nft_tunnel.c | 154 .type = &nft_tunnel_type, 388 __be16 type = 0; in nft_tunnel_obj_opts_init() local 399 if (type) in nft_tunnel_obj_opts_init() 404 type = TUNNEL_VXLAN_OPT; in nft_tunnel_obj_opts_init() 407 if (type) in nft_tunnel_obj_opts_init() 412 type = TUNNEL_ERSPAN_OPT; in nft_tunnel_obj_opts_init() 415 if (type && type != TUNNEL_GENEVE_OPT) in nft_tunnel_obj_opts_init() 420 type = TUNNEL_GENEVE_OPT; in nft_tunnel_obj_opts_init() 628 opt->type) || in nft_tunnel_opts_dump() 706 .type = &nft_tunnel_obj_type, [all …]
|
/openbmc/linux/lib/ |
H A D | nlattr.c | 127 switch (pt->type) { in nla_get_range_unsigned() 177 switch (pt->type) { in nla_validate_range_unsigned() 241 switch (pt->type) { in nla_get_range_signed() 289 switch (pt->type) { in nla_validate_int_range_signed() 392 if (type <= 0 || type > maxtype) in validate_nla() 395 type = array_index_nospec(type, maxtype + 1); in validate_nla() 400 if (nla_attr_len[pt->type] && attrlen != nla_attr_len[pt->type]) { in validate_nla() 411 if ((pt->type == NLA_NESTED || pt->type == NLA_NESTED_ARRAY) && in validate_nla() 417 if (pt->type != NLA_NESTED && pt->type != NLA_NESTED_ARRAY && in validate_nla() 603 if (type == 0 || type > maxtype) { in __nla_validate_parse() [all …]
|
/openbmc/linux/drivers/greybus/ |
H A D | operation.c | 341 header->type = type; in gb_operation_message_init() 474 u8 type; in gb_operation_response_alloc() local 476 type = operation->type | GB_MESSAGE_TYPE_RESPONSE; in gb_operation_response_alloc() 548 operation->type = type; in gb_operation_create_common() 576 u8 type, size_t request_size, in gb_operation_create_flags() argument 602 u8 type, size_t request_size, in gb_operation_create_core() argument 919 u8 type; in gb_connection_recv_request() local 923 type = header->type; in gb_connection_recv_request() 926 type, data, size); in gb_connection_recv_request() 1192 int type, void *request, in gb_operation_unidirectional_timeout() argument [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | vvar.h | 27 #define DECLARE_VVAR(offset, type, name) \ argument 34 #define DECLARE_VVAR(offset, type, name) \ argument 35 extern type vvar_ ## name[CS_BASES] \ 37 extern type timens_ ## name[CS_BASES] \ 43 #define DEFINE_VVAR(type, name) \ argument 44 type name[CS_BASES] \
|
/openbmc/linux/fs/configfs/ |
H A D | symlink.c | 148 const struct config_item_type *type; in configfs_symlink() local 159 type = parent_item->ci_type; in configfs_symlink() 162 if (!type || !type->ct_item_ops || in configfs_symlink() 163 !type->ct_item_ops->allow_link) in configfs_symlink() 207 if (ret && type->ct_item_ops->drop_link) in configfs_symlink() 208 type->ct_item_ops->drop_link(parent_item, in configfs_symlink() 224 const struct config_item_type *type; in configfs_unlink() local 234 type = parent_item->ci_type; in configfs_unlink() 248 if (type && type->ct_item_ops && in configfs_unlink() 249 type->ct_item_ops->drop_link) in configfs_unlink() [all …]
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | pmi.c | 45 u8 type; in pmi_irq_handler() local 50 type = ioread8(data->pmi_reg + PMI_READ_TYPE); in pmi_irq_handler() 51 pr_debug("pmi: got message of type %d\n", type); in pmi_irq_handler() 53 if (type & PMI_ACK && !data->completion) { in pmi_irq_handler() 59 if (data->completion && !(type & PMI_ACK)) { in pmi_irq_handler() 65 data->msg.type = type; in pmi_irq_handler() 78 if (data->msg.type & PMI_ACK) { in pmi_irq_handler() 93 { .type = "ibm,pmi", .name = "ibm,pmi" }, 94 { .type = "ibm,pmi" }, 107 if (handler->type == data->msg.type) in pmi_notify_handlers() [all …]
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | hwstats.c | 11 enum netdev_offload_xstats_type type) in nsim_dev_hwstats_get_list_head() argument 13 switch (type) { in nsim_dev_hwstats_get_list_head() 23 enum netdev_offload_xstats_type type) in nsim_dev_hwstats_traffic_bump() argument 154 enum netdev_offload_xstats_type type) in __nsim_dev_hwstats_event_unregister() argument 217 enum netdev_offload_xstats_type type, in nsim_dev_hwstats_enable_ifindex() argument 273 enum netdev_offload_xstats_type type, in nsim_dev_hwstats_disable_ifindex() argument 336 enum netdev_offload_xstats_type type; member 364 hwsfops->type, in nsim_dev_hwstats_do_write() 369 hwsfops->type, in nsim_dev_hwstats_do_write() 374 hwsfops->type, in nsim_dev_hwstats_do_write() [all …]
|
/openbmc/linux/arch/m68k/mm/ |
H A D | motorola.c | 114 #define ptable_size(type) (1U << ptable_shift[type]) argument 115 #define ptable_mask(type) ((1U << (PAGE_SIZE / ptable_size(type))) - 1) argument 126 PD_MARKBITS(dp) = ptable_mask(type); in init_pointer_table() 127 list_add(dp, &ptable_list[type]); in init_pointer_table() 140 void *get_pointer_table(int type) in get_pointer_table() argument 142 ptable_desc *dp = ptable_list[type].next; in get_pointer_table() 159 if (type == TABLE_PTE) { in get_pointer_table() 170 PD_MARKBITS(new) = ptable_mask(type) - 1; in get_pointer_table() 181 list_move_tail(dp, &ptable_list[type]); in get_pointer_table() 203 if (type == TABLE_PTE) in free_pointer_table() [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | image_types.bbclass | 334 CONVERSION_CMD:lz4 = "lz4 -9 -z -l ${IMAGE_NAME}.${type} ${IMAGE_NAME}.${type}.lz4" 340 CONVERSION_CMD:md5sum = "md5sum ${IMAGE_NAME}.${type} > ${IMAGE_NAME}.${type}.md5sum" 341 CONVERSION_CMD:sha1sum = "sha1sum ${IMAGE_NAME}.${type} > ${IMAGE_NAME}.${type}.sha1sum" 342 CONVERSION_CMD:sha224sum = "sha224sum ${IMAGE_NAME}.${type} > ${IMAGE_NAME}.${type}.sha224sum" 343 CONVERSION_CMD:sha256sum = "sha256sum ${IMAGE_NAME}.${type} > ${IMAGE_NAME}.${type}.sha256sum" 344 CONVERSION_CMD:sha384sum = "sha384sum ${IMAGE_NAME}.${type} > ${IMAGE_NAME}.${type}.sha384sum" 345 CONVERSION_CMD:sha512sum = "sha512sum ${IMAGE_NAME}.${type} > ${IMAGE_NAME}.${type}.sha512sum" 346 CONVERSION_CMD:bmap = "bmaptool create ${IMAGE_NAME}.${type} -o ${IMAGE_NAME}.${type}.bmap" 348 CONVERSION_CMD:vmdk = "qemu-img convert -O vmdk ${IMAGE_NAME}.${type} ${IMAGE_NAME}.${type}.vmdk" 351 CONVERSION_CMD:vdi = "qemu-img convert -O vdi ${IMAGE_NAME}.${type} ${IMAGE_NAME}.${type}.vdi" [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 256.out | 32 "type": "block-dirty-bitmap-add" 39 "type": "block-dirty-bitmap-add" 48 "type": "blockdev-backup" 57 "type": "blockdev-backup" 65 {"data": {"device": "j0", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "even… 66 {"data": {"device": "j1", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "even… 98 "type": "blockdev-backup" 108 "type": "blockdev-backup" 116 {"data": {"device": "j2", "len": 0, "offset": 0, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB… 117 {"data": {"device": "j3", "len": 0, "offset": 0, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB…
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | mt6359.yaml | 29 mediatek,mic-type-0: 32 Specifies the type of mic type connected to adc0 42 mediatek,mic-type-1: 45 Specifies the type of mic type connected to adc1 47 mediatek,mic-type-2: 50 Specifies the type of mic type connected to adc2 58 mediatek,mic-type-0 = <2>;
|
/openbmc/linux/fs/fuse/ |
H A D | acl.c | 16 struct inode *inode, int type, bool rcu) in __fuse_get_acl() argument 32 if (type == ACL_TYPE_ACCESS) in __fuse_get_acl() 34 else if (type == ACL_TYPE_DEFAULT) in __fuse_get_acl() 69 struct dentry *dentry, int type) in fuse_get_acl() argument 77 return __fuse_get_acl(fc, idmap, inode, type, false); in fuse_get_acl() 80 struct posix_acl *fuse_get_inode_acl(struct inode *inode, int type, bool rcu) in fuse_get_inode_acl() argument 94 return __fuse_get_acl(fc, &nop_mnt_idmap, inode, type, rcu); in fuse_get_inode_acl() 98 struct posix_acl *acl, int type) in fuse_set_acl() argument 111 if (type == ACL_TYPE_ACCESS) in fuse_set_acl() 113 else if (type == ACL_TYPE_DEFAULT) in fuse_set_acl()
|
/openbmc/phosphor-snmp/ |
H A D | snmp_notification.hpp | 60 Type type; member 129 u_char type, Value val); 197 u_char type = getASNType<decltype(OBMCErrorID)>(); in getFieldOIDList() local 199 objectList.emplace_back(id, idLen, type, OBMCErrorID); in getFieldOIDList() 204 u_char type = getASNType<decltype(OBMCErrorTimestamp)>(); in getFieldOIDList() local 206 objectList.emplace_back(id, idLen, type, OBMCErrorTimestamp); in getFieldOIDList() 211 u_char type = getASNType<decltype(OBMCErrorSeverity)>(); in getFieldOIDList() local 213 objectList.emplace_back(id, idLen, type, OBMCErrorSeverity); in getFieldOIDList() 218 u_char type = getASNType<decltype(OBMCErrorMessage)>(); in getFieldOIDList() local 220 objectList.emplace_back(id, idLen, type, OBMCErrorMessage); in getFieldOIDList()
|