Searched refs:record (Results 1 - 23 of 23) sorted by relevance

/drivers/usb/misc/
H A Dezusb.c79 const struct ihex_binrec *record; local
93 record = (const struct ihex_binrec *)firmware->data;
94 for (; record; record = ihex_next_binrec(record)) {
95 if (be32_to_cpu(record->addr) > fx.max_internal_adress) {
96 ret = ezusb_writememory(dev, be32_to_cpu(record->addr),
97 (unsigned char *)record->data,
98 be16_to_cpu(record->len), WRITE_EXT_RAM);
103 be32_to_cpu(record
[all...]
/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c276 struct ib_event *record)
281 if (record->element.port_num != priv->port)
284 ipoib_dbg(priv, "Event %d on device %s port %d\n", record->event,
285 record->device->name, record->element.port_num);
287 if (record->event == IB_EVENT_SM_CHANGE ||
288 record->event == IB_EVENT_CLIENT_REREGISTER) {
290 } else if (record->event == IB_EVENT_PORT_ERR ||
291 record->event == IB_EVENT_PORT_ACTIVE ||
292 record
275 ipoib_event(struct ib_event_handler *handler, struct ib_event *record) argument
[all...]
H A Dipoib.h524 struct ib_event *record);
/drivers/fmc/
H A Dfmc-sdb.c51 arr->record = kzalloc(sizeof(arr->record[0]) * n, GFP_KERNEL);
53 if (!arr->record || !arr->subtree) {
54 kfree(arr->record);
66 for (j = 0; j < sizeof(arr->record[0]); j += 4) {
67 *(uint32_t *)((void *)(arr->record + i) + j) =
70 r = &arr->record[i];
116 kfree(arr->record);
179 r = &arr->record[i];
265 r = &tree->record[
[all...]
H A Dfmc-dump.c95 line = (void *)fmc->sdb->record;
/drivers/net/ethernet/intel/igb/
H A De1000_i210.c353 /* Get record type */
465 u32 *record = NULL; local
483 record = &buffer[invm_blocks - i];
487 if ((i == 1) && ((*record & E1000_INVM_VER_FIELD_ONE) == 0)) {
494 ((*record & E1000_INVM_VER_FIELD_TWO) == 0)) {
495 version = (*record & E1000_INVM_VER_FIELD_ONE) >> 3;
502 else if ((((*record & E1000_INVM_VER_FIELD_ONE) == 0) &&
503 ((*record & 0x3) == 0)) || (((*record & 0x3) != 0) &&
513 else if (((*record
[all...]
/drivers/pci/
H A Dpci-acpi.c35 static acpi_status decode_type0_hpx_record(union acpi_object *record, argument
39 union acpi_object *fields = record->package.elements;
44 if (record->package.count != 6)
58 "%s: Type 0 Revision %d record not supported\n",
65 static acpi_status decode_type1_hpx_record(union acpi_object *record, argument
69 union acpi_object *fields = record->package.elements;
74 if (record->package.count != 5)
87 "%s: Type 1 Revision %d record not supported\n",
94 static acpi_status decode_type2_hpx_record(union acpi_object *record, argument
98 union acpi_object *fields = record
140 union acpi_object *package, *record, *fields; local
[all...]
/drivers/net/wireless/ath/ath10k/
H A Dhtc.c261 struct ath10k_htc_record *record; local
270 record = (struct ath10k_htc_record *)buffer;
272 if (length < sizeof(record->hdr)) {
277 if (record->hdr.len > length) {
278 /* no room left in buffer for record */
279 ath10k_warn(ar, "Invalid record length: %d\n",
280 record->hdr.len);
285 switch (record->hdr.id) {
288 if (record->hdr.len < len) {
294 record
[all...]
/drivers/gpu/drm/nouveau/core/subdev/fb/
H A Dbase.c41 u8 record = nv_ro08(bios, table + 2); local
44 u16 entry = table + header + (ramcfg * record);
/drivers/acpi/apei/
H A Derst.c514 /* record id already in cache, try next */
526 pr_warn(FW_WARN "too many record IDs!\n");
552 * Get the record ID of an existing error record on the persistent
553 * storage. If there is no error record on the persistent storage, the
573 /* found next record id in cache */
580 /* Try to add one more record ID to cache */
765 static int __erst_write_to_nvram(const struct cper_record_header *record) argument
783 int erst_write(const struct cper_record_header *record) argument
792 if (memcmp(record
836 __erst_read(u64 record_id, struct cper_record_header *record, size_t buflen) argument
859 erst_read(u64 record_id, struct cper_record_header *record, size_t buflen) argument
[all...]
/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c858 struct htc_record_hdr *record; local
873 record = (struct htc_record_hdr *) buffer;
877 if (record->len > len) {
878 /* no room left in buffer for record */
881 record->len, record->rec_id, len);
886 /* start of record follows the header */
889 switch (record->rec_id) {
891 if (record->len < sizeof(struct htc_credit_report)) {
898 record
[all...]
H A Dhtc_mbox.c1673 struct htc_record_hdr *record,
1682 switch (record->rec_id) {
1684 len = record->len / sizeof(struct htc_credit_report);
1695 len = record->len / sizeof(*lk_ahd);
1719 len = record->len / sizeof(*bundle_lkahd_rpt);
1732 "", record_buf, record->len);
1744 ath6kl_err("unhandled record: id:%d len:%d\n",
1745 record->rec_id, record->len);
1756 struct htc_record_hdr *record; local
1672 htc_parse_trailer(struct htc_target *target, struct htc_record_hdr *record, u8 *record_buf, u32 *next_lk_ahds, enum htc_endpoint_id endpoint, int *n_lk_ahds) argument
[all...]
/drivers/staging/wlan-ng/
H A Dprism2fw.c123 /* s-record image processing */
141 /* S7 record (there _better_ be only one) */
266 /* clear the pda and add an initial END record */
369 * an S3 CRC record. Currently, we don't actually do a CRC we just
522 /* Expand the chunk if there is a CRC record at */
629 pr_err("no end record found or invalid lengths in PDR data, exiting. %x %d\n",
671 /* for each plug record */
750 * a valid PDAEND record in the raw PDA data.
799 * file. Each record in the fw file will either be a plain data record,
855 read_fwfile(const struct ihex_binrec *record) argument
[all...]
/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c427 * even though they are wired up to record 0x93
667 ATOM_COMMON_RECORD_HEADER *record = (ATOM_COMMON_RECORD_HEADER *) local
673 while (record->ucRecordSize > 0 &&
674 record->ucRecordType > 0 &&
675 record->ucRecordType <= ATOM_MAX_OBJECT_RECORD_NUMBER) {
676 switch (record->ucRecordType) {
679 record;
683 record = (ATOM_COMMON_RECORD_HEADER *)
684 ((char *)record + record
698 ATOM_COMMON_RECORD_HEADER *record = (ATOM_COMMON_RECORD_HEADER *) local
774 *record = local
1677 u8 *record; local
[all...]
/drivers/usb/serial/
H A Dio_ti.c676 /* Skip type 2 record */
764 /* In order to update the I2C firmware we must change the type 2 record
770 * update the record type from 0xf2 to 0x02.
798 /* Copy version number into firmware record */
1015 /* Search for type 2 record (firmware record) */
1020 u8 *record; local
1022 dev_dbg(dev, "%s - Found Type FIRMWARE (Type 2) record\n", __func__);
1069 record = kmalloc(1, GFP_KERNEL);
1070 if (!record) {
[all...]
/drivers/infiniband/hw/mthca/
H A Dmthca_eq.c248 struct ib_event record; local
253 record.device = &dev->ib_dev;
254 record.event = active ? IB_EVENT_PORT_ACTIVE : IB_EVENT_PORT_ERR;
255 record.element.port_num = port;
257 ib_dispatch_event(&record);
/drivers/net/ethernet/sfc/
H A Dsiena_sriov.c244 MCDI_DECLARE_STRUCT_PTR(record);
257 record = MCDI_ARRAY_STRUCT_PTR(inbuf, MEMCPY_IN_RECORD, index);
258 MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_NUM_RECORDS,
260 MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_TO_RID,
262 MCDI_SET_QWORD(record, MEMCPY_RECORD_TYPEDEF_TO_ADDR,
281 MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_FROM_RID, from_rid);
282 MCDI_SET_QWORD(record, MEMCPY_RECORD_TYPEDEF_FROM_ADDR,
284 MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_LENGTH,
/drivers/s390/block/
H A Ddasd_eckd.h101 __u8 record; member in struct:eckd_count
120 __u8 record; member in struct:chr_t
H A Ddasd_eckd.c152 /* head and record addresses of count_area read in analysis ccw */
372 * for record based I/O it's the number of records, but for
475 data->search_arg.record = rec_on_trk;
722 DBF_DEV_EVENT(DBF_ERR, device, "unknown locate record "
730 data->search_arg.record = rec_on_trk;
756 * Returns the record size for the special blocks of the cdl format.
1851 /* Locate record for the first 4 records on track 0. */
1867 /* Locate record for the first record on track 2. */
1887 /* differentiate between 'no record foun
[all...]
/drivers/s390/char/
H A Dvmur.c2 * Linux driver for System z and s390 unit record devices
29 * Unit record device support is implemented as a character device driver.
32 * to the unit record device with devno abcd.
33 * I/O to virtual unit record devices is handled as follows:
36 * Writes: The CCW used is WRITE_CCW_CMD (0x01). The device's record length
41 static char ur_banner[] = "z/VM virtual unit record device driver";
44 MODULE_DESCRIPTION("s390 z/VM virtual unit record device driver");
51 /* We put the device's record length (for writes) in the driver_info field */
181 pr_err("Unit record device %s is busy, %s refusing to "
331 * reclen sysfs attribute - The record lengt
466 diag_position_to_record(int devno, int record) argument
[all...]
/drivers/net/
H A DKconfig247 messages if they tap into the netlink device, record pcaps for further
/drivers/net/ethernet/ti/
H A Dtlan.c2088 * record Flag indicating whether to add
2093 * struct, or discards them, depending on whether record
2098 static void tlan_read_and_clear_stats(struct net_device *dev, int record) argument
2135 if (record) {
/drivers/rtc/
H A DKconfig44 device should record time in UTC, since the kernel won't do

Completed in 556 milliseconds