/drivers/pinctrl/ |
H A D | pinctrl-utils.c | 64 (*map)[*num_maps].type = PIN_MAP_TYPE_MUX_GROUP; 77 enum pinctrl_map_type type) 91 (*map)[*num_maps].type = type; 131 switch (map[i].type) { 73 pinctrl_utils_add_map_configs(struct pinctrl_dev *pctldev, struct pinctrl_map **map, unsigned *reserved_maps, unsigned *num_maps, const char *group, unsigned long *configs, unsigned num_configs, enum pinctrl_map_type type) argument
|
/drivers/regulator/ |
H A D | db8500-prcmu.c | 219 .type = REGULATOR_VOLTAGE, 228 .type = REGULATOR_VOLTAGE, 237 .type = REGULATOR_VOLTAGE, 246 .type = REGULATOR_VOLTAGE, 255 .type = REGULATOR_VOLTAGE, 264 .type = REGULATOR_VOLTAGE, 276 .type = REGULATOR_VOLTAGE, 285 .type = REGULATOR_VOLTAGE, 294 .type = REGULATOR_VOLTAGE, 304 .type [all...] |
H A D | rk808-regulator.c | 127 .type = REGULATOR_VOLTAGE, 141 .type = REGULATOR_VOLTAGE, 155 .type = REGULATOR_VOLTAGE, 165 .type = REGULATOR_VOLTAGE, 179 .type = REGULATOR_VOLTAGE, 193 .type = REGULATOR_VOLTAGE, 207 .type = REGULATOR_VOLTAGE, 221 .type = REGULATOR_VOLTAGE, 235 .type = REGULATOR_VOLTAGE, 249 .type [all...] |
/drivers/scsi/fnic/ |
H A D | vnic_cq.h | 73 u8 type, u16 q_number, u16 completed_index, void *opaque), 79 u8 type, color; local 83 cq_desc_dec(cq_desc, &type, &color, 88 if ((*q_service)(cq->vdev, cq_desc, type, 100 cq_desc_dec(cq_desc, &type, &color, 70 vnic_cq_service(struct vnic_cq *cq, unsigned int work_to_do, int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, u8 type, u16 q_number, u16 completed_index, void *opaque), void *opaque) argument
|
/drivers/staging/lustre/lustre/obdclass/ |
H A D | genops.c | 98 struct obd_type *type; local 102 type = list_entry(tmp, struct obd_type, typ_chain); 103 if (strcmp(type->typ_name, name) == 0) { 105 return type; 115 struct obd_type *type = class_search_type(name); local 117 if (!type) { 131 type = class_search_type(name); 137 if (type) { 138 spin_lock(&type->obd_type_lock); 139 type 147 class_put_type(struct obd_type *type) argument 163 struct obd_type *type; local 230 struct obd_type *type = class_search_type(name); local 281 struct obd_type *type = NULL; local 597 const char *type; local 1812 kuc_alloc(int payload_len, int transport, int type) argument [all...] |
/drivers/md/ |
H A D | dm-table.c | 31 unsigned type; member in struct:dm_table 242 if (tgt->type->dtr) 243 tgt->type->dtr(tgt); 245 dm_put_target_type(tgt->type); 451 if (dm_queue_merge_is_compulsory(q) && !ti->type->merge) 636 if (ti->type->iterate_devices) 637 ti->type->iterate_devices(ti, dm_set_device_limits, 669 int dm_table_add_target(struct dm_table *t, const char *type, argument 677 DMERR("%s: target type %s must appear alone in table", 678 dm_device_name(t->md), t->targets->type 915 unsigned type = dm_table_get_type(t); local [all...] |
/drivers/acpi/acpica/ |
H A D | acnamesp.h | 56 #define ACPI_NS_NEWSCOPE 1 /* a definition of this type opens a name scope */ 103 acpi_ns_walk_namespace(acpi_object_type type, 116 struct acpi_namespace_node *acpi_ns_get_next_node_typed(acpi_object_type type, 143 acpi_object_type type, 212 acpi_ns_dump_objects(acpi_object_type type, 218 acpi_ns_dump_object_paths(acpi_object_type type, 232 * nsarguments - Argument count/type checking for predefined/reserved names 272 u32 acpi_ns_opens_scope(acpi_object_type type); 301 union acpi_operand_object *object, acpi_object_type type); 367 acpi_object_type type, [all...] |
H A D | rscalc.c | 147 * Large-type resource descriptors. 204 /* Validate the descriptor type */ 206 if (resource->type > ACPI_RESOURCE_TYPE_MAX) { 218 total_size = acpi_gbl_aml_resource_sizes[resource->type]; 224 switch (resource->type) { 247 * it will be created as a Small Resource data type, otherwise it 248 * is a Large Resource data type. 346 type]; 541 [aml_resource->common_serial_bus.type]; 562 [aml_resource->common_serial_bus.type] [all...] |
/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 239 * @type: FC-4 type, such as FC_TYPE_FCP 241 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) argument 244 BUG_ON(type >= FC_FC4_PROV_SIZE); 246 prov_entry = fc_passive_prov[type]; 247 if (type == FC_TYPE_FCP) { 266 * @type: FC-4 type, such as FC_TYPE_FCP 271 int fc_fc4_register_provider(enum fc_fh_type type, struct fc4_prov *prov) argument 276 if (type > 294 fc_fc4_deregister_provider(enum fc_fh_type type, struct fc4_prov *prov) argument [all...] |
/drivers/gpu/drm/nouveau/core/engine/disp/ |
H A D | piornv50.c | 153 u32 ctrl, type; local 158 nv_ioctl(object, "disp pior pwr vers %d state %d type %x\n", 159 args->v0.version, args->v0.state, args->v0.type); 160 if (args->v0.type > 0x0f) 163 type = args->v0.type; 170 priv->pior.type[outp->or] = type;
|
/drivers/infiniband/hw/mthca/ |
H A D | mthca_catas.c | 91 const char *type; local 103 type = "internal error"; 106 type = "uplink bus error"; 109 type = "DDR data error"; 112 type = "internal parity error"; 115 type = "unknown error"; 119 mthca_err(dev, "Catastrophic error detected: %s\n", type);
|
/drivers/input/keyboard/ |
H A D | gpio_keys.c | 88 * get_n_events_by_type() - returns maximum number of events per @type 89 * @type: type of button (%EV_KEY, %EV_SW) 92 * large enough to hold all bits for given type. 94 static inline int get_n_events_by_type(int type) argument 96 BUG_ON(type != EV_SW && type != EV_KEY); 98 return (type == EV_KEY) ? KEY_CNT : SW_CNT; 150 * @type: button type ( 160 gpio_keys_attr_show_helper(struct gpio_keys_drvdata *ddata, char *buf, unsigned int type, bool only_disabled) argument 204 gpio_keys_attr_store_helper(struct gpio_keys_drvdata *ddata, const char *buf, unsigned int type) argument 330 unsigned int type = button->type ?: EV_KEY; local [all...] |
/drivers/net/wireless/rtlwifi/btcoexist/ |
H A D | halbtc8192e2ant.h | 171 void ex_halbtc8192e2ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 172 void ex_halbtc8192e2ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 173 void ex_halbtc8192e2ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 174 void ex_halbtc8192e2ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 176 u8 type); 178 u8 type); 182 u8 type);
|
/drivers/scsi/ |
H A D | sd_dif.c | 45 u8 type = sdkp->protection_type; local 48 dif = scsi_host_dif_capable(sdp->host, type); 49 dix = scsi_host_dix_capable(sdp->host, type); 60 if (type == SD_DIF_TYPE3_PROTECTION) 67 if (type == SD_DIF_TYPE3_PROTECTION) 76 if (dif && type) { 83 if (type == SD_DIF_TYPE3_PROTECTION)
|
/drivers/gpu/drm/i915/ |
H A D | intel_ddi.c | 133 int type = intel_encoder->type; local 135 if (type == INTEL_OUTPUT_DP_MST) { 138 } else if (type == INTEL_OUTPUT_DISPLAYPORT || type == INTEL_OUTPUT_EDP || 139 type == INTEL_OUTPUT_HDMI || type == INTEL_OUTPUT_UNKNOWN) { 144 } else if (type == INTEL_OUTPUT_ANALOG) { 148 DRM_ERROR("Invalid DDI encoder type %d\n", type); 799 int type = intel_encoder->type; local 849 int type = intel_encoder->type; local 957 int type = intel_connector->base.connector_type; local 1085 int type = intel_encoder->type; local 1128 int type = intel_encoder->type; local 1166 int type = intel_encoder->type; local 1204 int type = intel_encoder->type; local 1426 int type = intel_dig_port->base.type; local 1527 int type = encoder->type; local [all...] |
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_dcb.c | 94 struct qlcnic_dcb_param type[3]; member in struct:qlcnic_dcb_mbx_params 165 struct qlcnic_dcb_cee type[QLC_DCB_NUM_PARAM]; member in struct:qlcnic_dcb_cfg 425 char *buf, u8 type) 438 switch (type) { 444 dev_err(dev, "Invalid parameter type %d\n", type); 459 cmd.req.arg[1] = size | (type << 16); 502 err = qlcnic_dcb_query_cee_param(dcb, (char *)&mbx->type[0], 507 err = qlcnic_dcb_query_cee_param(dcb, (char *)&mbx->type[1], 512 err = qlcnic_dcb_query_cee_param(dcb, (char *)&mbx->type[ 424 qlcnic_82xx_dcb_query_cee_param(struct qlcnic_dcb *dcb, char *buf, u8 type) argument 656 qlcnic_dcb_fill_cee_tc_params(struct qlcnic_dcb_mbx_params *mbx, struct qlcnic_dcb_param *each, struct qlcnic_dcb_cee *type) argument 687 qlcnic_dcb_fill_cee_pg_params(struct qlcnic_dcb_param *each, struct qlcnic_dcb_cee *type) argument 711 qlcnic_dcb_fill_cee_app_params(struct qlcnic_adapter *adapter, u8 idx, struct qlcnic_dcb_param *each, struct qlcnic_dcb_cee *type) argument 748 struct qlcnic_dcb_cee *type = &cfg->type[idx]; local 798 struct qlcnic_dcb_cee *type; local 835 struct qlcnic_dcb_cee *type; local 860 struct qlcnic_dcb_cee *type; local 968 struct qlcnic_dcb_cee *type; local [all...] |
/drivers/input/mouse/ |
H A D | psmouse-base.c | 118 enum psmouse_type type; member in struct:psmouse_protocol 148 if (psmouse->type == PSMOUSE_IMPS || psmouse->type == PSMOUSE_GENPS) 155 if (psmouse->type == PSMOUSE_IMEX) { 176 if (psmouse->type == PSMOUSE_GENPS) { 184 if (psmouse->type == PSMOUSE_THINKPS) { 194 if (psmouse->type == PSMOUSE_CORTRON) { 347 (psmouse->type == PSMOUSE_HGPK && 933 .type = PSMOUSE_PS2, 942 .type 1074 psmouse_protocol_by_type(enum psmouse_type type) argument 1539 unsigned char type; local 1841 int type = *((unsigned int *)kp->arg); local [all...] |
/drivers/media/usb/cx231xx/ |
H A D | cx231xx-cards.c | 42 MODULE_PARM_DESC(tuner, "tuner type"); 74 .type = CX231XX_VMUX_TELEVISION, 79 .type = CX231XX_VMUX_COMPOSITE1, 84 .type = CX231XX_VMUX_SVIDEO, 114 .type = CX231XX_VMUX_TELEVISION, 119 .type = CX231XX_VMUX_COMPOSITE1, 124 .type = CX231XX_VMUX_SVIDEO, 154 .type = CX231XX_VMUX_TELEVISION, 159 .type = CX231XX_VMUX_COMPOSITE1, 164 .type [all...] |
/drivers/usb/host/ |
H A D | isp116x.h | 70 #define RH_A_DT (1 << 10) /* device type (mbz) */ 460 #define isp116x_show_regs(d,type,s) { \ 461 isp116x_show_reg_##type(d, HCREVISION, s); \ 462 isp116x_show_reg_##type(d, HCCONTROL, s); \ 463 isp116x_show_reg_##type(d, HCCMDSTAT, s); \ 464 isp116x_show_reg_##type(d, HCINTSTAT, s); \ 465 isp116x_show_reg_##type(d, HCINTENB, s); \ 466 isp116x_show_reg_##type(d, HCFMINTVL, s); \ 467 isp116x_show_reg_##type(d, HCFMREM, s); \ 468 isp116x_show_reg_##type( [all...] |
/drivers/media/platform/vivid/ |
H A D | vivid-ctrls.c | 132 .type = V4L2_CTRL_TYPE_BUTTON, 139 .type = V4L2_CTRL_TYPE_BOOLEAN, 150 .type = V4L2_CTRL_TYPE_INTEGER, 160 .type = V4L2_CTRL_TYPE_INTEGER64, 180 .type = V4L2_CTRL_TYPE_MENU, 192 .type = V4L2_CTRL_TYPE_STRING, 202 .type = V4L2_CTRL_TYPE_BITMASK, 217 .type = V4L2_CTRL_TYPE_INTEGER_MENU, 229 .type = V4L2_CTRL_TYPE_BUTTON, 236 .type [all...] |
/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls.c | 574 * Returns NULL or an s64 type array containing the menu for given 920 void v4l2_ctrl_fill(u32 id, const char **name, enum v4l2_ctrl_type *type, argument 979 *type = V4L2_CTRL_TYPE_BOOLEAN; 985 *type = V4L2_CTRL_TYPE_INTEGER; 993 *type = V4L2_CTRL_TYPE_BUTTON; 1044 *type = V4L2_CTRL_TYPE_MENU; 1047 *type = V4L2_CTRL_TYPE_INTEGER_MENU; 1053 *type = V4L2_CTRL_TYPE_STRING; 1059 *type = V4L2_CTRL_TYPE_INTEGER_MENU; 1073 *type 1622 check_range(enum v4l2_ctrl_type type, s64 min, s64 max, u64 step, s64 def) argument 1904 v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, const struct v4l2_ctrl_type_ops *type_ops, u32 id, const char *name, enum v4l2_ctrl_type type, s64 min, s64 max, u64 step, s64 def, const u32 dims[V4L2_CTRL_MAX_DIMS], u32 elem_size, u32 flags, const char * const *qmenu, const s64 *qmenu_int, void *priv) argument 2059 enum v4l2_ctrl_type type = cfg->type; local 2101 enum v4l2_ctrl_type type; local 2126 enum v4l2_ctrl_type type; local 2155 enum v4l2_ctrl_type type; local 2189 enum v4l2_ctrl_type type; local [all...] |
/drivers/video/adf/ |
H A D | adf.c | 160 enum adf_event_type type) 171 if (refcount->type > type) 173 else if (refcount->type < type) 182 refcount->type = type; 193 * @type: the event type 199 * requested event type 159 adf_obj_find_event_refcount(struct adf_obj *obj, enum adf_event_type type) argument 201 adf_event_get(struct adf_obj *obj, enum adf_event_type type) argument 244 adf_event_put(struct adf_obj *obj, enum adf_event_type type) argument 458 adf_obj_init(struct adf_obj *obj, enum adf_obj_type type, struct idr *idr, struct adf_device *parent, const struct adf_obj_ops *ops, const char *fmt, va_list args) argument 645 adf_interface_init(struct adf_interface *intf, struct adf_device *dev, enum adf_interface_type type, u32 idx, u32 flags, const struct adf_interface_ops *ops, const char *fmt, ...) argument 937 adf_obj_type_str(enum adf_obj_type type) argument 1001 adf_event_type_str(struct adf_obj *obj, enum adf_event_type type) argument [all...] |
/drivers/pci/ |
H A D | access.c | 28 #define PCI_OP_READ(size,type,len) \ 30 (struct pci_bus *bus, unsigned int devfn, int pos, type *value) \ 38 *value = (type)data; \ 43 #define PCI_OP_WRITE(size,type,len) \ 45 (struct pci_bus *bus, unsigned int devfn, int pos, type value) \ 147 #define PCI_USER_READ_CONFIG(size,type) \ 149 (struct pci_dev *dev, int pos, type *val) \ 159 pos, sizeof(type), &data); \ 161 *val = (type)data; \ 167 #define PCI_USER_WRITE_CONFIG(size,type) \ 449 int type = pci_pcie_type(dev); local 462 int type = pci_pcie_type(dev); local 471 int type = pci_pcie_type(dev); local [all...] |
/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_gram.y | 218 %type <sym_ref> reg_symbol address destination source opt_source 220 %type <expression> expression immediate immediate_or_a 222 %type <value> export ret f1_opcode f2_opcode jmp_jc_jnc_call jz_jnz je_jne 224 %type <value> mode_value mode_list macro_arglist 317 if ($1->type != UNINITIALIZED) { 322 cur_symbol->type = cur_symtype; 341 if (cur_symbol->type != REGISTER) { 457 if (symbol->type != CONST) { 539 if ($2->type != UNINITIALIZED) { 544 $2->type [all...] |
/drivers/input/joystick/ |
H A D | guillemot.c | 71 struct guillemot_type *type; member in struct:guillemot 135 for (i = 0; i < 6 && guillemot->type->abs[i] >= 0; i++) 136 input_report_abs(dev, guillemot->type->abs[i], data[i + 5]); 138 if (guillemot->type->hat) { 143 for (i = 0; i < 16 && guillemot->type->btn[i] >= 0; i++) 144 input_report_key(dev, guillemot->type->btn[i], (data[2 + (i >> 3)] >> (i & 7)) & 1); 223 guillemot->type = guillemot_type + i; 240 for (i = 0; (t = guillemot->type->abs[i]) >= 0; i++) 243 if (guillemot->type->hat) { 248 for (i = 0; (t = guillemot->type [all...] |