Searched refs:serial (Results 76 - 100 of 484) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/cisco/enic/
H A Dvnic_resource.h59 char serial[16]; /* card serial number */ member in struct:mgmt_barmap_hdr
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_lookup_key.c21 extern struct bpf_key *bpf_lookup_user_key(__u32 serial, __u64 flags) __ksym;
/linux-master/drivers/usb/serial/
H A Dcypress_m8.c10 * See Documentation/usb/usb-serial.rst for more information on using this
34 #include <linux/usb/serial.h>
35 #include <linux/serial.h>
114 /* function prototypes for the Cypress USB to serial device */
225 * Cypress serial helper functions
244 if (is_frwd(port->serial->dev))
256 if (port->serial->dev->speed == USB_SPEED_LOW) {
290 /* This function can either set or retrieve the current serial line settings */
345 retval = usb_control_msg(port->serial->dev,
346 usb_sndctrlpipe(port->serial
443 struct usb_serial *serial = port->serial; local
504 struct usb_serial *serial = port->serial; local
581 struct usb_serial *serial = port->serial; local
[all...]
H A Dbelkin_sa.c10 * and associated source files. Please see the usb/serial files for
13 * See Documentation/usb/usb-serial.rst for more information on using this
32 #include <linux/usb/serial.h>
66 /* All of the device info needed for the serial converters */
108 /* assumes that struct usb_serial *serial is available */
109 #define BSA_USB_CMD(c, v) usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), \
115 struct usb_device *dev = port->serial->dev;
280 struct usb_serial *serial = port->serial; local
405 struct usb_serial *serial = port->serial; local
435 struct usb_serial *serial = port->serial; local
[all...]
H A Dssu100.c3 * usb-serial driver for Quatech SSU-100
15 #include <linux/serial.h>
17 #include <linux/usb/serial.h>
220 struct usb_device *dev = port->serial->dev;
280 struct usb_device *dev = port->serial->dev;
320 static int ssu100_attach(struct usb_serial *serial) argument
322 return ssu100_initdevice(serial->dev);
351 struct usb_device *dev = port->serial->dev;
383 struct usb_device *dev = port->serial->dev;
390 struct usb_device *dev = port->serial
[all...]
H A Dkl5kusb105.c44 #include <linux/usb/serial.h>
128 rc = usb_control_msg_send(port->serial->dev,
161 rc = usb_control_msg_recv(port->serial->dev, 0,
258 rc = usb_control_msg(port->serial->dev,
259 usb_sndctrlpipe(port->serial->dev, 0),
289 usb_control_msg(port->serial->dev,
290 usb_sndctrlpipe(port->serial->dev, 0),
308 rc = usb_control_msg(port->serial->dev,
309 usb_sndctrlpipe(port->serial->dev, 0),
H A DMakefile3 # Makefile for the USB serial device drivers.
10 usbserial-y := usb-serial.o generic.o bus.o
54 obj-$(CONFIG_USB_SERIAL_SIMPLE) += usb-serial-simple.o
62 obj-$(CONFIG_USB_SERIAL_WISHBONE) += wishbone-serial.o
H A Domninet.c7 * See Documentation/usb/usb-serial.rst for more information on using this
22 #include <linux/usb/serial.h>
37 static int omninet_calc_num_ports(struct usb_serial *serial,
103 static int omninet_calc_num_ports(struct usb_serial *serial, argument
H A Dgeneric.c19 #include <linux/usb/serial.h>
22 #include <linux/serial.h>
37 static int usb_serial_generic_probe(struct usb_serial *serial, argument
40 struct device *dev = &serial->interface->dev;
42 dev_info(dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n");
48 static int usb_serial_generic_calc_num_ports(struct usb_serial *serial, argument
51 struct device *dev = &serial->interface->dev;
147 * @port: usb-serial port
176 count = port->serial->type->prepare_write_buffer(port,
206 * @port: usb-serial por
632 usb_serial_generic_resume(struct usb_serial *serial) argument
[all...]
/linux-master/arch/arc/kernel/
H A Ddevtree.c15 #include <asm/serial.h>
/linux-master/arch/mips/boot/compressed/
H A Duart-16550.c3 * 16550 compatible uart based serial debug support for zboot
28 #error please define the serial port address for your own machine
/linux-master/arch/arm/include/debug/
H A Dpl01x.S9 #include <linux/amba/serial.h>
/linux-master/net/rxrpc/
H A Dprotocol.h12 typedef u32 rxrpc_serial_t; /* Rx message serial number */
14 typedef __be32 rxrpc_serial_net_t; /* on-the-wire Rx message serial number */
34 __be32 serial; /* serial number of pkt sent to network */ member in struct:rxrpc_wire_header
74 * - new_serial = serial + 1
108 __be16 maxSkew; /* diff between serno being ACK'd and highest serial no
112 __be32 serial; /* serial no of packet that prompted this ACK */ member in struct:rxrpc_ackpacket
H A Dconn_event.c94 u32 serial, mtu, call_id, padding; local
128 serial = rxrpc_get_next_serial(conn);
133 pkt.whdr.serial = htonl(serial);
158 pkt.ack.serial = htonl(skb ? sp->hdr.serial : 0);
171 trace_rxrpc_tx_ack(chan->call_debug_id, serial,
173 ntohl(pkt.ack.serial),
184 trace_rxrpc_tx_fail(chan->call_debug_id, serial, ret,
239 _enter("{%d},{%u,%%%u},", conn->debug_id, sp->hdr.type, sp->hdr.serial);
[all...]
H A Dinput.c315 static void rxrpc_end_rx_phase(struct rxrpc_call *call, rxrpc_serial_t serial) argument
325 rxrpc_propose_delay_ACK(call, serial, rxrpc_propose_ack_terminal_ack);
332 rxrpc_propose_delay_ACK(call, serial, rxrpc_propose_ack_processing_op);
359 trace_rxrpc_receive(call, last ? why + 1 : why, sp->hdr.serial, sp->hdr.seq);
361 rxrpc_end_rx_phase(call, sp->hdr.serial);
372 rxrpc_serial_t serial = sp->hdr.serial; local
403 trace_rxrpc_rx_data(call->debug_id, seq, serial, sp->hdr.flags);
496 sp->hdr.serial, sp->hdr.seq);
501 rxrpc_send_ACK(call, ack_reason, serial,
569 rxrpc_serial_t serial = sp->hdr.serial; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_fru_eeprom.c133 sprintf(fru_info->serial, "%llx", adev->unique_id);
239 memcpy(fru_info->serial, pia + addr + 1,
240 min_t(size_t, sizeof(fru_info->serial), pia[addr] & 0x3F));
241 fru_info->serial[sizeof(fru_info->serial) - 1] = '\0';
306 * The amdgpu driver provides a sysfs API for reporting the serial number
308 * The file serial_number is used for this and returns the serial number
320 return sysfs_emit(buf, "%s\n", adev->fru_info->serial);
/linux-master/security/keys/
H A Dproc.c86 if (id < key->serial) {
87 if (!minkey || minkey->serial > key->serial)
90 } else if (id > key->serial) {
125 *_pos = key->serial;
132 return key->serial;
227 key->serial,
H A Drequest_key_auth.c138 kenter("{%d}", key->serial);
150 kenter("{%d}", key->serial);
171 kenter("%d,", target->serial);
214 sprintf(desc, "%x", target->serial);
230 kleave(" = {%d,%d}", authkey->serial, refcount_read(&authkey->usage));
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_engine_heartbeat.c81 engine->wakeref_serial = READ_ONCE(engine->serial) + 1;
143 unsigned long serial; local
209 serial = READ_ONCE(engine->serial);
210 if (engine->wakeref_serial == serial)
215 if (xchg(&engine->heartbeat.blocked, serial) == serial)
/linux-master/drivers/parport/
H A Dparport_serial.c10 * parallel ports and serial ports. This driver is for dealing with
110 * and serial ports. The form is 0x00PS, where <P> is the number of
111 * parallel ports and <S> is the number of serial ports.
325 * This table describes the serial "geometry" of these boards. Any
326 * quirks for these can be found in drivers/serial/8250_pci.c
612 struct serial_private *serial; member in struct:parport_serial_private
618 /* Register the serial port(s) of a PCI card. */
623 struct serial_private *serial; local
629 serial = pciserial_init_ports(dev, board);
630 if (IS_ERR(serial))
[all...]
/linux-master/drivers/char/
H A Dapplicom.c309 int serial; local
315 for (serial = 0; serial < SERIAL_NUMBER - TYPE_CARD; serial++)
316 boardname[serial] = readb(apbs[i].RamIO + TYPE_CARD + serial);
318 boardname[serial] = 0;
326 serial = (readb(apbs[i].RamIO + SERIAL_NUMBER) << 16) +
330 if (serial != 0)
331 printk(" S/N %d\n", serial);
796 int serial; local
[all...]
/linux-master/drivers/cxl/core/
H A Dtrace.h57 __field(u64, serial)
65 __entry->serial = cxlmd->cxlds->serial;
74 TP_printk("memdev=%s host=%s serial=%lld: status: '%s' first_error: '%s'",
75 __get_str(memdev), __get_str(host), __entry->serial,
105 __field(u64, serial)
111 __entry->serial = cxlmd->cxlds->serial;
114 TP_printk("memdev=%s host=%s serial=%lld: status: '%s'",
115 __get_str(memdev), __get_str(host), __entry->serial,
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_port.c37 const u8 *serial; local
43 ppid->id_len = nfp_cpp_serial(port->app->cpp, &serial);
44 memcpy(&ppid->id, serial, ppid->id_len);
/linux-master/drivers/tty/
H A DMakefile15 obj-y += serial/
/linux-master/drivers/net/wireless/ath/ath9k/
H A Drng.c97 static atomic_t serial = ATOMIC_INIT(0); local
107 (atomic_inc_return(&serial) - 1) & U16_MAX);

Completed in 196 milliseconds

1234567891011>>