/openbmc/linux/arch/mips/include/asm/ |
H A D | atomic.h | 26 #define ATOMIC_OPS(pfx, type) \ argument 47 type temp; \ 72 static __inline__ type \ 75 type temp, result; \ 106 static __inline__ type \ 140 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ 142 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) 163 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ 196 #define ATOMIC_SIP_OP(pfx, type, op, ll, sc) \ argument 197 static __inline__ type arch_##pfx##_sub_if_positive(type i, pfx##_t * v) \ [all …]
|
/openbmc/linux/include/linux/ |
H A D | container_of.h | 18 #define container_of(ptr, type, member) ({ \ argument 20 static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 23 ((type *)(__mptr - offsetof(type, member))); }) 32 #define container_of_const(ptr, type, member) \ argument 34 const typeof(*(ptr)) *: ((const type *)container_of(ptr, type, member)),\ 35 default: ((type *)container_of(ptr, type, member)) \
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
H A D | base.c | 31 info->type = NVKM_SUBDEV_NR; in nvkm_top_device_new() 45 nvkm_top_addr(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_top_addr() argument 52 if (info->type == type && info->inst == inst) in nvkm_top_addr() 61 nvkm_top_reset(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_top_reset() argument 68 if (info->type == type && info->inst == inst && info->reset >= 0) in nvkm_top_reset() 84 if (info->type == type && info->inst == inst && info->intr >= 0) in nvkm_top_intr_mask() 93 nvkm_top_fault_id(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_top_fault_id() argument 99 if (info->type == type && info->inst == inst && info->fault >= 0) in nvkm_top_fault_id() 114 return nvkm_device_subdev(device, info->type, info->inst); in nvkm_top_fault() 152 enum nvkm_subdev_type type, int inst, struct nvkm_top **ptop) in nvkm_top_new_() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | umem.c | 97 if ((umem->type & NVKM_MEM_HOST) && !argc) { in nvkm_umem_map() 104 *type = NVKM_OBJECT_MAP_VA; in nvkm_umem_map() 107 if ((umem->type & NVKM_MEM_VRAM) || in nvkm_umem_map() 108 (umem->type & NVKM_MEM_KIND)) { in nvkm_umem_map() 114 *type = NVKM_OBJECT_MAP_IO; in nvkm_umem_map() 119 umem->io = (*type == NVKM_OBJECT_MAP_IO); in nvkm_umem_map() 150 int type, ret = -ENOSYS; in nvkm_umem_new() local 155 type = args->v0.type; in nvkm_umem_new() 161 if (type >= mmu->type_nr) in nvkm_umem_new() 168 umem->type = mmu->type[type].type; in nvkm_umem_new() [all …]
|
/openbmc/qemu/hw/smbios/ |
H A D | smbios.c | 150 .type = QEMU_OPT_STRING, 159 .type = QEMU_OPT_NUMBER, 163 .type = QEMU_OPT_STRING, 167 .type = QEMU_OPT_STRING, 171 .type = QEMU_OPT_STRING, 175 .type = QEMU_OPT_STRING, 179 .type = QEMU_OPT_BOOL, 188 .type = QEMU_OPT_NUMBER, 192 .type = QEMU_OPT_STRING, 196 .type = QEMU_OPT_STRING, [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | sstep.c | 92 op->type |= DECCTR; in branch_taken() 1145 op->type |= SETCC; in set_cr0() 1371 op->type = COMPUTE; in analyse_instr() 1376 op->type = BRANCH; in analyse_instr() 1434 op->type = RFI; in analyse_instr() 3121 if (OP_IS_LOAD_STORE(op->type) && (op->type & UPDATE)) { in analyse_instr() 3335 type = GETTYPE(op->type); in emulate_loadstore() 3339 switch (type) { in emulate_loadstore() 3584 int r, err, type; in emulate_step() local 3597 type = GETTYPE(op.type); in emulate_step() [all …]
|
/openbmc/openbmc/meta-aspeed/recipes-bsp/u-boot/ |
H A D | u-boot-aspeed.inc | 71 for type in ${UBOOT_CONFIG}; do 100 for type in ${UBOOT_CONFIG}; do 106 … ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${D}/boot/${UBOOT_BINARY}-${type} 130 … ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${D}/boot/${UBOOT_BINARY}-${type} 159 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${D}/boot/${SPL_BINARYNAME}-${type} 196 for type in ${UBOOT_CONFIG}; do 203 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_SYMLINK}-${type} 205 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_BINARY}-${type} 232 … ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${DEPLOYDIR}/${UBOOT_ELF_BINARY}-${type} 261 … ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}-${type} [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | xc4000.c | 574 if (type & FM) in dump_firm_type_and_int_freq() 636 (priv->firm[i].type ^ type) in seek_firmware() 827 priv->firm[n].type = type; in xc4000_fwupload() 940 new_fw.type = type; in check_firmware() 998 if (priv->cur_fw.type == (BASE | new_fw.type) && in check_firmware() 1155 type = DTV6; in xc4000_set_params() 1162 type = DTV6; in xc4000_set_params() 1295 type = MONO; in xc4000_set_analog_params() 1363 type = 0; in xc4000_set_analog_params() 1378 type = 0; in xc4000_set_analog_params() [all …]
|
/openbmc/linux/drivers/mmc/core/ |
H A D | bus.c | 61 const char *type; in mmc_bus_uevent() local 67 type = "MMC"; in mmc_bus_uevent() 70 type = "SD"; in mmc_bus_uevent() 73 type = "SDIO"; in mmc_bus_uevent() 79 type = NULL; in mmc_bus_uevent() 82 if (type) { in mmc_bus_uevent() 290 card->dev.type = type; in mmc_alloc_card() 319 type = "MMC"; in mmc_add_card() 322 type = "SD"; in mmc_add_card() 339 type = "?"; in mmc_add_card() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-defs.c | 1312 *type = V4L2_CTRL_TYPE_BOOLEAN; in v4l2_ctrl_fill() 1317 *type = V4L2_CTRL_TYPE_INTEGER; in v4l2_ctrl_fill() 1324 *type = V4L2_CTRL_TYPE_INTEGER; in v4l2_ctrl_fill() 1345 *type = V4L2_CTRL_TYPE_BUTTON; in v4l2_ctrl_fill() 1423 *type = V4L2_CTRL_TYPE_MENU; in v4l2_ctrl_fill() 1432 *type = V4L2_CTRL_TYPE_STRING; in v4l2_ctrl_fill() 1515 *type = V4L2_CTRL_TYPE_U8; in v4l2_ctrl_fill() 1518 *type = V4L2_CTRL_TYPE_U16; in v4l2_ctrl_fill() 1521 *type = V4L2_CTRL_TYPE_U32; in v4l2_ctrl_fill() 1573 *type = V4L2_CTRL_TYPE_U32; in v4l2_ctrl_fill() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_table.c | 33 bool mod_color_is_table_init(enum table_type type) in mod_color_is_table_init() argument 37 if (type == type_pq_table) in mod_color_is_table_init() 39 if (type == type_de_pq_table) in mod_color_is_table_init() 45 struct fixed31_32 *mod_color_get_table(enum table_type type) in mod_color_get_table() argument 49 if (type == type_pq_table) in mod_color_get_table() 51 if (type == type_de_pq_table) in mod_color_get_table() 57 void mod_color_set_table_init_state(enum table_type type, bool state) in mod_color_set_table_init_state() argument 59 if (type == type_pq_table) in mod_color_set_table_init_state() 61 if (type == type_de_pq_table) in mod_color_set_table_init_state()
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | declance.c | 230 (type == ASIC_LANCE || type == PMAX_LANCE ? off << 1 : off) 232 #define lib_off(rt, type) \ argument 238 #define rds_off(rt, type) \ argument 252 int type; member 336 if (type == PMAD_LANCE) { in cp_to_buf() 395 if (type == PMAD_LANCE) { in cp_from_buf() 573 lp->type) & in lance_rx() 577 lp->type) & in lance_rx() 1067 lp->type = type; in dec_lance_probe() 1068 switch (type) { in dec_lance_probe() [all …]
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | elog-errors.hpp | 119 using type = typedef 150 using type = typedef 169 type _entry; 179 using type = typedef 183 type _entry; 193 using type = typedef 197 type _entry; 247 type _entry; 257 using type = typedef 261 type _entry; [all …]
|
/openbmc/u-boot/drivers/cpu/ |
H A D | mpc83xx_cpu.c | 29 enum mpc83xx_cpu_type type; member 107 priv->type = TYPE_8308; in determine_type() 110 priv->type = TYPE_8309; in determine_type() 113 priv->type = TYPE_8311; in determine_type() 116 priv->type = TYPE_8313; in determine_type() 119 priv->type = TYPE_8314; in determine_type() 122 priv->type = TYPE_8315; in determine_type() 125 priv->type = TYPE_8321; in determine_type() 128 priv->type = TYPE_8323; in determine_type() 131 priv->type = TYPE_8343; in determine_type() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-ext-ctrls.rst | 49 :c:type:`v4l2_ext_controls`, and initialize the 55 :c:type:`v4l2_ext_control` and call the 84 :c:type:`v4l2_ext_control` and call the 123 .. c:type:: v4l2_ext_control 198 * - struct :c:type:`v4l2_area` * 201 of type ``V4L2_CTRL_TYPE_AREA``. 205 of type ``V4L2_CTRL_TYPE_H264_SPS``. 209 of type ``V4L2_CTRL_TYPE_H264_PPS``. 301 and/or a compound type (the control's type is >= 313 .. c:type:: v4l2_ext_controls [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | nlattr.c | 50 int type = nla_type(nla); in validate_nla() local 52 if (type < 0 || type > maxtype) in validate_nla() 55 pt = &policy[type]; in validate_nla() 57 if (pt->type > LIBBPF_NLA_TYPE_MAX) in validate_nla() 62 else if (pt->type != LIBBPF_NLA_UNSPEC) in validate_nla() 63 minlen = nla_attr_minlen[pt->type]; in validate_nla() 71 if (pt->type == LIBBPF_NLA_STRING) { in validate_nla() 113 int type = nla_type(nla); in libbpf_nla_parse() local 115 if (type > maxtype) in libbpf_nla_parse() 124 if (tb[type]) in libbpf_nla_parse() [all …]
|
/openbmc/linux/drivers/media/common/siano/ |
H A D | sms-cards.c | 20 .type = SMS_STELLAR, 25 .type = SMS_NOVA_A0, 30 .type = SMS_NOVA_B0, 35 .type = SMS_VEGA, 40 .type = SMS_STELLAR, 46 .type = SMS_NOVA_A0, 52 .type = SMS_NOVA_B0, 95 .type = SMS_VEGA, 120 .type = SMS_MING, 125 .type = SMS_PELE, [all …]
|
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/tests/ |
H A D | restapi.py | 54 for type in self.layerindex.indexes[0]._index: 55 if type == 'apilinks' or \ 56 type == 'layerItems' or \ 60 self.logger.debug("type %s" % (type)) 64 …debug("%s ? %s" % (getattr(self.layerindex.indexes[0], type)[id], getattr(reload.indexes[0], type)… 66 …self.assertEqual(getattr(self.layerindex.indexes[0], type)[id], getattr(reload.indexes[0], type)[i… 77 for type in self.layerindex.indexes[0]._index: 78 if type == 'apilinks' or \ 79 type == 'layerItems' or \ 83 self.logger.debug("type %s" % (type)) [all …]
|
/openbmc/linux/drivers/firmware/ |
H A D | memmap.c | 33 const char *type; /* type of the memory range */ member 48 firmware_map_find_entry(u64 start, u64 end, const char *type); 143 const char *type, in firmware_map_add_entry() argument 150 entry->type = type; in firmware_map_add_entry() 226 (!strcmp(entry->type, type))) { in firmware_map_find_entry_in_list() 265 return firmware_map_find_entry_in_list(start, end, type, in firmware_map_find_entry_bootmem() 286 entry = firmware_map_find_entry(start, end - 1, type); in firmware_map_add_hotplug() 304 firmware_map_add_entry(start, end, type, entry); in firmware_map_add_hotplug() 333 return firmware_map_add_entry(start, end, type, entry); in firmware_map_add_early() 351 entry = firmware_map_find_entry(start, end - 1, type); in firmware_map_remove() [all …]
|
/openbmc/ipmi-fru-parser/ |
H A D | fru_area.cpp | 12 IPMIFruArea::IPMIFruArea(const uint8_t fruID, const ipmi_fru_area_type type, in IPMIFruArea() argument 14 fruID(fruID), type(type), bmcOnlyFru(bmcOnlyFru) in IPMIFruArea() 16 if (type == IPMI_FRU_AREA_INTERNAL_USE) in IPMIFruArea() 20 else if (type == IPMI_FRU_AREA_CHASSIS_INFO) in IPMIFruArea() 24 else if (type == IPMI_FRU_AREA_BOARD_INFO) in IPMIFruArea() 28 else if (type == IPMI_FRU_AREA_PRODUCT_INFO) in IPMIFruArea() 32 else if (type == IPMI_FRU_AREA_MULTI_RECORD) in IPMIFruArea() 39 log<level::ERR>("Invalid Area", entry("TYPE=%d", type)); in IPMIFruArea()
|
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/ipzvpd/ |
H A D | CP00.interface.yaml | 5 type: array[byte] 9 type: array[byte] 13 type: array[byte] 17 type: array[byte] 21 type: array[byte] 25 type: array[byte] 29 type: array[byte] 33 type: array[byte] 37 type: array[byte] 41 type: array[byte] [all …]
|
/openbmc/qemu/block/ |
H A D | crypto.h | 27 .type = QEMU_OPT_STRING, \ 58 .type = QEMU_OPT_STRING, \ 65 .type = QEMU_OPT_STRING, \ 72 .type = QEMU_OPT_STRING, \ 79 .type = QEMU_OPT_STRING, \ 86 .type = QEMU_OPT_STRING, \ 93 .type = QEMU_OPT_NUMBER, \ 107 .type = QEMU_OPT_BOOL, \ 114 .type = QEMU_OPT_NUMBER, \ 121 .type = QEMU_OPT_STRING, \ [all …]
|
/openbmc/phosphor-dbus-interfaces/ |
H A D | meson.options | 1 option('generate_md', type: 'boolean', value: true) 2 option('libphosphor_dbus', type: 'boolean', value: true) 3 option('data_com_google', type: 'boolean', value: true) 4 option('data_com_ibm', type: 'boolean', value: true) 5 option('data_com_intel', type: 'boolean', value: true) 6 option('data_com_meta', type: 'boolean', value: true) 7 option('data_org_freedesktop', type: 'boolean', value: true) 8 option('data_org_open_power', type: 'boolean', value: true) 9 option('data_xyz_openbmc_project', type: 'boolean', value: true)
|
/openbmc/linux/fs/ocfs2/dlm/ |
H A D | dlmconvert.c | 44 int type, int *call_ast, 114 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master() 135 switch (lock->ml.type) { in __dlmconvert_master() 146 if (type > LKM_NLMODE) { in __dlmconvert_master() 165 if (type <= lock->ml.type) in __dlmconvert_master() 173 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master() 178 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master() 194 lock->ml.type = type; in __dlmconvert_master() 212 lock->ml.type, type); in __dlmconvert_master() 219 lock->ml.convert_type = type; in __dlmconvert_master() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A D | base.c | 40 struct nvkm_subdev *subdev = nvkm_device_subdev(device, type, inst); in nvkm_mc_intr_mask() 57 if (!(pmc_enable = nvkm_top_reset(device, type, inst))) { in nvkm_mc_reset_mask() 60 if (map->type == type && map->inst == inst) { in nvkm_mc_reset_mask() 72 nvkm_mc_reset(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_reset() argument 74 u64 pmc_enable = nvkm_mc_reset_mask(device, true, type, inst); in nvkm_mc_reset() 84 u64 pmc_enable = nvkm_mc_reset_mask(device, false, type, inst); in nvkm_mc_disable() 90 nvkm_mc_enable(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_enable() argument 92 u64 pmc_enable = nvkm_mc_reset_mask(device, false, type, inst); in nvkm_mc_enable() 100 u64 pmc_enable = nvkm_mc_reset_mask(device, false, type, inst); in nvkm_mc_enabled() 128 enum nvkm_subdev_type type, int inst, struct nvkm_mc **pmc) in nvkm_mc_new_() argument [all …]
|