Searched refs:type (Results 176 - 200 of 13790) sorted by last modified time

1234567891011>>

/linux-master/drivers/usb/typec/tcpm/
H A Dtcpm.c550 * Each SOP* type must maintain their own tx and rx message IDs
743 enum pd_pdo_type type = pdo_type(pdo); local
746 switch (type) {
793 tcpm_log(port, " PDO %d: type %d, %s",
794 i, type, msg);
963 tcpm_log(port, "PD TX, type: %#x", tx_sop_type);
1201 * Return 0 if the PDO type is not defined in PD rev2.0.
1612 port->cable_desc.type = (enum typec_plug_type) (VDO_TYPEC_CABLE_TYPE(p[VDO_INDEX_CABLE_1]) +
1884 tcpm_log(port, "Rx VDM cmd 0x%x type %d cmd %d len %d",
2272 * For the cases of unknown type receive
2694 enum pd_pdo_type type = pdo_type(pdo[i]); local
2886 unsigned int type = usb_pd_ado_type(p0); local
3045 enum pd_data_msg_type type = pd_header_type_le(msg->header); local
3244 enum pd_ctrl_msg_type type = pd_header_type_le(msg->header); local
3524 enum pd_ext_msg_type type = pd_header_type_le(msg->header); local
3595 enum pd_ctrl_msg_type type = pd_header_type_le(msg->header); local
3670 tcpm_pd_send_control(struct tcpm_port *port, enum pd_ctrl_msg_type type, enum tcpm_transmit_type tx_sop_type) argument
3774 enum pd_pdo_type type; local
3848 enum pd_pdo_type type = pdo_type(pdo); local
3978 enum pd_pdo_type type; local
6792 tcpm_port_type_set(struct typec_port *p, enum typec_port_type type) argument
[all...]
/linux-master/drivers/usb/host/
H A Dxhci-trace.h85 ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1))
90 __entry->ctx_type = ctx->type;
96 ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1));
114 __field(u32, type)
121 __entry->type = ring->type;
127 TP_printk("%s: %s", xhci_ring_type_string(__entry->type),
264 __field(int, type)
279 __entry->type = usb_endpoint_type(&urb->ep->desc);
284 __print_symbolic(__entry->type,
[all...]
H A Dxhci-ring.c169 if (ring->type == TYPE_EVENT) {
253 if (!(ring->type == TYPE_ISOC &&
615 * and possbile stream context type.
1531 xhci_warn(xhci, "Could not get input context, bad type.\n");
1804 xhci_info(xhci, "INFO unknown command type %d\n", cmd_type);
1826 xhci_dbg(xhci, "Vendor specific event TRB type = %u\n", trb_type);
2650 * transfer type
3011 xhci_warn(xhci, "ERROR unknown event type %d\n", trb_type);
3273 !(ep_ring->type == TYPE_ISOC &&
4434 u32 type local
4447 u32 type = TRB_TYPE(TRB_RESET_EP); local
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_fs.c518 events[i].type = ffs->ev.types[i];
519 if (events[i].type == FUNCTIONFS_SETUP) {
2479 /* At least two bytes are required: length and type */
2495 #define __entity(type, val) do { \
2496 pr_vdebug("entity " #type "(%02x)\n", (val)); \
2497 if (!__entity_check_ ##type(val)) { \
2501 ret = entity(FFS_ ##type, &val, _ds, priv); \
2503 pr_debug("entity " #type "(%02x); ret = %d\n", \
2509 /* Parse descriptor depending on type. */
2647 static int __ffs_data_do_entity(enum ffs_entity_type type, argument
2728 ffs_do_single_os_desc(char *data, unsigned len, enum ffs_os_desc_type type, u16 feature_count, ffs_os_desc_callback entity, void *priv, struct usb_os_desc_header *h) argument
2761 enum ffs_os_desc_type type; local
2814 __ffs_data_do_os_desc(enum ffs_os_desc_type type, struct usb_os_desc_header *h, void *data, unsigned len, void *priv) argument
2848 u32 type, pdl; local
3153 __ffs_event_add(struct ffs_data *ffs, enum usb_functionfs_event_type type) argument
3220 ffs_event_add(struct ffs_data *ffs, enum usb_functionfs_event_type type) argument
3241 __ffs_func_bind_do_descs(enum ffs_entity_type type, u8 *valuep, struct usb_descriptor_header *desc, void *priv) argument
3341 __ffs_func_bind_do_nums(enum ffs_entity_type type, u8 *valuep, struct usb_descriptor_header *desc, void *priv) argument
3396 __ffs_func_bind_do_os_desc(enum ffs_os_desc_type type, struct usb_os_desc_header *h, void *data, unsigned len, void *priv) argument
[all...]
/linux-master/drivers/usb/dwc3/
H A Dep0.c37 dma_addr_t buf_dma, u32 len, u32 type, bool chain)
51 trb->ctrl = type;
1069 u32 type; local
1071 type = dwc->three_stage_setup ? DWC3_TRBCTL_CONTROL_STATUS3
1074 dwc3_ep0_prepare_one_trb(dep, dwc->ep0_trb_addr, 0, type, false);
36 dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep, dma_addr_t buf_dma, u32 len, u32 type, bool chain) argument
/linux-master/drivers/usb/core/
H A Dport.c757 port_dev->dev.type = &usb_port_device_type;
/linux-master/drivers/usb/class/
H A Dcdc-wdm.c926 /* Only register to WWAN core if protocol/type is known */
1018 u16 bufsize, enum wwan_port_type type,
1036 desc->wwanp_type = type;
1176 * @type: Type/protocol of the transported data (MBIM, QMI...)
1194 int bufsize, enum wwan_port_type type,
1199 rv = wdm_create(intf, ep, bufsize, type, manage_power);
1017 wdm_create(struct usb_interface *intf, struct usb_endpoint_descriptor *ep, u16 bufsize, enum wwan_port_type type, int (*manage_power)(struct usb_interface *, int)) argument
1192 usb_cdc_wdm_register(struct usb_interface *intf, struct usb_endpoint_descriptor *ep, int bufsize, enum wwan_port_type type, int (*manage_power)(struct usb_interface *, int)) argument
/linux-master/drivers/tty/serial/
H A Dstm32-usart.c1410 return (port->type == PORT_STM32) ? DRIVER_NAME : NULL;
1425 port->type = PORT_STM32;
1500 .type = stm32_usart_type,
H A Dserial_core.c213 if (!tty || uport->type == PORT_UNKNOWN)
258 if (uport->type == PORT_UNKNOWN)
313 * port/irq/type and then reconfigure the port properly if it failed
800 retinfo->type = uport->type;
863 * Since changing the 'type' of the port changes its resource
864 * allocations, we should treat type changes the same as
873 new_info->type != uport->type);
925 * port/type/ir
[all...]
H A Dpmac_zilog.c1328 .type = pmz_type,
1369 * Detect port type
1418 uap->port.type = PORT_PMAC_ZILOG;
1639 uap->port.type = PORT_PMAC_ZILOG;
H A Dmxs-auart.c687 if (u->type != PORT_UNKNOWN && u->type != PORT_IMX)
1294 .type = mxs_auart_type,
1633 s->port.type = PORT_IMX;
/linux-master/drivers/tty/serial/8250/
H A D8250_pci.c3 * Probe module for 8250/16550-type PCI serial ports.
575 unsigned int type = dev->device & 0xff00; local
577 if (type == 0x1000)
579 if (type == 0x2000)
963 int ret, i, type; local
993 /* start of undocumented type checking (see parport_pc.c) */
994 type = inb(iobase->start + 0x18) & 0x0f;
996 switch (type) {
1521 pci_err(dev, "unknown port type '0x%04X'.\n", dev->device);
1581 port->port.type
[all...]
H A D8250_dw.c118 if (p->type == PORT_OCTEON)
454 p->type = PORT_OCTEON;
506 p->type = PORT_8250;
H A D8250_lpc18xx.c144 uart.port.type = PORT_16550A;
/linux-master/drivers/thunderbolt/
H A Dtb.h623 return port && port->port && port->config.type == TB_TYPE_PORT;
628 return port && port->config.type == TB_TYPE_NHI;
633 return port && port->config.type == TB_TYPE_PCIE_DOWN;
638 return port && port->config.type == TB_TYPE_PCIE_UP;
643 return port && port->config.type == TB_TYPE_DP_HDMI_IN;
648 return port && port->config.type == TB_TYPE_DP_HDMI_OUT;
653 return port && port->config.type == TB_TYPE_USB3_DOWN;
658 return port && port->config.type == TB_TYPE_USB3_UP;
836 enum tb_port_type type);
867 return dev->type
[all...]
H A Dtb.c340 switch (port->config.type) {
414 * @type: Port type to look for
417 enum tb_port_type type)
424 if (port->config.type != type)
446 static struct tb_tunnel *tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, argument
454 if (tunnel->type == type &&
1243 if (port->config.type !
416 tb_find_unused_port(struct tb_switch *sw, enum tb_port_type type) argument
2726 tb_handle_event(struct tb *tb, enum tb_cfg_pkg_type type, const void *buf, size_t size) argument
[all...]
H A Dswitch.c417 switch (port->type >> 16) {
419 switch ((u8) port->type) {
452 regs->type);
717 if (port->config.type == TB_TYPE_PORT) {
1309 switch (port->config.type) {
2272 const char *type; local
2281 type = "host";
2295 type = hub ? "hub" : "device";
2298 if (add_uevent_var(env, "USB4_TYPE=%s", type))
2504 sw->dev.type
3793 tb_switch_find_port(struct tb_switch *sw, enum tb_port_type type) argument
[all...]
/linux-master/drivers/comedi/drivers/
H A Dvmk80xx.c706 s->type = COMEDI_SUBD_AI;
715 s->type = COMEDI_SUBD_AO;
728 s->type = COMEDI_SUBD_DI;
737 s->type = COMEDI_SUBD_DO;
746 s->type = COMEDI_SUBD_COUNTER;
760 s->type = COMEDI_SUBD_PWM;
/linux-master/drivers/android/
H A Dbinder.c191 static inline void binder_stats_deleted(enum binder_stat_types type) argument
193 atomic_inc(&binder_stats.obj_deleted[type]);
196 static inline void binder_stats_created(enum binder_stat_types type) argument
198 atomic_inc(&binder_stats.obj_created[type]);
776 node->work.type = BINDER_WORK_NODE;
1726 switch (hdr->type) {
1796 if (!object_size || object->hdr.type != BINDER_TYPE_PTR)
1985 switch (hdr->type) {
2001 binder_dec_node(node, hdr->type == BINDER_TYPE_BINDER,
2013 hdr->type
[all...]
/linux-master/drivers/accessibility/speakup/
H A Dmain.c1328 static int edit_bits(struct vc_data *vc, u_char type, u_char ch, u_short key) argument
1332 if (type != KT_LATIN || (ch_type & B_NUM) || ch < SPACE)
1950 static int handle_goto(struct vc_data *vc, u_char type, u_char ch, u_short key) argument
1958 if (type == KT_SPKUP && ch == SPEAKUP_GOTO)
1960 if (type == KT_LATIN && ch == '\n')
1962 if (type != 0)
2114 u_char type = KTYP(keysym), value = KVAL(keysym), new_key = 0; local
2123 if (type >= 0xf0)
2124 type -= 0xf0;
2125 if (type
2270 unsigned char type = KTYP(param->value) - 0xf0; local
[all...]
/linux-master/block/
H A Dioctl.c316 return ops->pr_reserve(bdev, rsv.key, rsv.type, rsv.flags);
334 return ops->pr_release(bdev, rsv.key, rsv.type);
352 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort);
H A Dblk-iocost.c15 * depending on the type and specifics of the device, different IO patterns
195 #define TRACE_IOCG_PATH(type, iocg, ...) \
198 if (trace_iocost_##type##_enabled()) { \
202 trace_iocost_##type(iocg, trace_iocg_path, \
209 #define TRACE_IOCG_PATH(type, iocg, ...) do { } while (0)
/linux-master/arch/x86/kvm/
H A Dx86.c1793 bool kvm_msr_allowed(struct kvm_vcpu *vcpu, u32 index, u32 type) argument
1823 if ((index >= start) && (index < end) && (flags & type)) {
4450 * type 6, model 8 and higher from exploding due to
4630 static bool kvm_is_vm_type_supported(unsigned long type) argument
4632 return type == KVM_X86_DEFAULT_VM ||
4633 (type == KVM_X86_SW_PROTECTED_VM &&
8368 desc->type = var.type;
8395 var.type = desc->type;
8930 kvm_vcpu_check_hw_bp(unsigned long addr, u32 type, u32 dr7, unsigned long *db) argument
12526 kvm_arch_init_vm(struct kvm *kvm, unsigned long type) argument
13615 kvm_handle_invpcid(struct kvm_vcpu *vcpu, unsigned long type, gva_t gva) argument
[all...]
/linux-master/arch/x86/kvm/vmx/
H A Dvmx.h420 void vmx_disable_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, int type);
421 void vmx_enable_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, int type);
429 int type, bool value)
432 vmx_enable_intercept_for_msr(vcpu, msr, type);
434 vmx_disable_intercept_for_msr(vcpu, msr, type);
428 vmx_set_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, int type, bool value) argument
H A Dvmx.c2706 /* Require Write-Back (WB) memory type for VMCS accesses. */
3036 var.type = 0x3;
3048 var.type = 0x3;
3509 var->type = ar & 15;
3553 ar = var->type & 15;
3598 var->type |= 0x1; /* Accessed */
3650 var.type = 0x3;
3673 if (~cs.type & (VMX_AR_TYPE_CODE_MASK|VMX_AR_TYPE_ACCESSES_MASK))
3677 if (cs.type & VMX_AR_TYPE_WRITEABLE_MASK) {
3701 if (ss.type !
3956 vmx_disable_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, int type) argument
3998 vmx_enable_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, int type) argument
5685 int reason, type, idt_v, idt_index; local
5940 unsigned long type; local
7086 int type; local
[all...]

Completed in 420 milliseconds

1234567891011>>