/openbmc/linux/drivers/scsi/ |
H A D | sd_dif.c | 31 u8 type = sdkp->protection_type; in sd_dif_config_host() local 35 dif = scsi_host_dif_capable(sdp->host, type); in sd_dif_config_host() 36 dix = scsi_host_dix_capable(sdp->host, type); in sd_dif_config_host() 51 if (type == T10_PI_TYPE3_PROTECTION) in sd_dif_config_host() 58 if (type == T10_PI_TYPE3_PROTECTION) in sd_dif_config_host() 65 if (dif && type) { in sd_dif_config_host() 71 if (type == T10_PI_TYPE3_PROTECTION) in sd_dif_config_host()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | ccm_mbox.c | 225 unsigned int length, offset, type; in nfp_ccm_mbox_copy_out() local 239 type, offset, length); in nfp_ccm_mbox_copy_out() 250 type, offset, length); in nfp_ccm_mbox_copy_out() 256 type, offset, length); in nfp_ccm_mbox_copy_out() 280 hdr.type, in nfp_ccm_mbox_copy_out() 435 enum nfp_ccm_type type) in nfp_ccm_mbox_unlink_unlock() argument 459 type); in nfp_ccm_mbox_unlink_unlock() 465 enum nfp_ccm_type type, in nfp_ccm_mbox_msg_prepare() argument 531 hdr->type = type; in nfp_ccm_mbox_msg_enqueue() 540 enum nfp_ccm_type type, in __nfp_ccm_mbox_communicate() argument [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-opp-witherspoon.dts | 436 type = <PCA955X_TYPE_GPIO>; 441 type = <PCA955X_TYPE_GPIO>; 446 type = <PCA955X_TYPE_GPIO>; 451 type = <PCA955X_TYPE_GPIO>; 456 type = <PCA955X_TYPE_GPIO>; 461 type = <PCA955X_TYPE_GPIO>; 466 type = <PCA955X_TYPE_GPIO>; 471 type = <PCA955X_TYPE_GPIO>; 476 type = <PCA955X_TYPE_GPIO>; 481 type = <PCA955X_TYPE_GPIO>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/temperature/ |
H A D | adi,ltc2983.yaml | 23 type: object 34 adi,sensor-type: 40 - adi,sensor-type 96 adi,sensor-type: 113 type: boolean 154 adi,sensor-type: 161 type: boolean 167 type: boolean 175 type: boolean 233 type: boolean [all …]
|
/openbmc/linux/drivers/input/joystick/ |
H A D | db9.c | 132 switch (type) { in db9_saturn_write_sub() 155 if (type) { in db9_saturn_read_sub() 175 db9_saturn_write_sub(port, type, 0, powered, 0); in db9_saturn_read_analog() 177 data = db9_saturn_read_sub(port, type) << 4; in db9_saturn_read_analog() 180 data |= db9_saturn_read_sub(port, type); in db9_saturn_read_analog() 194 data[0] = db9_saturn_read_sub(port, type); in db9_saturn_read_packet() 206 data[1] |= db9_saturn_read_sub(port, type); in db9_saturn_read_packet() 325 int type, n, max_pads; in db9_saturn() local 330 type = 0; in db9_saturn() 334 type = 1; in db9_saturn() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | nuvoton,nct7802.yaml | 38 type: object 51 sensor-type: 67 # For channels RTD1, RTD2 and RTD3, require sensor-type to be set. 80 - sensor-type 84 - sensor-type 86 # For channels RTD1 and RTD2 and if sensor-type is "temperature", require 88 # sensor-type settings), do not allow temperature-mode to be set 96 sensor-type: 131 sensor-type = "voltage"; 136 sensor-type = "temperature"; [all …]
|
/openbmc/linux/crypto/ |
H A D | kpp.c | 27 strscpy(rkpp.type, "kpp", sizeof(rkpp.type)); in crypto_kpp_report() 80 strscpy(rkpp.type, "kpp", sizeof(rkpp.type)); in crypto_kpp_report_stat() 107 .type = CRYPTO_ALG_TYPE_KPP, 111 struct crypto_kpp *crypto_alloc_kpp(const char *alg_name, u32 type, u32 mask) in crypto_alloc_kpp() argument 113 return crypto_alloc_tfm(alg_name, &crypto_kpp_type, type, mask); in crypto_alloc_kpp() 119 const char *name, u32 type, u32 mask) in crypto_grab_kpp() argument 122 return crypto_grab_spawn(&spawn->base, inst, name, type, mask); in crypto_grab_kpp() 126 int crypto_has_kpp(const char *alg_name, u32 type, u32 mask) in crypto_has_kpp() argument 128 return crypto_type_has_alg(alg_name, &crypto_kpp_type, type, mask); in crypto_has_kpp()
|
/openbmc/linux/tools/net/ynl/generated/ |
H A D | devlink-user.c | 451 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_get_rsp_parse() 599 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_port_get_rsp_parse() 679 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_port_get_rsp_dump_parse() 786 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_sb_get_rsp_parse() 928 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_sb_pool_get_rsp_parse() 1080 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_sb_port_pool_get_rsp_parse() 1242 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_sb_tc_pool_bind_get_rsp_parse() 1410 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_param_get_rsp_parse() 1562 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_region_get_rsp_parse() 1745 if (type == DEVLINK_ATTR_BUS_NAME) { in devlink_info_get_rsp_parse() [all …]
|
/openbmc/linux/include/linux/iio/ |
H A D | iio.h | 167 enum iio_event_type type; member 242 enum iio_chan_type type; member 284 enum iio_chan_info_enum type) in iio_channel_has_info() argument 289 (chan->info_mask_shared_by_all & BIT(type)); in iio_channel_has_info() 301 enum iio_chan_info_enum type) in iio_channel_has_available() argument 310 .type = IIO_TIMESTAMP, \ 473 int *type, 493 enum iio_event_type type, 498 enum iio_event_type type, 504 enum iio_event_type type, [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | intr.c | 34 if (type < NVKM_INTR_VECTOR_0) { in nvkm_intr_xlat() 35 if (type == NVKM_INTR_SUBDEV) { in nvkm_intr_xlat() 40 if (data->type == NVKM_SUBDEV_TOP) { in nvkm_intr_xlat() 43 tdev->type == subdev->type && in nvkm_intr_xlat() 53 if (data->type == subdev->type && data->inst == subdev->inst) { in nvkm_intr_xlat() 66 *leaf = type / 32; in nvkm_intr_xlat() 67 *mask = BIT(type % 32); in nvkm_intr_xlat() 110 intr = nvkm_intr_find(subdev, type, &leaf, &mask); in nvkm_intr_allow() 136 intr = nvkm_intr_find(subdev, type, &leaf, &mask); in nvkm_intr_block() 280 if (type == NVKM_ENGINE_DISP) in nvkm_intr_subdev_add_dev() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | pfr_update.c | 134 out_obj->package.elements[CAP_STATUS_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 135 out_obj->package.elements[CAP_UPDATE_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 143 out_obj->package.elements[CAP_OEM_ID_IDX].type != ACPI_TYPE_BUFFER || in query_capability() 144 out_obj->package.elements[CAP_OEM_INFO_IDX].type != ACPI_TYPE_BUFFER) in query_capability() 204 out_obj->package.elements[BUF_SIZE_IDX].type != ACPI_TYPE_INTEGER) in query_buffer() 279 int type, size; in applicable_image() local 297 type = get_image_type(m_img_hdr, pfru_dev); in applicable_image() 298 if (type < 0) in applicable_image() 310 if (type == PFRU_CODE_INJECT_TYPE) in applicable_image() 339 in_obj.type = ACPI_TYPE_PACKAGE; in start_update() [all …]
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | vdec.c | 36 .type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE, 41 .type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE, 56 .type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE, 128 if (i == size || fmt[i].type != type) in find_format() 135 if (V4L2_TYPE_IS_CAPTURE(type) && in find_format() 159 if (fmt[i].type != type) in find_format_by_index() 162 if (V4L2_TYPE_IS_OUTPUT(type)) { in find_format_by_index() 532 switch (sub->type) { in vdec_subscribe_event() 970 switch (q->type) { in vdec_queue_setup() 1403 unsigned int type; in vdec_buf_done() local [all …]
|
/openbmc/linux/arch/x86/boot/ |
H A D | printf.c | 42 int type) in number() argument 53 locase = (type & SMALL); in number() 54 if (type & LEFT) in number() 55 type &= ~ZEROPAD; in number() 60 if (type & SIGN) { in number() 65 } else if (type & PLUS) { in number() 68 } else if (type & SPACE) { in number() 73 if (type & SPECIAL) { in number() 88 if (!(type & (ZEROPAD + LEFT))) in number() 93 if (type & SPECIAL) { in number() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | Cpu.interface.yaml | 5 type: string 10 type: string 16 type: uint16 23 type: uint16 29 type: uint64 37 type: uint32 41 type: array[enum[self.Capability]] 47 type: uint16 51 type: uint16 55 type: uint16 [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_av.c | 24 int type; in chk_attr() local 48 if (type < RDMA_NETWORK_IPV4 || in chk_attr() 49 type > RDMA_NETWORK_IPV6) { in chk_attr() 52 type); in chk_attr() 55 type); in chk_attr() 91 attr->type = RDMA_AH_ATTR_TYPE_ROCE; in rxe_av_to_attr() 107 int type; in rxe_av_fill_ip_info() local 117 type = RXE_NETWORK_TYPE_IPV4; in rxe_av_fill_ip_info() 120 type = RXE_NETWORK_TYPE_IPV6; in rxe_av_fill_ip_info() 124 type = 0; in rxe_av_fill_ip_info() [all …]
|
H A D | rxe_queue.c | 56 unsigned int elem_size, enum queue_type type) in rxe_queue_init() argument 71 q->type = type; in rxe_queue_init() 113 enum queue_type type = q->type; in resize_finish() local 118 if (!queue_empty(q, q->type) && (num_elem < queue_count(q, type))) in resize_finish() 121 new_prod = queue_get_producer(new_q, type); in resize_finish() 122 prod = queue_get_producer(q, type); in resize_finish() 123 cons = queue_get_consumer(q, type); in resize_finish() 136 if (type == QUEUE_TYPE_TO_CLIENT) in resize_finish() 158 new_q = rxe_queue_init(q->rxe, &num_elem, elem_size, q->type); in rxe_queue_resize()
|
/openbmc/qemu/qapi/ |
H A D | tpm.json | 47 # @passthrough: TPM passthrough type 49 # @emulator: Software Emulator TPM type (since 2.11) 76 # Information about the TPM passthrough type 93 # Information about the TPM emulator type 105 # @data: Information about the TPM passthrough type 116 # @data: Information about the TPM emulator type 130 # @type: 132 # passthrough type 134 # type 139 'base': { 'type': 'TpmType' }, [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | tables_phy_ht.c | 608 u32 type, value; in b43_httab_read() local 610 type = offset & B43_HTTAB_TYPEMASK; in b43_httab_read() 614 switch (type) { in b43_httab_read() 640 u32 type; in b43_httab_read_bulk() local 651 switch (type) { in b43_httab_read_bulk() 674 u32 type; in b43_httab_write() local 679 switch (type) { in b43_httab_write() 705 u32 type, value; in b43_httab_write_few() local 712 switch (type) { in b43_httab_write_few() 750 u32 type, value; in b43_httab_write_bulk() local [all …]
|
/openbmc/linux/arch/s390/kvm/ |
H A D | trace-s390.h | 24 TP_PROTO(unsigned long type), 25 TP_ARGS(type), 28 __field(unsigned long, type) 32 __entry->type = type; 126 TP_PROTO(__u64 type, __u32 parm, __u64 parm64, int who), 127 TP_ARGS(type, parm, parm64, who), 137 __entry->inttype = type & 0x00000000ffffffff; 152 TP_ARGS(id, type, parm, parm64), 163 __entry->inttype = type & 0x00000000ffffffff; 179 TP_ARGS(id, type, data0, data1), [all …]
|
/openbmc/qemu/hw/display/ |
H A D | qxl-logger.c | 116 switch (desc->type) { in qxl_log_image() 159 qxl_name(qxl_draw_type, draw->type), in qxl_log_cmd_draw() 161 switch (draw->type) { in qxl_log_cmd_draw() 172 qxl_name(qxl_draw_type, draw->type), in qxl_log_cmd_draw_compat() 179 switch (draw->type) { in qxl_log_cmd_draw_compat() 191 if (cmd->type == QXL_SURFACE_CMD_CREATE) { in qxl_log_cmd_surface() 199 if (cmd->type == QXL_SURFACE_CMD_DESTROY) { in qxl_log_cmd_surface() 210 switch (cmd->type) { in qxl_log_cmd_cursor() 249 qxl_name(qxl_type, ext->cmd.type), in qxl_log_command() 252 switch (ext->cmd.type) { in qxl_log_command() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | perf-record.c | 178 const u32 type = event->header.type; in test__PERF_RECORD() local 182 if (type < PERF_RECORD_MAX) in test__PERF_RECORD() 183 nr_events[type]++; in test__PERF_RECORD() 224 if ((type == PERF_RECORD_COMM || in test__PERF_RECORD() 225 type == PERF_RECORD_MMAP || in test__PERF_RECORD() 226 type == PERF_RECORD_MMAP2 || in test__PERF_RECORD() 227 type == PERF_RECORD_FORK || in test__PERF_RECORD() 234 if ((type == PERF_RECORD_COMM || in test__PERF_RECORD() 235 type == PERF_RECORD_MMAP || in test__PERF_RECORD() 242 switch (type) { in test__PERF_RECORD() [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | io.h | 46 #define build_mmio_read(name, size, type, reg, barrier) \ argument 47 static inline type name(const volatile void __iomem *addr) \ 48 { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ 51 #define build_mmio_write(name, size, type, reg, barrier) \ argument 54 "m" (*(volatile type __force *)addr) barrier); } 245 #define BUILDIO(bwl, bw, type) \ argument 246 static inline void out##bwl##_p(type value, u16 port) \ 252 static inline type in##bwl##_p(u16 port) \ 254 type value = in##bwl(port); \ 262 type *value = (type *)addr; \ [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | netlink.c | 75 if (type >= RDMA_NL_NUM_CLIENTS) in is_nl_msg_valid() 78 return op < max_num_ops[type]; in is_nl_msg_valid() 93 cb_table = READ_ONCE(rdma_nl_types[type].cb_table); in get_cb_table() 99 up_read(&rdma_nl_types[type].sem); in get_cb_table() 101 request_module("rdma-netlink-subsys-%u", type); in get_cb_table() 103 down_read(&rdma_nl_types[type].sem); in get_cb_table() 142 int len, void *data, int type) in ibnl_put_attr() argument 144 if (nla_put(skb, type, len, data)) { in ibnl_put_attr() 155 int type = nlh->nlmsg_type; in rdma_nl_rcv_msg() local 156 unsigned int index = RDMA_NL_GET_CLIENT(type); in rdma_nl_rcv_msg() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | exfield.c | 125 if (obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD) { in acpi_ex_read_data_from_field() 136 } else if ((obj_desc->common.type == ACPI_TYPE_LOCAL_REGION_FIELD) && in acpi_ex_read_data_from_field() 171 (obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD && in acpi_ex_read_data_from_field() 193 if ((obj_desc->common.type == ACPI_TYPE_LOCAL_REGION_FIELD) && in acpi_ex_read_data_from_field() 224 obj_desc, obj_desc->common.type, buffer, in acpi_ex_read_data_from_field() 283 if (obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD) { in acpi_ex_write_data_to_field() 357 switch (source_desc->common.type) { in acpi_ex_write_data_to_field() 383 acpi_ut_get_type_name(source_desc->common.type), in acpi_ex_write_data_to_field() 384 source_desc->common.type, buffer, buffer_length)); in acpi_ex_write_data_to_field() 389 acpi_ut_get_type_name(obj_desc->common.type), in acpi_ex_write_data_to_field() [all …]
|
/openbmc/qemu/block/export/ |
H A D | export.c | 63 static const BlockExportDriver *blk_exp_find_driver(BlockExportType type) in blk_exp_find_driver() argument 68 if (blk_exp_drivers[i]->type == type) { in blk_exp_find_driver() 97 drv = blk_exp_find_driver(export->type); in blk_exp_add() 264 static bool blk_exp_has_type(BlockExportType type) in blk_exp_has_type() argument 268 if (type == BLOCK_EXPORT_TYPE__MAX) { in blk_exp_has_type() 273 if (exp->drv->type == type) { in blk_exp_has_type() 282 void blk_exp_close_all_type(BlockExportType type) in blk_exp_close_all_type() argument 289 if (type != BLOCK_EXPORT_TYPE__MAX && exp->drv->type != type) { in blk_exp_close_all_type() 295 AIO_WAIT_WHILE_UNLOCKED(NULL, blk_exp_has_type(type)); in blk_exp_close_all_type() 348 .type = exp->drv->type, in qmp_query_block_exports()
|