/drivers/media/dvb/siano/ |
H A D | smsir.h | 43 u64 protocol; member in struct:ir_t
|
/drivers/usb/otg/ |
H A D | otg_fsm.c | 34 /* Change USB protocol when there is a protocol change */ 35 static int otg_set_protocol(struct otg_fsm *fsm, int protocol) argument 39 if (fsm->protocol != protocol) { 40 VDBG("Changing role fsm->protocol= %d; new protocol= %d\n", 41 fsm->protocol, protocol); 42 /* stop old protocol */ [all...] |
H A D | otg_fsm.h | 87 /* Current usb protocol used: 0:undefine; 1:host; 2:client */ 88 int protocol; member in struct:otg_fsm
|
/drivers/isdn/hisax/ |
H A D | st5481_init.c | 37 static int protocol = 2; /* EURO-ISDN Default */ variable 38 module_param(protocol, int, 0); 108 protocol) != 0)
|
H A D | elsa_cs.c | 63 static int protocol = 2; /* EURO-ISDN Default */ variable 64 module_param(protocol, int, 0); 152 icard.protocol = protocol;
|
H A D | sedlbauer_cs.c | 63 static int protocol = 2; /* EURO-ISDN Default */ variable 64 module_param(protocol, int, 0); 134 icard.protocol = protocol;
|
H A D | teles_cs.c | 44 static int protocol = 2; /* EURO-ISDN Default */ variable 45 module_param(protocol, int, 0); 132 icard.protocol = protocol;
|
H A D | hisax_cfg.h | 58 int protocol; /* EDSS1, 1TR6 or NI1 */ member in struct:IsdnCard
|
H A D | tei.c | 421 init_tei(struct IsdnCardState *cs, int protocol) argument
|
/drivers/net/ppp/ |
H A D | pppox.c | 106 static int pppox_create(struct net *net, struct socket *sock, int protocol, argument 111 if (protocol < 0 || protocol > PX_MAX_PROTO) 115 if (!pppox_protos[protocol]) 116 request_module("pppox-proto-%d", protocol); 117 if (!pppox_protos[protocol] || 118 !try_module_get(pppox_protos[protocol]->owner)) 121 rc = pppox_protos[protocol]->create(net, sock); 123 module_put(pppox_protos[protocol]->owner);
|
/drivers/isdn/sc/ |
H A D | command.c | 58 * Translates ISDN4Linux protocol codes to strings for debug messages 233 * Set the layer 2 protocol (X.25, HDLC, Raw) 238 int protocol,channel; local 244 protocol = arg >> 8; 246 sc_adapter[card]->channel[channel].l2_proto = protocol; 249 * check that the adapter is also set to the correct protocol 258 (unsigned int *) protocol); 265 * Set the layer 3 protocol 269 int protocol = channel >> 8; local 276 sc_adapter[card]->channel[channel].l3_proto = protocol; [all...] |
/drivers/net/wimax/i2400m/ |
H A D | netdev.c | 443 * protocol. 447 void *_eth_hdr, __be16 protocol) 455 eth_hdr->h_proto = protocol; 492 * we got was an IPv4 or IPv6 header, to setup the protocol field 525 skb->protocol = htons(ETH_P_IP); 565 int protocol; local 572 protocol = ETH_P_IP; 578 skb->protocol = htons(ETH_P_IP); 446 i2400m_rx_fake_eth_header(struct net_device *net_dev, void *_eth_hdr, __be16 protocol) argument
|
/drivers/pnp/ |
H A D | core.c | 2 * core.c - contains all core device and protocol registration functions 45 * pnp_protocol_register - adds a pnp protocol to the pnp layer 46 * @protocol: pointer to the corresponding pnp_protocol structure 50 int pnp_register_protocol(struct pnp_protocol *protocol) argument 55 INIT_LIST_HEAD(&protocol->devices); 56 INIT_LIST_HEAD(&protocol->cards); 69 list_add_tail(&protocol->protocol_list, &pnp_protocols); 72 protocol->number = nodenum; 73 dev_set_name(&protocol->dev, "pnp%d", nodenum); 74 return device_register(&protocol 81 pnp_unregister_protocol(struct pnp_protocol *protocol) argument 127 pnp_alloc_dev(struct pnp_protocol *protocol, int id, const char *pnpid) argument [all...] |
H A D | card.c | 155 struct pnp_card *pnp_alloc_card(struct pnp_protocol *protocol, int id, char *pnpid) argument 164 card->protocol = protocol; 167 card->dev.parent = &card->protocol->dev; 168 dev_set_name(&card->dev, "%02x:%02x", card->protocol->number, card->number); 248 list_add_tail(&card->protocol_list, &card->protocol->cards); 298 dev->protocol->number, card->number, dev->number);
|
/drivers/block/paride/ |
H A D | paride.c | 215 printk("paride: %s protocol already registered\n", 223 printk("paride: protocol table full\n"); 228 printk("paride: %s registered as protocol %d\n", pr->name, k); 348 int unit, int protocol, int delay, char *scratch, 354 s = protocol; 347 pi_init(PIA * pi, int autoprobe, int port, int mode, int unit, int protocol, int delay, char *scratch, int devtype, int verbose, char *device) argument
|
/drivers/infiniband/ulp/srpt/ |
H A D | ib_dm_mad.h | 70 * protocol (RMPP) header and ib_dm_hdr. Notes: 110 __be16 protocol; member in struct:ib_dm_ioc_profile
|
/drivers/isdn/mISDN/ |
H A D | stack.c | 422 u_int protocol, struct sockaddr_mISDN *adr) 431 __func__, dev_name(&dev->dev), protocol, adr->dev, 433 switch (protocol) { 441 rq.protocol = protocol; 460 u_int protocol, struct sockaddr_mISDN *adr) 468 __func__, dev_name(&dev->dev), protocol, 472 pmask = 1 << (protocol & ISDN_P_B_MASK); 474 rq.protocol = protocol; 421 connect_layer1(struct mISDNdevice *dev, struct mISDNchannel *ch, u_int protocol, struct sockaddr_mISDN *adr) argument 459 connect_Bstack(struct mISDNdevice *dev, struct mISDNchannel *ch, u_int protocol, struct sockaddr_mISDN *adr) argument 516 create_l2entity(struct mISDNdevice *dev, struct mISDNchannel *ch, u_int protocol, struct sockaddr_mISDN *adr) argument [all...] |
H A D | socket.c | 400 di.protocol = dev->D.protocol; 562 _pms(sk)->ch.protocol = sk->sk_protocol; 611 data_sock_create(struct net *net, struct socket *sock, int protocol) argument 628 sk->sk_protocol = protocol; 684 di.protocol = dev->D.protocol; 766 base_sock_create(struct net *net, struct socket *sock, int protocol) argument 781 sk->sk_protocol = protocol;
|
/drivers/staging/usbip/userspace/libsrc/ |
H A D | usbip_common.c | 264 void usbip_names_get_class(char *buff, size_t size, uint8_t class, uint8_t subclass, uint8_t protocol) argument 268 if (class == 0 && subclass == 0 && protocol == 0) { 269 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); 273 p = names_protocol(class, subclass, protocol); 275 p = "unknown protocol"; 285 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol);
|
/drivers/acpi/ |
H A D | sbshc.c | 81 ACPI_SMB_PROTOCOL = 0, /* protocol, PEC */ 124 static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol, argument 143 if (!(protocol & 0x01)) { 149 smb_hc_write(hc, ACPI_SMB_PROTOCOL, protocol); 152 * and data into the return package (if required by the protocol). 155 if (ret || !(protocol & 0x01)) 157 switch (protocol) { 180 int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, argument 183 return acpi_smbus_transaction(hc, protocol, address, command, data, 0); 188 int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u argument [all...] |
/drivers/block/xen-blkback/ |
H A D | xenbus.c | 749 char protocol[64] = ""; local 764 err = xenbus_gather(XBT_NIL, dev->otherend, "protocol", 765 "%63s", protocol, NULL); 767 strcpy(protocol, "unspecified, assuming native"); 768 else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_NATIVE)) 770 else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_X86_32)) 772 else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_X86_64)) 775 xenbus_dev_fatal(dev, err, "unknown fe protocol %s", protocol); 778 pr_info(DRV_PFX "ring-ref %ld, event-channel %d, protocol [all...] |
/drivers/i2c/busses/ |
H A D | i2c-nforce2.c | 87 #define NVIDIA_SMB_PRTCL (smbus->base + 0x00) /* protocol, PEC */ 196 unsigned char protocol, pec; local 200 protocol = (read_write == I2C_SMBUS_READ) ? NVIDIA_SMB_PRTCL_READ : 207 protocol |= NVIDIA_SMB_PRTCL_QUICK; 214 protocol |= NVIDIA_SMB_PRTCL_BYTE; 221 protocol |= NVIDIA_SMB_PRTCL_BYTE_DATA; 230 protocol |= NVIDIA_SMB_PRTCL_WORD_DATA | pec; 249 protocol |= NVIDIA_SMB_PRTCL_BLOCK_DATA | pec; 258 outb_p(protocol, NVIDIA_SMB_PRTCL);
|
H A D | i2c-scmi.c | 87 unsigned char protocol; local 101 protocol = ACPI_SMBUS_PRTCL_QUICK; 112 protocol = ACPI_SMBUS_PRTCL_BYTE; 124 protocol = ACPI_SMBUS_PRTCL_BYTE_DATA; 134 protocol = ACPI_SMBUS_PRTCL_WORD_DATA; 144 protocol = ACPI_SMBUS_PRTCL_BLOCK_DATA; 162 protocol |= ACPI_SMBUS_PRTCL_READ; 166 protocol |= ACPI_SMBUS_PRTCL_WRITE; 173 mt_params[0].integer.value = protocol;
|
/drivers/ide/ |
H A D | ide-atapi.c | 39 u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; local 43 protocol = (gcw[1] & 0xC0) >> 6; 57 if (protocol != 2) 58 printk(KERN_ERR "%s: %s: protocol (0x%02x) is not ATAPI\n", 59 s, drive->name, protocol); 533 cmd->protocol = dma ? ATAPI_PROT_DMA : ATAPI_PROT_PIO;
|
/drivers/net/wan/ |
H A D | hdlc_cisco.c | 28 #define CISCO_KEEPALIVE 0x8035 /* Cisco keepalive protocol */ 38 __be16 protocol; member in struct:hdlc_header 90 data->protocol = htons(type); 141 switch (data->protocol) { 146 return data->protocol; 171 switch (ntohs(data->protocol)) { 246 } /* switch (protocol) */ 248 netdev_info(dev, "Unsupported protocol %x\n", ntohs(data->protocol)); 407 MODULE_DESCRIPTION("Cisco HDLC protocol suppor [all...] |