/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-viperboard.c | 126 rmsg->header.cmd = VPRBRD_I2C_CMD_READ; in vprbrd_i2c_read() 128 rmsg->header.addr = cpu_to_le16(start + 0x4000); in vprbrd_i2c_read() 132 rmsg->header.len0 = remain_len; in vprbrd_i2c_read() 133 rmsg->header.len1 = 0x00; in vprbrd_i2c_read() 134 rmsg->header.len2 = 0x00; in vprbrd_i2c_read() 135 rmsg->header.len3 = 0x00; in vprbrd_i2c_read() 136 rmsg->header.len4 = 0x00; in vprbrd_i2c_read() 137 rmsg->header.len5 = 0x00; in vprbrd_i2c_read() 142 rmsg->header.len0 = remain_len - 255; in vprbrd_i2c_read() 143 rmsg->header.len1 = 0xff; in vprbrd_i2c_read() [all …]
|
/linux-4.19.296/drivers/thunderbolt/ |
D | cap.c | 48 struct tb_cap_any header; in tb_port_find_cap() local 51 ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1); in tb_port_find_cap() 55 if (header.basic.cap == cap) in tb_port_find_cap() 58 offset = header.basic.next; in tb_port_find_cap() 69 struct tb_cap_any header; in tb_switch_find_cap() local 72 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 1); in tb_switch_find_cap() 76 if (header.basic.cap == cap) in tb_switch_find_cap() 79 offset = header.basic.next; in tb_switch_find_cap() 97 struct tb_cap_any header; in tb_switch_find_vse_cap() local 107 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 2); in tb_switch_find_vse_cap() [all …]
|
D | eeprom.c | 209 struct tb_drom_entry_header header; member 215 struct tb_drom_entry_header header; member 305 struct tb_drom_entry_header *header) in tb_drom_parse_entry_generic() argument 308 (const struct tb_drom_entry_generic *)header; in tb_drom_parse_entry_generic() 310 switch (header->index) { in tb_drom_parse_entry_generic() 314 header->len - sizeof(*header), GFP_KERNEL); in tb_drom_parse_entry_generic() 321 header->len - sizeof(*header), GFP_KERNEL); in tb_drom_parse_entry_generic() 331 struct tb_drom_entry_header *header) in tb_drom_parse_entry_port() argument 341 if (header->index > sw->config.max_port_number) { in tb_drom_parse_entry_port() 346 port = &sw->ports[header->index]; in tb_drom_parse_entry_port() [all …]
|
/linux-4.19.296/drivers/misc/mic/scif/ |
D | scif_rb.c | 48 static void memcpy_torb(struct scif_rb *rb, void *header, in memcpy_torb() argument 53 if (header + size >= rb->rb_base + rb->size) { in memcpy_torb() 55 size1 = (u32)(rb->rb_base + rb->size - header); in memcpy_torb() 57 memcpy_toio((void __iomem __force *)header, msg, size1); in memcpy_torb() 61 memcpy_toio((void __iomem __force *)header, msg, size); in memcpy_torb() 66 static void memcpy_fromrb(struct scif_rb *rb, void *header, in memcpy_fromrb() argument 71 if (header + size >= rb->rb_base + rb->size) { in memcpy_fromrb() 73 size1 = (u32)(rb->rb_base + rb->size - header); in memcpy_fromrb() 75 memcpy_fromio(msg, (void __iomem __force *)header, size1); in memcpy_fromrb() 79 memcpy_fromio(msg, (void __iomem __force *)header, size); in memcpy_fromrb() [all …]
|
/linux-4.19.296/drivers/misc/ibmasm/ |
D | dot_command.c | 34 struct dot_command_header *header = (struct dot_command_header *)message; in ibmasm_receive_message() local 46 switch (header->type) { in ibmasm_receive_message() 71 struct dot_command_header *header; in ibmasm_send_driver_vpd() local 80 header = (struct dot_command_header *)command->buffer; in ibmasm_send_driver_vpd() 81 header->type = sp_write; in ibmasm_send_driver_vpd() 82 header->command_size = 4; in ibmasm_send_driver_vpd() 83 header->data_size = 16; in ibmasm_send_driver_vpd() 84 header->status = 0; in ibmasm_send_driver_vpd() 85 header->reserved = 0; in ibmasm_send_driver_vpd() 93 vpd_data = vpd_command + header->command_size; in ibmasm_send_driver_vpd() [all …]
|
/linux-4.19.296/include/acpi/ |
D | actbl2.h | 75 struct acpi_table_header header; member 254 struct acpi_table_header header; /* Common ACPI table header */ member 305 struct acpi_ivrs_header header; member 368 struct acpi_ivrs_de_header header; member 374 struct acpi_ivrs_de_header header; member 383 struct acpi_ivrs_de_header header; member 394 struct acpi_ivrs_de_header header; member 408 struct acpi_ivrs_header header; member 424 struct acpi_table_header header; /* Common ACPI table header */ member 456 struct acpi_lpit_header header; member [all …]
|
D | actbl1.h | 117 struct acpi_table_header header; /* Common ACPI table header */ member 146 struct acpi_asf_header header; member 162 struct acpi_asf_header header; member 187 struct acpi_asf_header header; member 203 struct acpi_asf_header header; member 216 struct acpi_asf_header header; member 229 struct acpi_table_header header; /* Common ACPI table header */ member 275 struct acpi_table_header header; /* Common ACPI table header */ member 299 struct acpi_table_header header; /* Common ACPI table header */ member 312 struct acpi_table_header header; /* Common ACPI table header */ member [all …]
|
D | actbl3.h | 76 struct acpi_table_header header; /* Common ACPI table header */ member 87 struct acpi_table_header header; /* Common ACPI table header */ member 103 struct acpi_table_header header; /* Common ACPI table header */ member 144 struct acpi_table_header header; /* Common ACPI table header */ member 180 struct acpi_table_header header; /* Common ACPI table header */ member 203 struct acpi_subtable_header header; member 219 struct acpi_subtable_header header; member 238 struct acpi_subtable_header header; member 254 struct acpi_subtable_header header; member 268 struct acpi_subtable_header header; member [all …]
|
/linux-4.19.296/drivers/virt/vboxguest/ |
D | vmmdev.h | 113 struct vmmdev_request_header header; member 166 struct vmmdev_request_header header; member 189 struct vmmdev_request_header header; member 215 struct vmmdev_request_header header; member 229 struct vmmdev_request_header header; member 241 struct vmmdev_request_header header; member 255 struct vmmdev_request_header header; member 314 struct vmmdev_request_header header; member 330 struct vmmdev_request_header header; member 347 struct vmmdev_request_header header; member [all …]
|
/linux-4.19.296/fs/proc/ |
D | proc_sysctl.c | 38 dir->header.ctl_table[0].child = sysctl_mount_point; in set_empty_dir() 44 dir->header.ctl_table[0].child = NULL; in clear_empty_dir() 64 .default_set.dir.header = { 76 static void drop_sysctl_table(struct ctl_table_header *header); 80 static void put_links(struct ctl_table_header *header); 84 if (dir->header.parent) in sysctl_print_dir() 85 sysctl_print_dir(dir->header.parent); in sysctl_print_dir() 86 pr_cont("%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir() 119 head = ctl_node->header; in find_entry() 153 parent_head = parent_node->header; in insert_entry() [all …]
|
/linux-4.19.296/fs/jfs/ |
D | jfs_xtree.c | 71 if ((le16_to_cpu((P)->header.nextindex) < XTENTRYSTART) || \ 72 (le16_to_cpu((P)->header.nextindex) > \ 73 le16_to_cpu((P)->header.maxentry)) || \ 74 (le16_to_cpu((P)->header.maxentry) > \ 291 (p->header.flag & BT_LEAF) && in xtSearch() 293 le16_to_cpu(p->header.nextindex)) { in xtSearch() 309 le16_to_cpu(p->header.nextindex)) { in xtSearch() 350 if (p->header.nextindex == /* little-endian */ in xtSearch() 351 p->header.maxentry) in xtSearch() 376 lim = le16_to_cpu(p->header.nextindex) - XTENTRYSTART; in xtSearch() [all …]
|
D | jfs_dtree.c | 131 if (((P)->header.nextindex > \ 132 (((BN) == 0) ? DTROOTMAXSLOT : (P)->header.maxslot)) || \ 133 ((BN) && ((P)->header.maxslot > DTPAGEMAXSLOT))) { \ 646 for (base = 0, lim = p->header.nextindex; lim; lim >>= 1) { in dtSearch() 649 if (p->header.flag & BT_LEAF) { in dtSearch() 668 if (p->header.flag & BT_LEAF) { in dtSearch() 738 if (p->header.flag & BT_LEAF) { in dtSearch() 870 if (n > p->header.freecnt) { in dtInsert() 902 if (!(p->header.flag & BT_ROOT)) { in dtInsert() 907 lv->offset = p->header.stblindex + n; in dtInsert() [all …]
|
/linux-4.19.296/drivers/s390/char/ |
D | sclp_early_core.c | 75 struct sccb_header header; member 110 sccb->header.length = len - offsetof(struct write_sccb, header); in sclp_early_print_lm() 112 msg->header.type = EVTYP_MSG; in sclp_early_print_lm() 113 msg->header.length = len - offsetof(struct write_sccb, msg.header); in sclp_early_print_lm() 115 mdb->header.type = 1; in sclp_early_print_lm() 116 mdb->header.tag = 0xD4C4C240; in sclp_early_print_lm() 117 mdb->header.revision_code = 1; in sclp_early_print_lm() 118 mdb->header.length = len - offsetof(struct write_sccb, msg.mdb.header); in sclp_early_print_lm() 126 struct sccb_header header; member 128 struct evbuf_header header; member [all …]
|
D | sclp_pci.c | 36 struct evbuf_header header; member 45 struct sccb_header header; member 50 struct sccb_header header; member 69 sccb->header.length = PAGE_SIZE; in do_pci_configure() 75 switch (sccb->header.response_code) { in do_pci_configure() 81 cmd, sccb->header.response_code); in do_pci_configure() 158 sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length; in sclp_pci_report() 159 sccb->evbuf.header.type = EVTYP_ERRNOTIFY; in sclp_pci_report() 160 sccb->header.length = sizeof(sccb->header) + sccb->evbuf.header.length; in sclp_pci_report() 181 if (sccb->header.response_code != 0x0020) { in sclp_pci_report() [all …]
|
D | sclp_cmd.c | 97 sccb->header.length = sizeof(*sccb); in _sclp_get_core_info() 102 if (sccb->header.response_code != 0x0010) { in _sclp_get_core_info() 104 sccb->header.response_code); in _sclp_get_core_info() 115 struct sccb_header header; member 132 sccb->header.length = sizeof(*sccb); in do_core_configure() 136 switch (sccb->header.response_code) { in do_core_configure() 142 cmd, sccb->header.response_code); in do_core_configure() 176 struct sccb_header header; member 200 sccb->header.length = PAGE_SIZE; in do_assign_storage() 205 switch (sccb->header.response_code) { in do_assign_storage() [all …]
|
D | sclp_async.c | 34 struct evbuf_header header; member 45 struct sccb_header header; member 105 sccb->evbuf.header.type = EVTYP_ASYNC; in sclp_async_send_wait() 119 sccb->evbuf.header.length = sizeof(sccb->evbuf); in sclp_async_send_wait() 120 sccb->header.length = sizeof(sccb->evbuf) + sizeof(sccb->header); in sclp_async_send_wait() 121 sccb->header.function_code = SCLP_NORMAL_WRITE; in sclp_async_send_wait() 134 request->sccb)->header.response_code; in sclp_async_send_wait() 137 if (evb->header.flags != 0x80) in sclp_async_send_wait()
|
/linux-4.19.296/fs/ext2/ |
D | xattr.c | 369 struct ext2_xattr_header *header = NULL; in ext2_xattr_set() local 407 header = HDR(bh); in ext2_xattr_set() 409 if (header->h_magic != cpu_to_le32(EXT2_XATTR_MAGIC) || in ext2_xattr_set() 410 header->h_blocks != cpu_to_le32(1)) { in ext2_xattr_set() 452 free = min_offs - ((char*)last - (char*)header) - sizeof(__u32); in ext2_xattr_set() 489 if (header) { in ext2_xattr_set() 492 if (header->h_refcount == cpu_to_le32(1)) { in ext2_xattr_set() 493 __u32 hash = le32_to_cpu(header->h_hash); in ext2_xattr_set() 509 header = kmalloc(bh->b_size, GFP_KERNEL); in ext2_xattr_set() 511 if (header == NULL) in ext2_xattr_set() [all …]
|
/linux-4.19.296/include/linux/ |
D | ipmi-fru.h | 79 const struct fru_common_header *header) in fru_get_board_area() argument 82 return (struct fru_board_info_area *)(header + header->board_area_off); in fru_get_board_area() 122 extern int fru_header_cksum_ok(struct fru_common_header *header); 126 extern char *fru_get_board_manufacturer(struct fru_common_header *header); 127 extern char *fru_get_product_name(struct fru_common_header *header); 128 extern char *fru_get_serial_number(struct fru_common_header *header); 129 extern char *fru_get_part_number(struct fru_common_header *header);
|
/linux-4.19.296/fs/nfs/blocklayout/ |
D | blocklayout.c | 192 static void bl_mark_devices_unavailable(struct nfs_pgio_header *header, bool rw) in bl_mark_devices_unavailable() argument 194 struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); in bl_mark_devices_unavailable() 195 size_t bytes_left = header->args.count; in bl_mark_devices_unavailable() 199 isect = header->args.offset >> SECTOR_SHIFT; in bl_mark_devices_unavailable() 200 bytes_left += header->args.offset - (isect << SECTOR_SHIFT); in bl_mark_devices_unavailable() 220 struct nfs_pgio_header *header = par->data; in bl_end_io_read() local 222 if (!header->pnfs_error) in bl_end_io_read() 223 header->pnfs_error = -EIO; in bl_end_io_read() 224 pnfs_set_lo_fail(header->lseg); in bl_end_io_read() 225 bl_mark_devices_unavailable(header, false); in bl_end_io_read() [all …]
|
/linux-4.19.296/include/linux/usb/ |
D | pd.h | 110 static inline unsigned int pd_header_cnt(u16 header) in pd_header_cnt() argument 112 return (header >> PD_HEADER_CNT_SHIFT) & PD_HEADER_CNT_MASK; in pd_header_cnt() 115 static inline unsigned int pd_header_cnt_le(__le16 header) in pd_header_cnt_le() argument 117 return pd_header_cnt(le16_to_cpu(header)); in pd_header_cnt_le() 120 static inline unsigned int pd_header_type(u16 header) in pd_header_type() argument 122 return (header >> PD_HEADER_TYPE_SHIFT) & PD_HEADER_TYPE_MASK; in pd_header_type() 125 static inline unsigned int pd_header_type_le(__le16 header) in pd_header_type_le() argument 127 return pd_header_type(le16_to_cpu(header)); in pd_header_type_le() 130 static inline unsigned int pd_header_msgid(u16 header) in pd_header_msgid() argument 132 return (header >> PD_HEADER_ID_SHIFT) & PD_HEADER_ID_MASK; in pd_header_msgid() [all …]
|
/linux-4.19.296/drivers/s390/crypto/ |
D | zcrypt_cex2a.h | 46 struct type50_hdr header; member 56 struct type50_hdr header; member 66 struct type50_hdr header; member 76 struct type50_hdr header; member 89 struct type50_hdr header; member 102 struct type50_hdr header; member
|
/linux-4.19.296/lib/ |
D | decompress_unlzma.c | 284 struct lzma_header *header; member 303 while (offs > wr->header->dict_size) in peek_old_byte() 304 offs -= wr->header->dict_size; in peek_old_byte() 309 while (pos >= wr->header->dict_size) in peek_old_byte() 310 pos += wr->header->dict_size; in peek_old_byte() 319 if (wr->flush && wr->buffer_pos == wr->header->dict_size) { in write_byte() 321 wr->global_pos += wr->header->dict_size; in write_byte() 322 if (wr->flush((char *)wr->buffer, wr->header->dict_size) in write_byte() 323 != wr->header->dict_size) in write_byte() 342 } while (len != 0 && wr->buffer_pos < wr->header->dst_size); in copy_bytes() [all …]
|
/linux-4.19.296/drivers/uwb/ |
D | hwa-rc.c | 118 struct uwb_rceb **header, in hwarc_filter_evt_beacon_WUSB_0100() argument 127 be = container_of(*header, struct uwb_rc_evt_beacon_WUSB_0100, rceb); in hwarc_filter_evt_beacon_WUSB_0100() 154 *header = &newbe->rceb; in hwarc_filter_evt_beacon_WUSB_0100() 176 struct uwb_rceb **header, in hwarc_filter_evt_drp_avail_WUSB_0100() argument 187 da = container_of(*header, struct uwb_rc_evt_drp_avail_WUSB_0100, rceb); in hwarc_filter_evt_drp_avail_WUSB_0100() 221 *header = &newda->rceb; in hwarc_filter_evt_drp_avail_WUSB_0100() 251 struct uwb_rceb **header, in hwarc_filter_evt_drp_WUSB_0100() argument 260 drpev = container_of(*header, struct uwb_rc_evt_drp_WUSB_0100, rceb); in hwarc_filter_evt_drp_WUSB_0100() 285 *header = &newdrpev->rceb; in hwarc_filter_evt_drp_WUSB_0100() 310 struct uwb_rccb **header, in hwarc_filter_cmd_scan_WUSB_0100() argument [all …]
|
/linux-4.19.296/drivers/bus/fsl-mc/ |
D | dpcon.c | 39 cmd.header = mc_encode_cmd_header(DPCON_CMDID_OPEN, in dpcon_open() 75 cmd.header = mc_encode_cmd_header(DPCON_CMDID_CLOSE, in dpcon_close() 99 cmd.header = mc_encode_cmd_header(DPCON_CMDID_ENABLE, in dpcon_enable() 123 cmd.header = mc_encode_cmd_header(DPCON_CMDID_DISABLE, in dpcon_disable() 147 cmd.header = mc_encode_cmd_header(DPCON_CMDID_RESET, in dpcon_reset() 174 cmd.header = mc_encode_cmd_header(DPCON_CMDID_GET_ATTR, in dpcon_get_attributes() 211 cmd.header = mc_encode_cmd_header(DPCON_CMDID_SET_NOTIFICATION, in dpcon_set_notification()
|
D | dpbp.c | 39 cmd.header = mc_encode_cmd_header(DPBP_CMDID_OPEN, in dpbp_open() 74 cmd.header = mc_encode_cmd_header(DPBP_CMDID_CLOSE, cmd_flags, in dpbp_close() 97 cmd.header = mc_encode_cmd_header(DPBP_CMDID_ENABLE, cmd_flags, in dpbp_enable() 120 cmd.header = mc_encode_cmd_header(DPBP_CMDID_DISABLE, in dpbp_disable() 143 cmd.header = mc_encode_cmd_header(DPBP_CMDID_RESET, in dpbp_reset() 171 cmd.header = mc_encode_cmd_header(DPBP_CMDID_GET_ATTR, in dpbp_get_attributes()
|