/linux-master/include/linux/ |
H A D | kvm_host.h | 102 * error pfns indicate that the gfn is in slot but faild to 121 * translated to pfn - it is not in slot or failed to 129 /* noslot pfn indicates that the gfn is not in slot. */ 267 struct kvm_memory_slot *slot; member in struct:kvm_gfn_range 605 static inline bool kvm_slot_can_be_private(const struct kvm_memory_slot *slot) argument 607 return slot && (slot->flags & KVM_MEM_GUEST_MEMFD); 610 static inline bool kvm_slot_dirty_track_enabled(const struct kvm_memory_slot *slot) argument 612 return slot->flags & KVM_MEM_LOG_DIRTY_PAGES; 726 * The mapping table from slot i 1061 struct kvm_memory_slot *slot; local 1076 struct kvm_memory_slot *slot; member in struct:kvm_memslot_iter 1094 struct kvm_memory_slot *slot; local 1702 try_get_memslot(struct kvm_memory_slot *slot, gfn_t gfn) argument 1723 struct kvm_memory_slot *slot; local 1744 struct kvm_memory_slot *slot; local 1772 __gfn_to_hva_memslot(const struct kvm_memory_slot *slot, gfn_t gfn) argument 1791 hva_to_gfn_memslot(unsigned long hva, struct kvm_memory_slot *slot) argument 2439 kvm_gmem_get_pfn(struct kvm *kvm, struct kvm_memory_slot *slot, gfn_t gfn, kvm_pfn_t *pfn, int *max_order) argument [all...] |
H A D | dca.h | 63 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot); 64 void dca_sysfs_remove_req(struct dca_provider *dca, int slot);
|
H A D | fsl_devices.h | 141 void(*hw_ctrl)(int slot, int enable); 142 int(*voltage_set)(int slot, int vcc, int vpp);
|
H A D | kvm_dirty_ring.h | 9 * @dirty_index: free running counter that points to the next slot in 58 u32 slot, u64 offset) 90 void kvm_dirty_ring_push(struct kvm_vcpu *vcpu, u32 slot, u64 offset); 57 kvm_dirty_ring_push(struct kvm_vcpu *vcpu, u32 slot, u64 offset) argument
|
/linux-master/drivers/pci/hotplug/ |
H A D | pnv_php.c | 249 static void pnv_php_add_pdns(struct pnv_php_slot *slot) argument 251 struct pci_controller *hose = pci_bus_to_host(slot->bus); 253 pci_traverse_device_nodes(slot->dn, pnv_php_add_one_pdn, hose); 329 static inline struct pnv_php_slot *to_pnv_php_slot(struct hotplug_slot *slot) argument 331 return container_of(slot, struct pnv_php_slot, slot); 334 int pnv_php_set_slot_power_state(struct hotplug_slot *slot, argument 337 struct pnv_php_slot *php_slot = to_pnv_php_slot(slot); 373 static int pnv_php_get_power_state(struct hotplug_slot *slot, u8 *state) argument 375 struct pnv_php_slot *php_slot = to_pnv_php_slot(slot); 395 pnv_php_get_adapter_state(struct hotplug_slot *slot, u8 *state) argument 416 pnv_php_get_attention_state(struct hotplug_slot *slot, u8 *state) argument 424 pnv_php_set_attention_state(struct hotplug_slot *slot, u8 state) argument 448 struct hotplug_slot *slot = &php_slot->slot; local 531 pnv_php_reset_slot(struct hotplug_slot *slot, bool probe) argument 562 pnv_php_enable_slot(struct hotplug_slot *slot) argument 569 pnv_php_disable_slot(struct hotplug_slot *slot) argument [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_beacon.c | 45 * Long slot time : 2x cwmin 46 * Short slot time : 4x cwmin 138 int slot) 148 vif = priv->beacon.bslot[slot]; 168 ath_dbg(common, XMIT, "No free CAB slot\n"); 192 int slot) 209 vif = priv->beacon.bslot[slot]; 271 int slot; local 277 slot = ((tsftu % intval) * ATH9K_HTC_MAX_BCN_VIF) / intval; 278 slot 137 ath9k_htc_send_buffered(struct ath9k_htc_priv *priv, int slot) argument 191 ath9k_htc_send_beacon(struct ath9k_htc_priv *priv, int slot) argument 291 int slot; local [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | sun4d_irq.c | 29 * SBUS interrupts are encodes as a combination of board, level and slot. 38 static unsigned int sun4d_encode_irq(int board, int lvl, int slot) argument 40 return (board + 1) << 5 | (lvl << 2) | slot; 83 * (plus one), the SBUS level, and the SBUS slot number. Sun4D 101 unsigned int sbino, slot; local 122 /* Loop for each pending SBI slot */ 123 slot = (1 << sbil); 124 for (idx = 0; mask != 0; idx++, slot <<= 1) { 128 if (!(mask & slot)) 131 mask &= ~slot; 142 release_sbi(SBI2DEVID(sbino), slot); local 333 int board, slot; local [all...] |
/linux-master/drivers/dca/ |
H A D | dca-core.c | 173 int err, slot = -ENODEV; local 198 slot = dca->ops->add_requester(dca, dev); 199 if (slot >= 0) 205 if (slot < 0) 206 return slot; 208 err = dca_sysfs_add_req(dca, dev, slot); 228 int slot; local 240 slot = dca->ops->remove_requester(dca, dev); 243 if (slot < 0) 244 return slot; [all...] |
/linux-master/drivers/misc/ |
H A D | hpilo.c | 265 static int ilo_ccb_setup(struct ilo_hwinfo *hw, struct ccb_data *data, int slot) argument 319 driver_ccb->channel = slot; 320 ilo_ccb->channel = slot; 322 driver_ccb->ccb_u5.db_base = hw->db_vaddr + (slot << L2_DB_SIZE); 328 static void ilo_ccb_open(struct ilo_hwinfo *hw, struct ccb_data *data, int slot) argument 335 (hw->ram_vaddr + (slot * ILOHW_CCB_SZ)); 421 int slot; local 427 for (slot = 0; slot < max_ccb; slot 533 int slot; local 564 int slot, error; local 773 int devnum, slot, start, error = 0; local [all...] |
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | spu_utils.h | 23 unsigned int slot[4]; member in union:__anon157 51 ((char *)(&(dummy->_field)) - (char *)(&(dummy->gprs[0].slot[0])))
|
/linux-master/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.h | 76 int slot); 80 int slot);
|
/linux-master/arch/alpha/kernel/ |
H A D | sys_sable.c | 66 * 0 PCI slot 0 34 70 * 4 PCI slot 1 35 71 * 5 PCI slot 2 36 172 * The device to slot mapping looks like: 181 * 6 PCI on board slot 0 182 * 7 PCI on board slot 1 183 * 8 PCI on board slot 2 196 sable_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument 206 { 32+2, 32+2, 32+2, 32+2, 32+2}, /* IdSel 6, slot 0 */ 207 { 32+3, 32+3, 32+3, 32+3, 32+3}, /* IdSel 7, slot 378 lynx_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument 410 int slot, pin = *pinp; local [all...] |
H A D | sys_takara.c | 153 * because the SIO ISA bridge can also be slot 7. However, the SIO 159 takara_map_irq_srm(const struct pci_dev *dev, u8 slot, u8 pin) argument 162 { 16+3, 16+3, 16+3, 16+3, 16+3}, /* slot 6 == device 3 */ 163 { 16+2, 16+2, 16+2, 16+2, 16+2}, /* slot 7 == device 2 */ 164 { 16+1, 16+1, 16+1, 16+1, 16+1}, /* slot 8 == device 1 */ 165 { -1, -1, -1, -1, -1}, /* slot 9 == nothing */ 166 { -1, -1, -1, -1, -1}, /* slot 10 == nothing */ 167 { -1, -1, -1, -1, -1}, /* slot 11 == nothing */ 169 { 12, 12, 13, 14, 15}, /* slot 12 == nothing */ 170 { 8, 8, 9, 19, 11}, /* slot 1 190 takara_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument 216 int slot = PCI_SLOT(dev->devfn); local [all...] |
H A D | sys_eiger.c | 145 eiger_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument 165 int slot, pin = *pinp; local 180 slot = PCI_SLOT(dev->devfn); 186 slot = PCI_SLOT(dev->devfn); 196 return slot;
|
/linux-master/drivers/usb/early/ |
H A D | ehci-dbgp.c | 67 u32 slot; member in struct:ehci_dev 364 static u32 __init find_cap(u32 num, u32 slot, u32 func, int cap) argument 369 if (!(read_pci_config_16(num, slot, func, PCI_STATUS) & 373 pos = read_pci_config_byte(num, slot, func, PCI_CAPABILITY_LIST); 378 id = read_pci_config_byte(num, slot, func, pos+PCI_CAP_LIST_ID); 384 pos = read_pci_config_byte(num, slot, func, 390 static u32 __init __find_dbgp(u32 bus, u32 slot, u32 func) argument 394 class = read_pci_config(bus, slot, func, PCI_CLASS_REVISION); 398 return find_cap(bus, slot, func, PCI_CAP_ID_EHCI_DEBUG); 403 u32 bus, slot, fun local 828 u32 bus, slot, func, cap; local [all...] |
/linux-master/include/sound/ |
H A D | pxa2xx-lib.h | 42 extern int pxa2xx_ac97_read(int slot, unsigned short reg); 43 extern int pxa2xx_ac97_write(int slot, unsigned short reg, unsigned short val);
|
/linux-master/drivers/input/touchscreen/ |
H A D | novatek-nvt-ts.c | 93 int i, error, slot, x, y; local 108 slot = touch[0] >> NVT_TS_TOUCH_SLOT_SHIFT; 109 if (slot < 1 || slot > data->max_touches) { 110 dev_warn(dev, "slot %d out of range, ignoring\n", slot); 123 dev_warn(dev, "slot %d unknown state %d\n", slot, touch[0] & 7); 127 slot--; 131 input_mt_slot(data->input, slot); [all...] |
/linux-master/arch/mips/pci/ |
H A D | pci-xtalk-bridge.c | 98 int slot = PCI_SLOT(dev->devfn); local 101 bridge_clr(bc, b_device[slot].reg, BRIDGE_DEV_SWAP_DIR); 124 int slot = PCI_SLOT(devfn); local 130 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; 139 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; 141 bc->ioc3_sid[slot]); 144 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; 162 int slot = PCI_SLOT(devfn); local 168 bridge_write(bc, b_pci_cfg, (busno << 16) | (slot << 11)); 180 bc->ioc3_sid[slot]); 209 int slot = PCI_SLOT(devfn); local 248 int slot = PCI_SLOT(devfn); local 435 bridge_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument 616 int slot; local [all...] |
/linux-master/fs/btrfs/ |
H A D | raid-stripe-tree.c | 26 int slot; local 52 slot = path->slots[0]; 53 btrfs_item_key_to_cpu(leaf, &key, slot); 167 int slot; local 193 slot = path->slots[0]; 195 btrfs_item_key_to_cpu(leaf, &found_key, slot); 223 num_stripes = btrfs_num_raid_stripes(btrfs_item_size(leaf, slot)); 224 stripe_extent = btrfs_item_ptr(leaf, slot, struct btrfs_stripe_extent);
|
/linux-master/arch/x86/kernel/kprobes/ |
H A D | opt.c | 363 /* Free optimized instruction slot */ 367 u8 *slot = op->optinsn.insn; local 368 if (slot) { 371 /* Record the perf event before freeing the slot */ 373 perf_event_text_poke(slot, slot, len, NULL, 0); 375 free_optinsn_slot(slot, dirty); 394 u8 *buf = NULL, *slot; local 405 op->optinsn.insn = slot = get_optinsn_slot(); 406 if (!slot) { [all...] |
/linux-master/arch/x86/kernel/ |
H A D | ldt.c | 37 static inline void *ldt_slot_va(int slot) argument 39 return (void *)(LDT_BASE_ADDR + LDT_SLOT_STRIDE * slot); 65 if (WARN_ON_ONCE((unsigned long)ldt->slot > 1)) { 68 * (if slot == -1) or is mapped into a bogus 69 * slot (if slot > 1). 79 * at ldt_slot_va(ldt->slot). 81 set_ldt(ldt_slot_va(ldt->slot), ldt->nr_entries); 181 new_ldt->slot = -1; 288 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) argument 383 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) argument [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | repair.c | 121 /* the last slot of the block map */ 134 * Using the mapping number preserves the journal order of entries for the same slot, allowing us 135 * to sort by slot while still ensuring we replay all entries with the same slot in the exact order 148 if (mapping1->block_map_slot.slot != mapping2->block_map_slot.slot) 149 return mapping1->block_map_slot.slot < mapping2->block_map_slot.slot; 381 * @slot: The slot t 383 unmap_entry(struct block_map_page *page, struct vdo_completion *completion, slot_number_t slot) argument 400 slot_number_t slot; local 418 process_slot(struct block_map_page *page, struct vdo_completion *completion, slot_number_t slot) argument 468 slot_number_t slot, last_slot; local [all...] |
/linux-master/tools/testing/radix-tree/ |
H A D | benchmark.c | 21 void **slot; local 29 radix_tree_for_each_tagged(slot, root, &iter, 0, 0) 30 sink ^= (unsigned long)slot; 32 radix_tree_for_each_slot(slot, root, &iter, 0) 33 sink ^= (unsigned long)slot;
|
/linux-master/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v1_hw.c | 890 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 D | hisi_sas_main.c | 103 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 1080 hisi_sas_do_release_task(struct hisi_hba *hisi_hba, struct sas_task *task, struct hisi_sas_slot *slot, bool need_lock) argument 1104 struct hisi_sas_slot *slot, *slot2; local 1618 struct hisi_sas_slot *slot = task->lldd_task; local 1943 struct hisi_sas_slot *slot = task->lldd_task; local 1987 struct hisi_sas_slot *slot = task->lldd_task; local 2258 struct hisi_sas_slot *slot; local [all...] |