Searched refs:protocol (Results 1 - 25 of 561) sorted by relevance

1234567891011>>

/drivers/net/ppp/
H A Dpppox.c106 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/pnp/
H A Dcore.c2 * 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...]
/drivers/misc/ti-st/
H A DKconfig2 # TI's shared transport line discipline and the protocol
12 BT / FM and GPS combo chips. This enables protocol drivers
14 are returned to relevant protocol drivers based on their
/drivers/acpi/
H A Dsbshc.h27 extern int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address,
29 extern int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 slave_address,
H A Dsbshc.c81 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/media/dvb/siano/
H A Dsmsir.h43 u64 protocol; member in struct:ir_t
/drivers/block/paride/
H A DKconfig20 must also have at least one parallel port protocol driver in your
34 must also have at least one parallel port protocol driver in your
50 You must also have at least one parallel port protocol driver in
64 You must also have at least one parallel port protocol driver in
82 You must also have at least one parallel port protocol driver in
92 comment "Parallel IDE protocol modules"
96 tristate "ATEN EH-100 protocol"
100 protocol. This protocol is used in some inexpensive low performance
103 protocol drive
[all...]
/drivers/usb/otg/
H A Dotg_fsm.c34 /* 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...]
/drivers/memstick/
H A DKconfig8 Sony MemoryStick is a proprietary storage/extension card protocol.
/drivers/staging/wlags49_h2/
H A Dwl_version.h167 (skb)->protocol = eth_type_trans((skb), (dev))
171 (skb)->protocol = eth_type_trans((skb), (dev))
/drivers/isdn/mISDN/
H A Dstack.c422 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...]
/drivers/isdn/hisax/
H A Delsa_cs.c62 static int protocol = 2; /* EURO-ISDN Default */ variable
63 module_param(protocol, int, 0);
151 icard.protocol = protocol;
H A Dhisax_cfg.h58 int protocol; /* EDSS1, 1TR6 or NI1 */ member in struct:IsdnCard
H A Dhisax_if.h3 * HiSax protocol stack
63 char *name, int protocol);
H A Dsedlbauer_cs.c62 static int protocol = 2; /* EURO-ISDN Default */ variable
63 module_param(protocol, int, 0);
133 icard.protocol = protocol;
H A Dteles_cs.c43 static int protocol = 2; /* EURO-ISDN Default */ variable
44 module_param(protocol, int, 0);
131 icard.protocol = protocol;
H A Dst5481_init.c37 static int protocol = 2; /* EURO-ISDN Default */ variable
38 module_param(protocol, int, 0);
108 protocol) != 0)
/drivers/i2c/busses/
H A Di2c-amd8111.c154 #define AMD_SMB_PRTCL 0x00 /* protocol, PEC */
198 unsigned char protocol, len, pec, temp[2]; local
201 protocol = (read_write == I2C_SMBUS_READ) ? AMD_SMB_PRTCL_READ
207 protocol |= AMD_SMB_PRTCL_QUICK;
218 protocol |= AMD_SMB_PRTCL_BYTE;
231 protocol |= AMD_SMB_PRTCL_BYTE_DATA;
248 protocol |= AMD_SMB_PRTCL_WORD_DATA | pec;
269 protocol |= AMD_SMB_PRTCL_BLOCK_DATA | pec;
289 protocol |= AMD_SMB_PRTCL_I2C_BLOCK_DATA;
304 protocol
[all...]
H A Di2c-scmi.c87 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;
H A Di2c-nforce2.c87 #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);
/drivers/isdn/sc/
H A Dcommand.c58 * 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/usb/class/
H A Dusblp.c85 * [0]=current protocol (1=7/1/1, 2=7/1/2, 3=7/1/3),
86 * [1]=supported protocol mask (mask&(1<<n)!=0 means 7/1/n supported): */
88 /* Set protocol (arg: 1=7/1/1, 2=7/1/2, 3=7/1/3): */
150 /* Alternate-setting numbers and endpoints for each protocol
156 } protocol[USBLP_MAX_PROTOCOLS]; member in struct:usblp
184 dbg("protocol[%d].alt_setting=%d", p, usblp->protocol[p].alt_setting);
185 dbg("protocol[%d].epwrite=%p", p, usblp->protocol[p].epwrite);
186 dbg("protocol[
1079 int protocol; local
1286 usblp_set_protocol(struct usblp *usblp, int protocol) argument
[all...]
/drivers/staging/usbip/userspace/libsrc/
H A Dusbip_common.c264 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/tty/ipwireless/
H A Dhardware.c116 /* Identifier for the Com Data protocol */
119 /* Identifier for the Com Control protocol */
122 /* Identifier for the Setup protocol */
135 unsigned char protocol:3; member in struct:nl_first_packet_header
143 unsigned char protocol:3; member in struct:nl_packet_header
298 unsigned char protocol; member in struct:ipw_tx_packet
338 unsigned int protocol; member in struct:ipw_rx_packet
350 switch (hdr->protocol) {
477 pkt.hdr_first.protocol = packet->protocol;
618 queue_received_packet(struct ipw_hardware *hw, unsigned int protocol, unsigned int address, const unsigned char *data, int length, int is_last) argument
814 unsigned int protocol = packet->hdr.protocol; local
1250 alloc_data_packet(int data_size, unsigned char dest_addr, unsigned char protocol) argument
1269 alloc_ctrl_packet(int header_size, unsigned char dest_addr, unsigned char protocol, unsigned char sig_no) argument
[all...]
/drivers/net/plip/
H A DKconfig32 protocol has been changed and this PLIP driver won't work together

Completed in 652 milliseconds

1234567891011>>