Searched refs:slot (Results 226 - 250 of 956) sorted by relevance

1234567891011>>

/linux-master/drivers/scsi/hisi_sas/
H A Dhisi_sas_v1_hw.c890 struct hisi_sas_slot *slot,
895 struct hisi_sas_sge_page *sge_page = hisi_sas_sge_addr_mem(slot);
908 hdr->prd_table_addr = cpu_to_le64(hisi_sas_sge_addr_dma(slot));
914 struct hisi_sas_slot *slot)
916 struct sas_task *task = slot->task;
917 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
919 struct hisi_sas_port *port = slot->port;
945 hdr->transfer_tags = cpu_to_le32(slot->idx << CMD_HDR_IPTT_OFF);
948 hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot));
952 struct hisi_sas_slot *slot)
889 prep_prd_sge_v1_hw(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot, struct hisi_sas_cmd_hdr *hdr, struct scatterlist *scatter, int n_elem) argument
913 prep_smp_v1_hw(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot) argument
951 prep_ssp_v1_hw(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot) argument
1045 slot_err_v1_hw(struct hisi_hba *hisi_hba, struct sas_task *task, struct hisi_sas_slot *slot) argument
1173 slot_complete_v1_hw(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot) argument
1483 struct hisi_sas_slot *slot; local
[all...]
H A Dhisi_sas_main.c103 struct hisi_sas_slot *slot)
108 hisi_sas_status_buf_addr_mem(slot);
208 struct hisi_sas_slot *slot, bool need_lock)
210 int device_id = slot->device_id;
222 if (slot->n_elem) {
231 if (slot->n_elem_dif) {
244 list_del_init(&slot->entry);
247 list_del_init(&slot->entry);
250 memset(slot, 0, offsetof(struct hisi_sas_slot, buf));
252 hisi_sas_slot_index_free(hisi_hba, slot
102 hisi_sas_sata_done(struct sas_task *task, struct hisi_sas_slot *slot) argument
207 hisi_sas_slot_task_free(struct hisi_hba *hisi_hba, struct sas_task *task, struct hisi_sas_slot *slot, bool need_lock) argument
256 hisi_sas_task_prep_smp(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot) argument
262 hisi_sas_task_prep_ssp(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot) argument
268 hisi_sas_task_prep_ata(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot) argument
274 hisi_sas_task_prep_abort(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot) argument
398 hisi_sas_task_deliver(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot, struct hisi_sas_dq *dq, struct hisi_sas_device *sas_dev) argument
471 struct hisi_sas_slot *slot; local
741 struct hisi_sas_slot *slot = task->lldd_task; local
1081 hisi_sas_do_release_task(struct hisi_hba *hisi_hba, struct sas_task *task, struct hisi_sas_slot *slot, bool need_lock) argument
1105 struct hisi_sas_slot *slot, *slot2; local
1619 struct hisi_sas_slot *slot = task->lldd_task; local
1944 struct hisi_sas_slot *slot = task->lldd_task; local
1988 struct hisi_sas_slot *slot = task->lldd_task; local
2259 struct hisi_sas_slot *slot; local
[all...]
/linux-master/drivers/dma/ti/
H A Dedma.c224 int slot[EDMA_MAX_SLOTS]; member in struct:edma_chan
249 * The slot_inuse bit for each PaRAM slot is clear unless the slot is
390 static void edma_set_chmap(struct edma_chan *echan, int slot) argument
396 slot = EDMA_CHAN_SLOT(slot);
397 edma_write_array(ecc, EDMA_DCHMAP, channel, (slot << 5));
417 * paRAM slot management functions
419 static void edma_write_slot(struct edma_cc *ecc, unsigned slot, argument
422 slot
428 edma_read_slot(struct edma_cc *ecc, unsigned slot, struct edmacc_param *param) argument
454 edma_alloc_slot(struct edma_cc *ecc, int slot) argument
488 edma_free_slot(struct edma_cc *ecc, unsigned slot) argument
528 edma_get_position(struct edma_cc *ecc, unsigned slot, bool dst) argument
1518 u32 slot; local
[all...]
/linux-master/drivers/scsi/mvsas/
H A Dmv_sas.c15 struct mvs_slot_info *slot; local
16 slot = task->lldd_task;
17 *tag = slot->slot_tag;
315 struct mvs_slot_info *slot = &mvi->slot_info[tag]; local
346 buf_tmp = slot->buf;
347 buf_tmp_dma = slot->buf_dma;
370 slot->response = buf_tmp;
376 * Fill in TX ring and command slot header
378 slot->tx = mvi->tx_prod;
435 struct mvs_slot_info *slot; local
563 struct mvs_slot_info *slot; local
695 struct mvs_slot_info *slot; local
867 mvs_slot_task_free(struct mvs_info *mvi, struct sas_task *task, struct mvs_slot_info *slot, u32 slot_idx) argument
1372 struct mvs_slot_info *slot; local
1386 struct mvs_slot_info *slot = task->lldd_task; local
1481 struct mvs_slot_info *slot = &mvi->slot_info[slot_idx]; local
1532 struct mvs_slot_info *slot = &mvi->slot_info[slot_idx]; local
1661 struct mvs_slot_info *slot, *slot2; local
[all...]
/linux-master/drivers/eisa/
H A Deisa-bus.c49 x = (root->bus_nr << 8) | edev->slot;
184 int slot)
190 sig_addr = SLOT_ADDRESS(root, slot) + EISA_VENDOR_ID_OFFSET;
197 edev->slot = slot;
198 edev->state = inb(SLOT_ADDRESS(root, slot) + EISA_CONFIG_OFFSET)
200 edev->base_addr = SLOT_ADDRESS(root, slot);
207 dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot);
257 int slot)
262 /* Don't register resource for slot
182 eisa_init_device(struct eisa_root_device *root, struct eisa_device *edev, int slot) argument
255 eisa_request_resources(struct eisa_root_device *root, struct eisa_device *edev, int slot) argument
[all...]
/linux-master/fs/btrfs/
H A Droot-tree.c26 static void btrfs_read_root_item(struct extent_buffer *eb, int slot, argument
32 len = btrfs_item_size(eb, slot);
33 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot),
74 int slot; local
99 slot = path->slots[0];
101 btrfs_item_key_to_cpu(l, &found_key, slot);
109 btrfs_read_root_item(l, slot, root_item);
136 int slot; local
158 slot = path->slots[0];
159 ptr = btrfs_item_ptr_offset(l, slot);
[all...]
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_classifier.c24 /* offsets from FT1 slot base i.e. slot 1 start */
55 /* offsets from FT3 slot n's base */
101 #define RX_CLASS_FT_FT1_MATCH(slot) \
102 ((BIT(slot) << RX_CLASS_FT_FT1_MATCH_SHIFT) & \
302 int slot, const u8 *addr, const u8 *mask)
307 WARN(slot >= FT1_NUM_SLOTS, "invalid slot: %d\n", slot);
309 rx_class_ft1_set_da(miig_rt, slice, slot, add
301 icssg_class_ft1_add_mcast(struct regmap *miig_rt, int slice, int slot, const u8 *addr, const u8 *mask) argument
417 int slot = 2; local
[all...]
/linux-master/block/
H A Dblk-crypto-fallback.c92 static void blk_crypto_fallback_evict_keyslot(unsigned int slot) argument
94 struct blk_crypto_fallback_keyslot *slotp = &blk_crypto_keyslots[slot];
110 unsigned int slot)
112 struct blk_crypto_fallback_keyslot *slotp = &blk_crypto_keyslots[slot];
119 blk_crypto_fallback_evict_keyslot(slot);
125 blk_crypto_fallback_evict_keyslot(slot);
133 unsigned int slot)
135 blk_crypto_fallback_evict_keyslot(slot);
188 blk_crypto_fallback_alloc_cipher_req(struct blk_crypto_keyslot *slot, argument
194 int keyslot_idx = blk_crypto_keyslot_index(slot);
108 blk_crypto_fallback_keyslot_program(struct blk_crypto_profile *profile, const struct blk_crypto_key *key, unsigned int slot) argument
131 blk_crypto_fallback_keyslot_evict(struct blk_crypto_profile *profile, const struct blk_crypto_key *key, unsigned int slot) argument
266 struct blk_crypto_keyslot *slot; local
383 struct blk_crypto_keyslot *slot; local
[all...]
/linux-master/arch/x86/kernel/
H A Dmmconf-fam10h_64.c23 u32 slot; member in struct:pci_hostbridge_probe
57 unsigned slot; local
82 slot = pci_probes[i].slot;
83 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID);
123 reg = read_pci_config(bus, slot, 1, 0x80 + (i << 3));
128 reg = read_pci_config(bus, slot, 1, 0x84 + (i << 3));
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c797 * vmw_mksstat_get_kern_slot: Acquires a slot for a single kernel-internal
800 * Find a slot for a single kernel-internal mksGuestStat instance descriptor.
804 * @pid: Process for which a slot is sought.
806 * Return: Non-negative slot on success, negative error code on error.
815 const size_t slot = (i + base) % ARRAY_SIZE(dev_priv->mksstat_kern_pids); local
818 if (pid == (pid_t)atomic_read(&dev_priv->mksstat_kern_pids[slot]))
819 return (int)slot;
822 if (!atomic_cmpxchg(&dev_priv->mksstat_kern_pids[slot], 0, MKSSTAT_PID_RESERVED)) {
823 const int ret = mksstat_init_kern_id(&dev_priv->mksstat_kern_pages[slot]);
826 /* Reset top-timer tracking for this slot */
1005 size_t i, slot; local
1152 const size_t slot = arg->id; local
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_reg_sr.c222 unsigned int slot = 0; local
236 if (slot == RING_MAX_NONPRIV_SLOTS) {
244 xe_mmio_write32(gt, RING_FORCE_TO_NONPRIV(mmio_base, slot),
246 slot++;
250 for (; slot < RING_MAX_NONPRIV_SLOTS; slot++) {
253 xe_mmio_write32(gt, RING_FORCE_TO_NONPRIV(mmio_base, slot), addr);
/linux-master/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-video.c228 int slot, dma_addr_t addr)
238 rzg2l_cru_write(cru, AMnMBxADDRL(slot), addr);
239 rzg2l_cru_write(cru, AMnMBxADDRH(slot), 0);
243 * Moves a buffer from the queue to the HW slot. If no buffer is
248 static void rzg2l_cru_fill_hw_slot(struct rzg2l_cru_dev *cru, int slot) argument
254 /* A already populated slot shall never be overwritten. */
255 if (WARN_ON(cru->queue_buf[slot]))
258 dev_dbg(cru->dev, "Filling HW slot: %d\n", slot);
261 cru->queue_buf[slot]
227 rzg2l_cru_set_slot_addr(struct rzg2l_cru_dev *cru, int slot, dma_addr_t addr) argument
280 unsigned int slot; local
537 int slot; local
[all...]
/linux-master/arch/x86/kvm/mmu/
H A Dmmu_internal.h166 int mmu_try_to_unsync_pages(struct kvm *kvm, const struct kvm_memory_slot *slot,
169 void kvm_mmu_gfn_disallow_lpage(const struct kvm_memory_slot *slot, gfn_t gfn);
170 void kvm_mmu_gfn_allow_lpage(const struct kvm_memory_slot *slot, gfn_t gfn);
172 struct kvm_memory_slot *slot, u64 gfn,
236 struct kvm_memory_slot *slot; member in struct:kvm_page_fault
318 fault.slot = kvm_vcpu_gfn_to_memslot(vcpu, fault.gfn);
365 const struct kvm_memory_slot *slot, gfn_t gfn,
/linux-master/drivers/net/ethernet/broadcom/
H A Dbgmac.c114 struct bgmac_slot_info *slot; local
123 slot = &ring->slots[i];
125 dma_desc->addr_low = cpu_to_le32(lower_32_bits(slot->dma_addr));
126 dma_desc->addr_high = cpu_to_le32(upper_32_bits(slot->dma_addr));
138 struct bgmac_slot_info *slot = &ring->slots[index]; local
162 slot->dma_addr = dma_map_single(dma_dev, skb->data, skb_headlen(skb),
164 if (unlikely(dma_mapping_error(dma_dev, slot->dma_addr)))
179 slot = &ring->slots[index];
180 slot->dma_addr = skb_frag_dma_map(dma_dev, frag, 0,
182 if (unlikely(dma_mapping_error(dma_dev, slot
216 struct bgmac_slot_info *slot = &ring->slots[index]; local
250 struct bgmac_slot_info *slot = &ring->slots[slot_idx]; local
333 bgmac_dma_rx_skb_for_slot(struct bgmac *bgmac, struct bgmac_slot_info *slot) argument
399 bgmac_dma_rx_poison_buf(struct device *dma_dev, struct bgmac_slot_info *slot) argument
426 struct bgmac_slot_info *slot = &ring->slots[ring->start]; local
530 struct bgmac_slot_info *slot; local
556 struct bgmac_slot_info *slot; local
[all...]
/linux-master/drivers/input/rmi4/
H A Drmi_2d_sensor.c24 int slot)
61 sensor->tracking_pos[slot].x = obj->x;
62 sensor->tracking_pos[slot].y = obj->y;
68 int slot)
75 input_mt_slot(input, sensor->tracking_slots[slot]);
77 input_mt_slot(input, slot);
83 obj->x = sensor->tracking_pos[slot].x;
84 obj->y = sensor->tracking_pos[slot].y;
107 __func__, slot, obj->type, obj->x, obj->y, obj->z,
22 rmi_2d_sensor_abs_process(struct rmi_2d_sensor *sensor, struct rmi_2d_sensor_abs_object *obj, int slot) argument
66 rmi_2d_sensor_abs_report(struct rmi_2d_sensor *sensor, struct rmi_2d_sensor_abs_object *obj, int slot) argument
/linux-master/arch/mips/pci/
H A Dpci-mt7620.c140 unsigned int slot = PCI_SLOT(devfn); local
149 address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) |
172 unsigned int slot = PCI_SLOT(devfn); local
181 address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) |
355 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
361 if ((dev->bus->number == 0) && (slot == 0)) {
366 } else if ((dev->bus->number == 1) && (slot == 0x0)) {
369 dev_err(&dev->dev, "no irq found - bus=0x%x, slot = 0x%x\n",
370 dev->bus->number, slot);
373 dev_info(&dev->dev, "card - bus=0x%x, slot
[all...]
H A Dfixup-lemote2f.c50 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
56 virq = irq_tab[slot][pin];
57 printk(KERN_INFO "slot: %d, pin: %d, irq: %d\n", slot, pin,
83 printk(KERN_INFO "strange PCI slot number.\n");
/linux-master/drivers/mmc/host/
H A Dmmc_hsq.c32 mrq = hsq->slot[tag].mrq;
46 struct hsq_slot *slot; local
66 slot = &hsq->slot[hsq->next_tag];
67 hsq->mrq = slot->mrq;
166 * Clear current completed slot request to make a room for new request.
168 hsq->slot[hsq->next_tag].mrq = NULL;
230 hsq->slot[tag].mrq = mrq;
353 hsq->slot = devm_kcalloc(mmc_dev(mmc), hsq->num_slots,
355 if (!hsq->slot)
[all...]
H A Ddw_mmc-starfive.c56 static int dw_mci_starfive_execute_tuning(struct dw_mci_slot *slot, argument
60 struct dw_mci *host = slot->host;
68 ret = mmc_send_tuning(slot->mmc, opcode, NULL);
/linux-master/net/unix/
H A Ddiag.c202 int num, s_num, slot, s_slot; local
210 for (slot = s_slot; slot < UNIX_HASH_SIZE; s_num = 0, slot++) {
214 spin_lock(&net->unx.table.locks[slot]);
215 sk_for_each(sk, &net->unx.table.buckets[slot]) {
224 spin_unlock(&net->unx.table.locks[slot]);
230 spin_unlock(&net->unx.table.locks[slot]);
233 cb->args[0] = slot;
/linux-master/sound/pci/ctxfi/
H A Dctimap.c35 if (pos_ent->slot > entry->slot) {
80 entry->next = entry->addr = entry->user = entry->slot = 0;
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/pm/
H A Dnv40.c39 nvkm_wr32(device, 0x00a400 + dom->addr + (ctr->slot * 0x40), src);
40 nvkm_wr32(device, 0x00a420 + dom->addr + (ctr->slot * 0x40), log);
49 switch (ctr->slot) {
/linux-master/drivers/pci/hotplug/
H A Dacpiphp_ampere_altra.c39 static int set_attention_status(struct hotplug_slot *slot, u8 status) argument
48 bus = slot->pci_slot->bus;
75 static int get_attention_status(struct hotplug_slot *slot, u8 *status) argument
/linux-master/include/linux/
H A Dnubus.h41 int slot; member in struct:nubus_board
42 /* For slot 0, this is bogus. */
181 /* Returns a pointer to the "standard" slot space. */
182 static inline void *nubus_slot_addr(int slot) argument
184 return (void *)(0xF0000000 | (slot << 24));
/linux-master/drivers/media/pci/cx23885/
H A Daltera-ci.c257 static int altera_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, argument
267 if (0 != slot)
293 int slot, int addr)
295 return altera_ci_op_cam(en50221, slot, 0, NETUP_CI_FLG_RD, addr, 0);
299 int slot, int addr, u8 data)
301 return altera_ci_op_cam(en50221, slot, 0, 0, addr, data);
305 int slot, u8 addr)
307 return altera_ci_op_cam(en50221, slot, NETUP_CI_FLG_CTL,
311 static int altera_ci_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, argument
314 return altera_ci_op_cam(en50221, slot, NETUP_CI_FLG_CT
292 altera_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221, int slot, int addr) argument
298 altera_ci_write_attribute_mem(struct dvb_ca_en50221 *en50221, int slot, int addr, u8 data) argument
304 altera_ci_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr) argument
317 altera_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot) argument
360 altera_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) argument
366 altera_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot) argument
443 altera_poll_ci_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) argument
[all...]

Completed in 699 milliseconds

1234567891011>>