| /include/linux/ |
| A D | folio_queue.h | 124 set_bit(slot, &folioq->marks); in folioq_mark() 137 clear_bit(slot, &folioq->marks); in folioq_unmark() 163 set_bit(slot, &folioq->marks2); in folioq_mark2() 198 return slot; in folioq_append() 220 folioq_mark(folioq, slot); in folioq_append_mark() 221 return slot; in folioq_append_mark() 236 return folioq->vec.folios[slot]; in folioq_folio() 250 return folioq->orders[slot]; in folioq_folio_order() 277 folioq->vec.folios[slot] = NULL; in folioq_clear() 278 folioq_unmark(folioq, slot); in folioq_clear() [all …]
|
| A D | pci_hotplug.h | 39 int (*enable_slot) (struct hotplug_slot *slot); 40 int (*disable_slot) (struct hotplug_slot *slot); 42 int (*hardware_test) (struct hotplug_slot *slot, u32 value); 47 int (*reset_slot) (struct hotplug_slot *slot, bool probe); 68 return pci_slot_name(slot->pci_slot); in hotplug_slot_name() 77 int pci_hp_add(struct hotplug_slot *slot); 79 void pci_hp_del(struct hotplug_slot *slot); 80 void pci_hp_destroy(struct hotplug_slot *slot); 81 void pci_hp_deregister(struct hotplug_slot *slot); 84 #define pci_hp_register(slot, pbus, devnr, name) \ argument [all …]
|
| A D | radix-tree.h | 179 return rcu_dereference(*slot); in radix_tree_deref_slot() 227 void __rcu **slot, void *entry); 406 slot++; in radix_tree_next_slot() 414 slot += offset; in radix_tree_next_slot() 421 slot++; in radix_tree_next_slot() 424 if (likely(*slot)) in radix_tree_next_slot() 436 return slot; in radix_tree_next_slot() 451 slot || (slot = radix_tree_next_chunk(root, iter, 0)) ; \ 452 slot = radix_tree_next_slot(slot, iter, 0)) 467 slot || (slot = radix_tree_next_chunk(root, iter, \ [all …]
|
| A D | objpool.h | 128 struct objpool_slot *slot = pool->cpu_slots[cpu]; in __objpool_try_get_slot() local 130 uint32_t head = smp_load_acquire(&slot->head); in __objpool_try_get_slot() 132 while (head != READ_ONCE(slot->last)) { in __objpool_try_get_slot() 148 head = READ_ONCE(slot->head); in __objpool_try_get_slot() 153 obj = READ_ONCE(slot->entries[head & slot->mask]); in __objpool_try_get_slot() 156 if (try_cmpxchg_release(&slot->head, &head, head + 1)) in __objpool_try_get_slot() 193 struct objpool_slot *slot = pool->cpu_slots[cpu]; in __objpool_try_add_slot() local 197 tail = READ_ONCE(slot->tail); in __objpool_try_add_slot() 200 head = READ_ONCE(slot->head); in __objpool_try_add_slot() 206 WRITE_ONCE(slot->entries[tail & slot->mask], obj); in __objpool_try_add_slot() [all …]
|
| A D | cb710.h | 39 struct cb710_slot slot[]; member 52 static inline void cb710_write_port_##t(struct cb710_slot *slot, \ 55 iowrite##t(value, slot->iobase + port); \ 58 static inline u##t cb710_read_port_##t(struct cb710_slot *slot, \ 61 return ioread##t(slot->iobase + port); \ 64 static inline void cb710_modify_port_##t(struct cb710_slot *slot, \ 68 (ioread##t(slot->iobase + port) & ~clear)|set, \ 69 slot->iobase + port); \ 78 void cb710_set_irq_handler(struct cb710_slot *slot, 91 return dev_get_drvdata(slot->pdev.dev.parent); in cb710_slot_to_chip() [all …]
|
| A D | kvm_host.h | 620 return slot && (slot->flags & KVM_MEM_GUEST_MEMFD); in kvm_slot_can_be_private() 1173 if (iter->slot->base_gfn + iter->slot->npages <= start) in kvm_memslot_iter_start() 1779 if (!slot) in try_get_memslot() 1782 if (gfn >= slot->base_gfn && gfn < slot->base_gfn + slot->npages) in try_get_memslot() 1783 return slot; in try_get_memslot() 1802 slot = NULL; in search_memslots() 1806 if (gfn < slot->base_gfn + slot->npages) in search_memslots() 1822 slot = try_get_memslot(slot, gfn); in ____gfn_to_memslot() 1823 if (slot) in ____gfn_to_memslot() 1824 return slot; in ____gfn_to_memslot() [all …]
|
| A D | of_pci.h | 32 int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin); 35 of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin) in of_irq_parse_and_map_pci() argument
|
| A D | dlm.h | 19 int slot; /* 1 to MAX_INT */ member 33 void (*recover_slot) (void *ops_arg, struct dlm_slot *slot);
|
| A D | blk-crypto-profile.h | 39 unsigned int slot); 59 unsigned int slot); 202 unsigned int blk_crypto_keyslot_index(struct blk_crypto_keyslot *slot);
|
| A D | iov_iter.h | 152 unsigned int slot = iter->folioq_slot; in iterate_folioq() local 155 if (slot == folioq_nr_slots(folioq)) { in iterate_folioq() 158 slot = 0; in iterate_folioq() 162 struct folio *folio = folioq_folio(folioq, slot); in iterate_folioq() 170 fsize = folioq_folio_size(folioq, slot); in iterate_folioq() 181 slot++; in iterate_folioq() 182 if (slot == folioq_nr_slots(folioq) && folioq->next) { in iterate_folioq() 184 slot = 0; in iterate_folioq() 191 iter->folioq_slot = slot; in iterate_folioq()
|
| 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);
|
| A D | kvm_dirty_ring.h | 59 u32 slot, u64 offset) in kvm_dirty_ring_push() argument 83 void kvm_dirty_ring_push(struct kvm_vcpu *vcpu, u32 slot, u64 offset);
|
| A D | nubus.h | 41 int slot; member 182 static inline void *nubus_slot_addr(int slot) in nubus_slot_addr() argument 184 return (void *)(0xF0000000 | (slot << 24)); in nubus_slot_addr()
|
| A D | fsl_devices.h | 140 void(*hw_ctrl)(int slot, int enable); 141 int(*voltage_set)(int slot, int vcc, int vpp);
|
| /include/media/ |
| A D | dvb_ca_en50221.h | 62 int slot, int address); 64 int slot, int address, u8 value); 67 int slot, u8 address); 69 int slot, u8 address, u8 value); 72 int slot, u8 *ebuf, int ecount); 74 int slot, u8 *ebuf, int ecount); 76 int (*slot_reset)(struct dvb_ca_en50221 *ca, int slot); 77 int (*slot_shutdown)(struct dvb_ca_en50221 *ca, int slot); 78 int (*slot_ts_enable)(struct dvb_ca_en50221 *ca, int slot); 80 int (*poll_slot_status)(struct dvb_ca_en50221 *ca, int slot, int open); [all …]
|
| /include/linux/input/ |
| A D | mt.h | 46 int slot; member 53 static inline void input_mt_set_value(struct input_mt_slot *slot, in input_mt_set_value() argument 56 slot->abs[code - ABS_MT_FIRST] = value; in input_mt_set_value() 59 static inline int input_mt_get_value(const struct input_mt_slot *slot, in input_mt_get_value() argument 62 return slot->abs[code - ABS_MT_FIRST]; in input_mt_get_value() 65 static inline bool input_mt_is_active(const struct input_mt_slot *slot) in input_mt_is_active() argument 67 return input_mt_get_value(slot, ABS_MT_TRACKING_ID) >= 0; in input_mt_is_active() 71 const struct input_mt_slot *slot) in input_mt_is_used() argument 73 return slot->frame == mt->frame; in input_mt_is_used() 85 static inline void input_mt_slot(struct input_dev *dev, int slot) in input_mt_slot() argument [all …]
|
| A D | touch-overlay.h | 21 struct input_mt_pos *pos, int slot);
|
| /include/linux/platform_data/ |
| A D | mmc-omap.h | 84 int (*set_bus_mode)(struct device *dev, int slot, int bus_mode); 85 int (*set_power)(struct device *dev, int slot, 87 int (*get_ro)(struct device *dev, int slot); 88 void (*remux)(struct device *dev, int slot, int power_on); 90 void (*before_set_reg)(struct device *dev, int slot, 93 void (*after_set_reg)(struct device *dev, int slot, 104 int (*get_cover_state)(struct device *dev, int slot); 110 int (*card_detect)(struct device *dev, int slot); 117 extern void omap_mmc_notify_cover_event(struct device *dev, int slot,
|
| /include/uapi/linux/ |
| A D | pci.h | 31 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) argument
|
| /include/linux/mfd/ |
| A D | menelaus.h | 18 extern int menelaus_set_mmc_opendrain(int slot, int enable); 19 extern int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_on);
|
| /include/soc/qcom/ |
| A D | ice.h | 17 int qcom_ice_program_key(struct qcom_ice *ice, unsigned int slot, 19 int qcom_ice_evict_key(struct qcom_ice *ice, int slot);
|
| /include/sound/ac97/ |
| A D | controller.h | 57 int (*write)(struct ac97_controller *adrv, int slot, 59 int (*read)(struct ac97_controller *adrv, int slot, unsigned short reg);
|
| /include/sound/ |
| 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);
|
| /include/linux/ssb/ |
| A D | ssb_driver_pci.h | 98 int ssb_pcicore_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin); 125 int ssb_pcicore_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in ssb_pcicore_pcibios_map_irq() argument
|
| /include/rv/ |
| A D | da_monitor.h | 322 int slot; \ 324 slot = rv_get_task_monitor_slot(); \ 325 if (slot < 0 || slot >= RV_PER_TASK_MONITOR_INIT) \ 326 return slot; \ 328 task_mon_slot_##name = slot; \
|