/drivers/scsi/ |
D | libiscsi_tcp.c | 71 struct iscsi_segment *segment); 97 iscsi_tcp_segment_init_sg(struct iscsi_segment *segment, in iscsi_tcp_segment_init_sg() argument 100 segment->sg = sg; in iscsi_tcp_segment_init_sg() 101 segment->sg_offset = offset; in iscsi_tcp_segment_init_sg() 102 segment->size = min(sg->length - offset, in iscsi_tcp_segment_init_sg() 103 segment->total_size - segment->total_copied); in iscsi_tcp_segment_init_sg() 104 segment->data = NULL; in iscsi_tcp_segment_init_sg() 116 static void iscsi_tcp_segment_map(struct iscsi_segment *segment, int recv) in iscsi_tcp_segment_map() argument 120 if (segment->data != NULL || !segment->sg) in iscsi_tcp_segment_map() 123 sg = segment->sg; in iscsi_tcp_segment_map() [all …]
|
D | iscsi_tcp.c | 155 iscsi_tcp_segment_unmap(&tcp_conn->in.segment); in iscsi_sw_tcp_data_ready() 264 struct iscsi_segment *segment) in iscsi_sw_tcp_xmit_segment() argument 271 while (!iscsi_tcp_segment_done(tcp_conn, segment, 0, r)) { in iscsi_sw_tcp_xmit_segment() 277 offset = segment->copied; in iscsi_sw_tcp_xmit_segment() 278 copy = segment->size - offset; in iscsi_sw_tcp_xmit_segment() 280 if (segment->total_copied + segment->size < segment->total_size) in iscsi_sw_tcp_xmit_segment() 284 if (!segment->data) { in iscsi_sw_tcp_xmit_segment() 285 sg = segment->sg; in iscsi_sw_tcp_xmit_segment() 286 offset += segment->sg_offset + sg->offset; in iscsi_sw_tcp_xmit_segment() 292 .iov_base = segment->data + offset, in iscsi_sw_tcp_xmit_segment() [all …]
|
D | iscsi_tcp.h | 34 struct iscsi_segment segment; member
|
D | 53c700.scr | 35 ; necessary amount of data and jumps to the next SG segment. The final 36 ; SG segment jumps back to . However, this address is the first SG script 37 ; segment.
|
/drivers/staging/imx-drm/ipu-v3/ |
D | ipu-dmfc.c | 103 unsigned segment; member 155 int segment, int burstsize) in ipu_dmfc_setup_channel() argument 162 slots, segment, dmfc->data->ipu_channel); in ipu_dmfc_setup_channel() 199 field |= DMFC_SEGMENT(segment); in ipu_dmfc_setup_channel() 209 dmfc->segment = segment; in ipu_dmfc_setup_channel() 211 dmfc->slotmask = ((1 << slots) - 1) << segment; in ipu_dmfc_setup_channel() 230 int i, segment = 0; in dmfc_find_slots() local 239 return segment; in dmfc_find_slots() 242 segment++; in dmfc_find_slots() 254 dmfc->slots, dmfc->segment); in ipu_dmfc_free_bandwidth() [all …]
|
/drivers/staging/rts5139/ |
D | ms.c | 2215 ms_card->segment = vmalloc(size); 2216 if (ms_card->segment == NULL) 2218 memset(ms_card->segment, 0, size); 2237 ms_card->segment[seg_no].defect_list[ms_card->segment[seg_no]. 2243 ms_card->segment[i].build_flag = 0; 2244 ms_card->segment[i].l2p_table = NULL; 2245 ms_card->segment[i].free_table = NULL; 2246 ms_card->segment[i].get_index = 0; 2247 ms_card->segment[i].set_index = 0; 2248 ms_card->segment[i].unused_blk_cnt = 0; [all …]
|
/drivers/misc/eeprom/ |
D | at25.c | 180 unsigned segment; in at25_ee_write() local 212 segment = buf_size - (offset % buf_size); in at25_ee_write() 213 if (segment > count) in at25_ee_write() 214 segment = count; in at25_ee_write() 215 memcpy(cp, buf, segment); in at25_ee_write() 217 segment + at25->addrlen + 1); in at25_ee_write() 220 segment, offset, (int) status); in at25_ee_write() 249 segment, offset, in at25_ee_write() 256 off += segment; in at25_ee_write() 257 buf += segment; in at25_ee_write() [all …]
|
/drivers/acpi/ |
D | pci_irq.c | 104 unsigned int segment; member 145 entry->id.segment == quirk->segment && in do_prt_fixups() 154 entry->id.segment, entry->id.bus, in do_prt_fixups() 166 int segment = pci_domain_nr(dev->bus); in acpi_pci_irq_check_entry() local 184 entry->id.segment = segment; in acpi_pci_irq_check_entry() 219 entry->id.segment, entry->id.bus, in acpi_pci_irq_check_entry()
|
D | pci_root.c | 380 unsigned long long segment, bus; in acpi_pci_root_add() local 390 segment = 0; in acpi_pci_root_add() 392 &segment); in acpi_pci_root_add() 427 root->segment = segment & 0xFFFF; in acpi_pci_root_add() 434 root->segment, &root->secondary); in acpi_pci_root_add() 464 root->segment, (unsigned int)root->secondary.start); in acpi_pci_root_add()
|
/drivers/media/i2c/ |
D | ad9389b.c | 910 int segment, u8 *buf) in ad9389b_dbg_dump_edid() argument 917 v4l2_dbg(lvl, debug, sd, "edid segment %d\n", segment); in ad9389b_dbg_dump_edid() 964 ed.segment = ad9389b_rd(sd, 0xc4); in ad9389b_edid_handler() 1088 static bool edid_segment_verify_crc(struct v4l2_subdev *sd, u32 segment) in edid_segment_verify_crc() argument 1094 if (edid_block_verify_crc(&data[segment * 256])) { in edid_segment_verify_crc() 1095 if ((segment + 1) * 2 <= blocks) in edid_segment_verify_crc() 1096 return edid_block_verify_crc(&data[segment * 256 + 128]); in edid_segment_verify_crc() 1106 int segment; in ad9389b_check_edid_status() local 1115 segment = ad9389b_rd(sd, 0xc4); in ad9389b_check_edid_status() 1116 if (segment >= EDID_MAX_SEGM) { in ad9389b_check_edid_status() [all …]
|
/drivers/s390/char/ |
D | tape_34xx.c | 36 unsigned int segment : 7; member 915 if (!sbid_list || (bid.segment < 2 && bid.wrap == 0)) in tape_34xx_add_sbid() 930 (sbid->bid.segment == bid.segment) && in tape_34xx_add_sbid() 954 sbid->bid.segment, in tape_34xx_add_sbid() 981 sbid->bid.segment, in tape_34xx_delete_sbid_from() 1005 bid->segment = 1; in tape_34xx_merge_sbid() 1020 bid->segment = sbid_to_use->bid.segment; in tape_34xx_merge_sbid() 1023 sbid_to_use->bid.segment, in tape_34xx_merge_sbid()
|
/drivers/net/ethernet/tile/ |
D | tilegx.c | 1344 int segment; in tso_count_edescs() local 1346 for (segment = 0; segment < sh->gso_segs; segment++) { in tso_count_edescs() 1395 int segment; in tso_headers_prepare() local 1413 for (segment = 0; segment < sh->gso_segs; segment++) { in tso_headers_prepare() 1433 if (segment != sh->gso_segs - 1) { in tso_headers_prepare() 1492 int segment; in tso_egress() local 1506 for (segment = 0; segment < sh->gso_segs; segment++) { in tso_egress()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.h | 195 void bnx2x_igu_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 segment, 664 u8 segment, u16 index, u8 op, in bnx2x_igu_ack_sb_gen() argument 671 (segment << IGU_REGULAR_SEGMENT_ACCESS_SHIFT) | in bnx2x_igu_ack_sb_gen() 711 u8 segment; in bnx2x_ack_sb() local 714 segment = storm; in bnx2x_ack_sb() 716 segment = IGU_SEG_ACCESS_DEF; in bnx2x_ack_sb() 718 segment = IGU_SEG_ACCESS_ATTN; in bnx2x_ack_sb() 720 segment = IGU_SEG_ACCESS_DEF; in bnx2x_ack_sb() 721 bnx2x_igu_ack_sb(bp, igu_sb_id, segment, index, op, update); in bnx2x_ack_sb()
|
/drivers/iommu/ |
D | dmar.c | 68 struct pci_dev **dev, u16 segment) in dmar_parse_one_dev_scope() argument 75 bus = pci_find_bus(segment, scope->bus); in dmar_parse_one_dev_scope() 102 segment, scope->bus, path->dev, path->fn); in dmar_parse_one_dev_scope() 119 struct pci_dev ***devices, u16 segment) in dmar_parse_dev_scope() argument 152 &(*devices)[index], segment); in dmar_parse_dev_scope() 184 dmaru->segment = drhd->segment; in dmar_parse_one_drhd() 209 drhd->segment); in dmar_parse_dev() 408 drhd->segment == pci_domain_nr(dev->bus)) in dmar_find_matched_drhd_unit()
|
D | intel-iommu.c | 399 int segment; /* PCI domain */ member 650 static struct intel_iommu *device_to_iommu(int segment, u8 bus, u8 devfn) in device_to_iommu() argument 658 if (segment != drhd->segment) in device_to_iommu() 1099 struct dmar_domain *domain, int segment, u8 bus, u8 devfn) in iommu_support_dev_iotlb() argument 1104 struct intel_iommu *iommu = device_to_iommu(segment, bus, devfn); in iommu_support_dev_iotlb() 1548 static int domain_context_mapping_one(struct dmar_domain *domain, int segment, in domain_context_mapping_one() argument 1568 iommu = device_to_iommu(segment, bus, devfn); in domain_context_mapping_one() 1629 info = iommu_support_dev_iotlb(domain, segment, bus, devfn); in domain_context_mapping_one() 1945 iommu = device_to_iommu(info->segment, info->bus, info->devfn); in domain_remove_dev_info() 1980 int segment; in get_domain_for_dev() local [all …]
|
/drivers/char/agp/ |
D | frontend.c | 839 struct agp_segment *segment; in agpioc_reserve_wrap() local 844 segment = kmalloc((sizeof(struct agp_segment) * reserve.seg_count), in agpioc_reserve_wrap() 847 if (segment == NULL) in agpioc_reserve_wrap() 850 if (copy_from_user(segment, (void __user *) reserve.seg_list, in agpioc_reserve_wrap() 852 kfree(segment); in agpioc_reserve_wrap() 855 reserve.seg_list = segment; in agpioc_reserve_wrap() 862 kfree(segment); in agpioc_reserve_wrap()
|
/drivers/acpi/acpica/ |
D | hwpci.c | 245 pci_id->segment, pci_id->bus, pci_id->device, in acpi_hw_process_pci_list() 271 pci_id->segment, pci_id->bus, pci_id->device, in acpi_hw_process_pci_list()
|
/drivers/isdn/hardware/eicon/ |
D | dsp_defs.h | 149 word segment; member 156 word segment; member
|
/drivers/sbus/char/ |
D | Kconfig | 63 This is the driver for the 7-segment display and LED present on 70 another UltraSPARC-IIi-cEngine boardset with a 7-segment display,
|
/drivers/lguest/x86/ |
D | core.c | 56 unsigned short segment; member 562 lguest_entry.segment = LGUEST_CS; in lguest_arch_host_init()
|
/drivers/pci/hotplug/ |
D | sgi_hotplug.c | 111 u16 busnum, segment, ioboard_type; in sn_pci_slot_valid() local 121 segment = pci_domain_nr(pci_bus) & 0xf; in sn_pci_slot_valid() 126 (segment == 1 && busnum == 0 && device != 1)) in sn_pci_slot_valid()
|
/drivers/pnp/pnpbios/ |
D | bioscalls.c | 26 u16 segment; member 476 pnp_bios_callpoint.segment = PNP_CS16; in pnpbios_calls_init()
|
/drivers/firmware/ |
D | dmi_scan.c | 298 static void __init dmi_save_dev_onboard(int instance, int segment, int bus, in dmi_save_dev_onboard() argument 309 onboard_dev->segment = segment; in dmi_save_dev_onboard()
|
D | pcdp.h | 69 u8 segment; member
|
/drivers/scsi/aic7xxx/ |
D | aiclib.h | 82 uint8_t segment; member
|