first_seg 461 drivers/crypto/inside-secure/safexcel.h u8 first_seg:1; first_seg 553 drivers/crypto/inside-secure/safexcel.h u8 first_seg:1; first_seg 130 drivers/crypto/inside-secure/safexcel_ring.c cdesc->first_seg = first; first_seg 181 drivers/crypto/inside-secure/safexcel_ring.c rdesc->first_seg = first; first_seg 105 drivers/infiniband/hw/hns/hns_roce_cq.c hr_mtt->first_seg, &dma_handle); first_seg 342 drivers/infiniband/hw/hns/hns_roce_device.h unsigned long first_seg; first_seg 2589 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->mtt.first_seg, &dma_handle); first_seg 2739 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->mtt.first_seg, &dma_handle); first_seg 243 drivers/infiniband/hw/hns/hns_roce_mr.c ret = hns_roce_alloc_mtt_range(hr_dev, mtt->order, &mtt->first_seg, first_seg 260 drivers/infiniband/hw/hns/hns_roce_mr.c hns_roce_buddy_free(&mr_table->mtt_buddy, mtt->first_seg, first_seg 263 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg, first_seg 264 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + (1 << mtt->order) - 1); first_seg 267 drivers/infiniband/hw/hns/hns_roce_mr.c hns_roce_buddy_free(&mr_table->mtt_cqe_buddy, mtt->first_seg, first_seg 270 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg, first_seg 271 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + (1 << mtt->order) - 1); first_seg 274 drivers/infiniband/hw/hns/hns_roce_mr.c hns_roce_buddy_free(&mr_table->mtt_srqwqe_buddy, mtt->first_seg, first_seg 277 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg, first_seg 278 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + (1 << mtt->order) - 1); first_seg 281 drivers/infiniband/hw/hns/hns_roce_mr.c hns_roce_buddy_free(&mr_table->mtt_idx_buddy, mtt->first_seg, first_seg 284 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg, first_seg 285 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + (1 << mtt->order) - 1); first_seg 826 drivers/infiniband/hw/hns/hns_roce_mr.c mtt->first_seg + first_seg 95 drivers/infiniband/hw/hns/hns_roce_srq.c srq->mtt.first_seg, first_seg 105 drivers/infiniband/hw/hns/hns_roce_srq.c srq->idx_que.mtt.first_seg, first_seg 44 drivers/infiniband/hw/mthca/mthca_mr.c u32 first_seg; first_seg 226 drivers/infiniband/hw/mthca/mthca_mr.c mtt->first_seg = mthca_alloc_mtt_range(dev, mtt->order, buddy); first_seg 227 drivers/infiniband/hw/mthca/mthca_mr.c if (mtt->first_seg == -1) { first_seg 245 drivers/infiniband/hw/mthca/mthca_mr.c mthca_buddy_free(mtt->buddy, mtt->first_seg, mtt->order); first_seg 248 drivers/infiniband/hw/mthca/mthca_mr.c mtt->first_seg, first_seg 249 drivers/infiniband/hw/mthca/mthca_mr.c mtt->first_seg + (1 << mtt->order) - 1); first_seg 269 drivers/infiniband/hw/mthca/mthca_mr.c mtt->first_seg * dev->limits.mtt_seg_size + first_seg 322 drivers/infiniband/hw/mthca/mthca_mr.c mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + first_seg 343 drivers/infiniband/hw/mthca/mthca_mr.c mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + first_seg 478 drivers/infiniband/hw/mthca/mthca_mr.c mr->mtt->first_seg * dev->limits.mtt_seg_size); first_seg 613 drivers/infiniband/hw/mthca/mthca_mr.c mtt_seg = mr->mtt->first_seg * dev->limits.mtt_seg_size; first_seg 617 drivers/infiniband/hw/mthca/mthca_mr.c mr->mtt->first_seg, first_seg 984 drivers/net/ethernet/mellanox/mlx4/mlx4.h void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 first_seg, int order); first_seg 219 drivers/net/ethernet/mellanox/mlx4/mr.c u32 first_seg; first_seg 224 drivers/net/ethernet/mellanox/mlx4/mr.c first_seg = offset / (1 << log_mtts_per_seg); first_seg 226 drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_buddy_free(&mr_table->mtt_buddy, first_seg, seg_order); first_seg 895 drivers/net/ethernet/micrel/ksz884x.c u32 first_seg:1; first_seg 915 drivers/net/ethernet/micrel/ksz884x.c u32 first_seg:1; first_seg 3978 drivers/net/ethernet/micrel/ksz884x.c hw->tx_desc_info.cur->sw.buf.tx.first_seg = 1; first_seg 432 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c u8 first_seg = 0; first_seg 443 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c first_seg = (u8)get_rx_buffer_desc_fs(header_desc); first_seg 447 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c while (total_len == 0 && first_seg == 0 && last_seg == 0) { first_seg 450 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c first_seg = (u8)get_rx_buffer_desc_fs(header_desc); first_seg 216 drivers/usb/host/xhci-debugfs.c struct xhci_segment *seg = ring->first_seg; first_seg 219 drivers/usb/host/xhci-mem.c struct xhci_segment *first_seg, first_seg 230 drivers/usb/host/xhci-mem.c seg = first_seg; first_seg 239 drivers/usb/host/xhci-mem.c } while (seg != first_seg); first_seg 245 drivers/usb/host/xhci-mem.c seg = first_seg; first_seg 251 drivers/usb/host/xhci-mem.c } while (seg != first_seg); first_seg 263 drivers/usb/host/xhci-mem.c seg = ring->first_seg; first_seg 267 drivers/usb/host/xhci-mem.c } while (seg != ring->first_seg); first_seg 273 drivers/usb/host/xhci-mem.c ring->first_seg, ring->last_seg, mem_flags); first_seg 284 drivers/usb/host/xhci-mem.c if (ring->first_seg) { first_seg 287 drivers/usb/host/xhci-mem.c xhci_free_segments_for_ring(xhci, ring->first_seg); first_seg 297 drivers/usb/host/xhci-mem.c ring->enqueue = ring->first_seg->trbs; first_seg 298 drivers/usb/host/xhci-mem.c ring->enq_seg = ring->first_seg; first_seg 300 drivers/usb/host/xhci-mem.c ring->deq_seg = ring->first_seg; first_seg 381 drivers/usb/host/xhci-mem.c ret = xhci_alloc_segments_for_ring(xhci, &ring->first_seg, first_seg 680 drivers/usb/host/xhci-mem.c addr = cur_ring->first_seg->dma | first_seg 1205 drivers/usb/host/xhci-mem.c ep0_ctx->deq = cpu_to_le64(dev->eps[0].ring->first_seg->dma | first_seg 1511 drivers/usb/host/xhci-mem.c ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | first_seg 1815 drivers/usb/host/xhci-mem.c seg = evt_ring->first_seg; first_seg 1985 drivers/usb/host/xhci-mem.c { xhci->event_ring->first_seg->dma - 16, NULL }, first_seg 1987 drivers/usb/host/xhci-mem.c { xhci->event_ring->first_seg->dma - 1, NULL }, first_seg 1989 drivers/usb/host/xhci-mem.c { xhci->event_ring->first_seg->dma, xhci->event_ring->first_seg }, first_seg 1991 drivers/usb/host/xhci-mem.c { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16, first_seg 1992 drivers/usb/host/xhci-mem.c xhci->event_ring->first_seg }, first_seg 1994 drivers/usb/host/xhci-mem.c { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16 + 1, NULL }, first_seg 1996 drivers/usb/host/xhci-mem.c { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT)*16, NULL }, first_seg 2008 drivers/usb/host/xhci-mem.c { .input_seg = xhci->event_ring->first_seg, first_seg 2009 drivers/usb/host/xhci-mem.c .start_trb = xhci->event_ring->first_seg->trbs, first_seg 2010 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], first_seg 2011 drivers/usb/host/xhci-mem.c .input_dma = xhci->cmd_ring->first_seg->dma, first_seg 2015 drivers/usb/host/xhci-mem.c { .input_seg = xhci->event_ring->first_seg, first_seg 2016 drivers/usb/host/xhci-mem.c .start_trb = xhci->event_ring->first_seg->trbs, first_seg 2017 drivers/usb/host/xhci-mem.c .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], first_seg 2018 drivers/usb/host/xhci-mem.c .input_dma = xhci->cmd_ring->first_seg->dma, first_seg 2022 drivers/usb/host/xhci-mem.c { .input_seg = xhci->event_ring->first_seg, first_seg 2023 drivers/usb/host/xhci-mem.c .start_trb = xhci->cmd_ring->first_seg->trbs, first_seg 2024 drivers/usb/host/xhci-mem.c .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], first_seg 2025 drivers/usb/host/xhci-mem.c .input_dma = xhci->cmd_ring->first_seg->dma, first_seg 2029 drivers/usb/host/xhci-mem.c { .input_seg = xhci->event_ring->first_seg, first_seg 2030 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[0], first_seg 2031 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[3], first_seg 2032 drivers/usb/host/xhci-mem.c .input_dma = xhci->event_ring->first_seg->dma + 4*16, first_seg 2036 drivers/usb/host/xhci-mem.c { .input_seg = xhci->event_ring->first_seg, first_seg 2037 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[3], first_seg 2038 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[6], first_seg 2039 drivers/usb/host/xhci-mem.c .input_dma = xhci->event_ring->first_seg->dma + 2*16, first_seg 2043 drivers/usb/host/xhci-mem.c { .input_seg = xhci->event_ring->first_seg, first_seg 2044 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], first_seg 2045 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[1], first_seg 2046 drivers/usb/host/xhci-mem.c .input_dma = xhci->event_ring->first_seg->dma + 2*16, first_seg 2050 drivers/usb/host/xhci-mem.c { .input_seg = xhci->event_ring->first_seg, first_seg 2051 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], first_seg 2052 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[1], first_seg 2053 drivers/usb/host/xhci-mem.c .input_dma = xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 4)*16, first_seg 2057 drivers/usb/host/xhci-mem.c { .input_seg = xhci->event_ring->first_seg, first_seg 2058 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], first_seg 2059 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[1], first_seg 2060 drivers/usb/host/xhci-mem.c .input_dma = xhci->cmd_ring->first_seg->dma + 2*16, first_seg 2071 drivers/usb/host/xhci-mem.c xhci->event_ring->first_seg, first_seg 2072 drivers/usb/host/xhci-mem.c xhci->event_ring->first_seg->trbs, first_seg 2073 drivers/usb/host/xhci-mem.c &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], first_seg 2472 drivers/usb/host/xhci-mem.c (unsigned long long)xhci->cmd_ring->first_seg->dma); first_seg 2477 drivers/usb/host/xhci-mem.c (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | first_seg 98 drivers/usb/host/xhci-ring.c return last_trb_on_seg(seg, trb) && (seg->next == ring->first_seg); first_seg 43 drivers/usb/host/xhci.c struct xhci_segment *seg = ring->first_seg; first_seg 51 drivers/usb/host/xhci.c } while (seg && seg != ring->first_seg); first_seg 864 drivers/usb/host/xhci.c ring->deq_seg = ring->first_seg; first_seg 865 drivers/usb/host/xhci.c ring->dequeue = ring->first_seg->trbs; first_seg 1595 drivers/usb/host/xhci.h struct xhci_segment *first_seg;