/linux-master/drivers/dma/ti/ |
H A D | edma.c | 224 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 D | mv_sas.c | 15 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 D | eisa-bus.c | 49 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 D | root-tree.c | 26 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 159 slot = path->slots[0]; 160 ptr = btrfs_item_ptr_offset(l, slot); [all...] |
/linux-master/block/ |
H A D | blk-crypto-fallback.c | 92 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 D | mmconf-fam10h_64.c | 23 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 D | vmwgfx_msg.c | 797 * 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/arch/x86/kvm/mmu/ |
H A D | mmu_internal.h | 166 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 307 fault.slot = kvm_vcpu_gfn_to_memslot(vcpu, fault.gfn); 343 const struct kvm_memory_slot *slot, gfn_t gfn,
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_reg_sr.c | 222 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 D | rzg2l-video.c | 228 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/drivers/net/ethernet/broadcom/ |
H A D | bgmac.c | 114 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 D | rmi_2d_sensor.c | 24 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 D | pci-mt7620.c | 140 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 D | fixup-lemote2f.c | 50 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 D | mmc_hsq.c | 32 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 D | dw_mmc-starfive.c | 56 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 D | diag.c | 202 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 D | ctimap.c | 35 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 D | nv40.c | 39 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 D | acpiphp_ampere_altra.c | 39 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 D | nubus.h | 41 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 D | altera-ci.c | 257 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...] |
/linux-master/drivers/ipack/carriers/ |
H A D | tpci200.c | 59 if (dev->slot >= TPCI200_NB_SLOT) { 61 "Slot [%d:%d] doesn't exist! Last tpci200 slot is %d.\n", 62 dev->bus->bus_nr, dev->slot, TPCI200_NB_SLOT-1); 143 /* callback to the IRQ handler for the corresponding slot */ 152 "No registered ISR for slot [%d:%d]!. IRQ will be disabled.\n", 174 if (tpci200->slots[dev->slot].irq == NULL) { 179 tpci200_disable_irq(tpci200, dev->slot); 180 slot_irq = tpci200->slots[dev->slot].irq; 182 RCU_INIT_POINTER(tpci200->slots[dev->slot].irq, NULL); 203 if (tpci200->slots[dev->slot] [all...] |
/linux-master/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 176 int slot; member in struct:isp1760_qh 491 * INT_PTD_OFFSET, and ATL_PTD_OFFSET. 'slot' should be less than 32. 493 static void isp1760_ptd_read(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, argument 496 u16 src_offset = ptd_offset + slot * sizeof(*ptd); 506 static void isp1763_ptd_read(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, argument 509 u16 src_offset = ptd_offset + slot * sizeof(*ptd); 524 static void ptd_read(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, argument 530 return isp1760_ptd_read(hcd, ptd_offset, slot, ptd); 532 isp1763_ptd_read(hcd, ptd_offset, slot, ptd); 535 static void isp1763_ptd_write(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, argument 554 isp1760_ptd_write(void __iomem *base, u32 ptd_offset, u32 slot, struct ptd *ptd) argument 570 ptd_write(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, struct ptd *ptd) argument 1000 start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot, struct isp1760_slotinfo *slots, struct isp1760_qtd *qtd, struct isp1760_qh *qh, struct ptd *ptd) argument 1357 int slot; local 1558 int slot; local [all...] |
/linux-master/drivers/spi/ |
H A D | spi-bcm-qspi.c | 779 static inline u8 read_rxram_slot_u8(struct bcm_qspi *qspi, int slot) argument 781 u32 slot_offset = MSPI_RXRAM + (slot << 3) + 0x4; 787 static inline u16 read_rxram_slot_u16(struct bcm_qspi *qspi, int slot) argument 790 u32 lsb_offset = reg_offset + (slot << 3) + 0x4; 791 u32 msb_offset = reg_offset + (slot << 3); 797 static inline u32 read_rxram_slot_u32(struct bcm_qspi *qspi, int slot) argument 800 u32 offset = reg_offset + (slot << 3); 809 static inline u64 read_rxram_slot_u64(struct bcm_qspi *qspi, int slot) argument 812 u32 lsb_offset = reg_offset + (slot << 3) + 0x4; 813 u32 msb_offset = reg_offset + (slot << 827 int slot; local 883 write_txram_slot_u8(struct bcm_qspi *qspi, int slot, u8 val) argument 892 write_txram_slot_u16(struct bcm_qspi *qspi, int slot, u16 val) argument 903 write_txram_slot_u32(struct bcm_qspi *qspi, int slot, u32 val) argument 912 write_txram_slot_u64(struct bcm_qspi *qspi, int slot, u64 val) argument 925 read_cdram_slot(struct bcm_qspi *qspi, int slot) argument 930 write_cdram_slot(struct bcm_qspi *qspi, int slot, u32 val) argument 939 int slot = 0, tstatus = 0; local [all...] |