Searched refs:slot (Results 276 - 300 of 952) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/sh/kernel/
H A Dhw_breakpoint.c53 struct perf_event **slot = this_cpu_ptr(&bp_per_reg[i]); local
55 if (!*slot) {
56 *slot = bp;
61 if (WARN_ONCE(i == sh_ubc->num_events, "Can't find any breakpoint slot"))
85 struct perf_event **slot = this_cpu_ptr(&bp_per_reg[i]); local
87 if (*slot == bp) {
88 *slot = NULL;
93 if (WARN_ONCE(i == sh_ubc->num_events, "Can't find any breakpoint slot"))
/linux-master/arch/alpha/lib/
H A Dev6-divide.S176 DIV_ONLY(cmovne compare,tmp2,quotient) # E : Latency 2, extra map slot
182 cmovne compare,tmp1,modulus # E : Latency 2, extra map slot
187 cmovne compare,tmp1,modulus # E : Latency 2, extra map slot
238 cmovlt $24,$28,$24 /* abs($24) */ # E : Latency 2, extra map slot
244 cmovlt $25,$28,$25 /* abs($25) */ # E : Latency 2, extra map slot
255 cmovlt $28,tmp1,$27 # E : Latency 2, extra map slot
/linux-master/arch/xtensa/kernel/
H A Dhw_breakpoint.c32 pr_warn("unknown slot type: %d\n", type);
134 static int alloc_slot(struct perf_event **slot, size_t n, argument
140 if (!slot[i]) {
141 slot[i] = bp;
193 static int free_slot(struct perf_event **slot, size_t n, argument
199 if (slot[i] == bp) {
200 slot[i] = NULL;
/linux-master/kernel/
H A Dkcmp.c106 struct kcmp_epoll_slot slot; local
108 if (copy_from_user(&slot, uslot, sizeof(slot)))
115 filp_epoll = fget_task(task2, slot.efd);
119 filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
/linux-master/fs/btrfs/tests/
H A Dbtrfs-tests.c157 void **slot; local
170 radix_tree_for_each_slot(slot, &fs_info->buffer_radix, &iter, 0) {
173 eb = radix_tree_deref_slot_protected(slot, &fs_info->buffer_lock);
179 slot = radix_tree_iter_retry(&iter);
182 slot = radix_tree_iter_resume(slot, &iter);
/linux-master/arch/x86/kvm/
H A Dmmu.h292 __kvm_mmu_slot_lpages(struct kvm_memory_slot *slot, unsigned long npages, argument
295 return gfn_to_index(slot->base_gfn + npages - 1,
296 slot->base_gfn, level) + 1;
300 kvm_mmu_slot_lpages(struct kvm_memory_slot *slot, int level) argument
302 return __kvm_mmu_slot_lpages(slot, slot->npages, level);
/linux-master/net/ipv4/
H A Dinet_timewait_sock.c270 unsigned int slot; local
273 for (slot = 0; slot <= hashinfo->ehash_mask; slot++) {
274 struct inet_ehash_bucket *head = &hashinfo->ehash[slot];
316 if (get_nulls_value(node) != slot)
/linux-master/tools/testing/selftests/kvm/
H A Ddirty_log_test.c30 /* The memory slot index to track dirty pages */
83 * Guest physical memory offset of the testing memory slot.
90 * Guest virtual memory offset of the testing memory slot.
231 static void dirty_log_collect_dirty_pages(struct kvm_vcpu *vcpu, int slot, argument
235 kvm_vm_get_dirty_log(vcpu->vm, slot, bitmap);
238 static void clear_log_collect_dirty_pages(struct kvm_vcpu *vcpu, int slot, argument
242 kvm_vm_get_dirty_log(vcpu->vm, slot, bitmap);
243 kvm_vm_clear_dirty_log(vcpu->vm, slot, bitmap, 0, num_pages);
316 int slot, void *bitmap,
326 TEST_ASSERT(cur->slot
315 dirty_ring_collect_one(struct kvm_dirty_gfn *dirty_gfns, int slot, void *bitmap, uint32_t num_pages, uint32_t *fetch_index) argument
354 dirty_ring_collect_dirty_pages(struct kvm_vcpu *vcpu, int slot, void *bitmap, uint32_t num_pages, uint32_t *ring_buf_idx) argument
492 log_mode_collect_dirty_pages(struct kvm_vcpu *vcpu, int slot, void *bitmap, uint32_t num_pages, uint32_t *ring_buf_idx) argument
[all...]
H A Dmemslot_perf_test.c40 * Considering that each slot needs to have at least one page up to
62 * memory slot 0, on various architectures and configurations. The
64 * last memory slot's memory size, with alignment to the largest
68 * architecture slots memory-per-slot memory-on-last-slot
188 uint32_t slot, slotoffs; local
199 slot = min(gpage / data->pages_per_slot, (uint64_t)data->nslots - 1);
200 slotoffs = gpage - (slot * data->pages_per_slot);
205 if (slot == data->nslots - 1)
206 slotpages = data->npages - slot * dat
219 vm_slot2gpa(struct vm_data *data, uint32_t slot) argument
286 uint32_t slot, host_page_size, guest_page_size; local
[all...]
/linux-master/drivers/mmc/host/
H A Dsdhci-of-aspeed.c82 * capbilities of the current slot.
84 * slot | capability | caps_reg | mirror_reg
92 int capability, bool enable, u8 slot)
98 if (slot > 1)
107 mirror_reg_offset = ((slot + 1) * 0x10) + (cap_reg * 4);
372 int slot; local
391 slot = aspeed_sdhci_calculate_slot(dev, res);
393 if (slot < 0)
394 return slot;
395 else if (slot >
91 aspeed_sdc_set_slot_capability(struct sdhci_host *host, struct aspeed_sdc *sdc, int capability, bool enable, u8 slot) argument
[all...]
/linux-master/drivers/media/platform/renesas/rcar-vin/
H A Drcar-dma.c963 static void rvin_set_slot_addr(struct rvin_dev *vin, int slot, dma_addr_t addr) argument
986 rvin_write(vin, offset, VNMB_REG(slot));
990 * Moves a buffer from the queue to the HW slot. If no buffer is
995 static void rvin_fill_hw_slot(struct rvin_dev *vin, int slot) argument
1002 /* A already populated slot shall never be overwritten. */
1003 if (WARN_ON(vin->buf_hw[slot].buffer))
1006 prev = (slot == 0 ? HW_BUFFER_NUM : slot) - 1;
1010 vin->buf_hw[slot].buffer = vbuf;
1011 vin->buf_hw[slot]
1052 int slot, ret; local
1098 int slot; local
[all...]
/linux-master/arch/alpha/kernel/
H A Dsys_dp264.c312 *20 Interrupt Line D from slot 2 PCI0
313 *21 Interrupt Line C from slot 2 PCI0
314 *22 Interrupt Line B from slot 2 PCI0
315 *23 Interrupt Line A from slot 2 PCI0
316 *24 Interrupt Line D from slot 1 PCI0
317 *25 Interrupt Line C from slot 1 PCI0
318 *26 Interrupt Line B from slot 1 PCI0
319 *27 Interrupt Line A from slot 1 PCI0
320 *28 Interrupt Line D from slot 0 PCI0
321 *29 Interrupt Line C from slot
376 dp264_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
398 monet_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
430 int slot, pin = *pinp; local
460 webbrick_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
482 clipper_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
[all...]
/linux-master/drivers/media/usb/dvb-usb/
H A Dpctv452e.c174 int slot, int address)
179 if (0 != slot)
197 int slot, int address, u8 value)
202 __func__, slot, address, value);
204 if (0 != slot)
215 int slot,
221 if (0 != slot)
238 int slot,
245 __func__, slot, address, value);
247 if (0 != slot)
173 tt3650_ci_read_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address) argument
196 tt3650_ci_write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address, u8 value) argument
214 tt3650_ci_read_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address) argument
237 tt3650_ci_write_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address, u8 value) argument
256 tt3650_ci_set_video_port(struct dvb_ca_en50221 *ca, int slot, int enable) argument
283 tt3650_ci_slot_shutdown(struct dvb_ca_en50221 *ca, int slot) argument
288 tt3650_ci_slot_ts_enable(struct dvb_ca_en50221 *ca, int slot) argument
293 tt3650_ci_slot_reset(struct dvb_ca_en50221 *ca, int slot) argument
333 tt3650_ci_poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dcs35l33.c553 int slot, slot_num; local
558 /* scan rx_mask for aud slot */
559 slot = ffs(rx_mask) - 1;
560 if (slot >= 0) {
562 CS35L33_X_LOC, slot);
563 dev_dbg(component->dev, "Audio starts from slots %d", slot);
568 * vpmon (1 slot) vbstmon (1 slot)
570 slot = ffs(tx_mask) - 1;
584 while (slot >
[all...]
/linux-master/kernel/bpf/
H A Dlpm_trie.c90 * The child[1] slot of (1) could be filled with another node which has bit #17
111 * However, that slot is already allocated, so a new node is needed in between.
311 struct lpm_trie_node __rcu **slot; local
346 /* Now find a slot to attach the new node. To do that, walk the tree
348 * we either find an empty slot or a slot that needs to be replaced by
351 slot = &trie->root;
353 while ((node = rcu_dereference_protected(*slot,
363 slot = &node->child[next_bit];
366 /* If the slot i
579 struct lpm_trie_node __rcu **slot; local
[all...]
/linux-master/drivers/net/ethernet/ibm/emac/
H A Dcore.c432 int slot, reg, mask; local
435 slot = EMAC_XAHT_CRC_TO_SLOT(dev,
437 reg = EMAC_XAHT_SLOT_TO_REG(dev, slot);
438 mask = EMAC_XAHT_SLOT_TO_MASK(dev, slot);
1176 __emac_prepare_rx_skb(struct sk_buff *skb, struct emac_instance *dev, int slot) argument
1181 dev->rx_skb[slot] = skb;
1182 dev->rx_desc[slot].data_len = 0;
1184 dev->rx_desc[slot].data_ptr =
1188 dev->rx_desc[slot].ctrl = MAL_RX_CTRL_EMPTY |
1189 (slot
1195 emac_alloc_rx_skb(struct emac_instance *dev, int slot) argument
1206 emac_alloc_rx_skb_napi(struct emac_instance *dev, int slot) argument
1460 int slot; local
1484 emac_xmit_split(struct emac_instance *dev, int slot, u32 pd, int len, int last, u16 base_ctrl) argument
1520 int slot, i; local
1641 int slot = dev->ack_slot, n = 0; local
1672 emac_recycle_rx_skb(struct emac_instance *dev, int slot, int len) argument
1728 emac_rx_sg_append(struct emac_instance *dev, int slot) argument
1754 int slot = dev->rx_slot, received = 0; local
1895 int slot = dev->rx_slot; local
[all...]
/linux-master/arch/x86/kernel/
H A Dearly_printk.c221 u8 bus, slot, func; local
247 slot = (u8)simple_strtoul(s, &e, 16);
262 cmdreg = read_pci_config(bus, slot, func, PCI_COMMAND);
263 classcode = read_pci_config(bus, slot, func, PCI_CLASS_REVISION);
264 bar0 = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0);
284 write_pci_config(bus, slot, func, PCI_COMMAND,
293 write_pci_config(bus, slot, func, PCI_COMMAND,
/linux-master/net/rxrpc/
H A Dpeer_event.c239 int slot; local
256 slot = keepalive_at - base;
258 cursor, peer->debug_id, slot, &peer->srx.transport);
263 slot = RXRPC_KEEPALIVE_TIME;
270 slot += cursor;
271 slot &= mask;
274 &rxnet->peer_keepalive[slot & mask]);
/linux-master/sound/arm/
H A Dpxa2xx-ac97-lib.c40 * o CDONE, SDONE interrupt fails after any slot 12 IO.
46 int pxa2xx_ac97_read(int slot, unsigned short reg) argument
51 if (slot > 0)
59 (slot ? SMC_REG_BASE : PMC_REG_BASE);
62 (slot ? SAC_REG_BASE : PAC_REG_BASE);
91 int pxa2xx_ac97_write(int slot, unsigned short reg, unsigned short val) argument
101 (slot ? SMC_REG_BASE : PMC_REG_BASE);
104 (slot ? SAC_REG_BASE : PAC_REG_BASE);
/linux-master/arch/sparc/kernel/
H A Dkprobes.c239 unsigned long *slot = NULL; local
243 slot = &regs->u_regs[UREG_I7];
251 slot = &regs->u_regs[rd];
257 slot = (unsigned long *)
259 slot += rd;
262 if (slot != NULL)
263 *slot = real_pc;
428 * nop <--- call delay slot
/linux-master/sound/soc/fsl/
H A Dfsl_easrc.c711 struct fsl_easrc_slot *slot)
716 int max_channels = 8 - slot->num_channel;
733 channels = (6144 - slot->pf_mem_used) / pf_mem_alloc;
744 struct fsl_easrc_slot *slot,
756 if (slot->slot_index == 0) {
769 slot->num_channel = *req_channels;
772 slot->num_channel = *avail_channel;
776 slot->min_channel = *start_channel;
777 slot->max_channel = *start_channel + slot
710 fsl_easrc_max_ch_for_slot(struct fsl_asrc_pair *ctx, struct fsl_easrc_slot *slot) argument
743 fsl_easrc_config_one_slot(struct fsl_asrc_pair *ctx, struct fsl_easrc_slot *slot, unsigned int slot_ctx_idx, unsigned int *req_channels, unsigned int *start_channel, unsigned int *avail_channel) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-multitouch.c101 __s32 *contactid; /* the device ContactID assigned to this slot */
229 * these device-dependent functions determine what slot corresponds
234 struct mt_usages *slot)
236 if (*slot->contactid != 0 || application->num_received == 0)
237 return *slot->contactid;
689 /* the value has already been filled, create a new slot */
909 struct mt_usages *slot,
915 return *slot->contactid;
918 return cypress_compute_slot(app, slot);
924 return *slot
233 cypress_compute_slot(struct mt_application *application, struct mt_usages *slot) argument
908 mt_compute_slot(struct mt_device *td, struct mt_application *app, struct mt_usages *slot, struct input_dev *input) argument
1007 mt_process_slot(struct mt_device *td, struct input_dev *input, struct mt_application *app, struct mt_usages *slot) argument
1202 struct mt_usages *slot; local
[all...]
/linux-master/arch/x86/kvm/mmu/
H A Dtdp_mmu.c1005 if (unlikely(!fault->slot))
1008 wrprot = make_spte(vcpu, sp, fault->slot, ACC_ALL, iter->gfn,
1169 __for_each_tdp_mmu_root_yield_safe(kvm, root, range->slot->as_id, false)
1191 for_each_tdp_mmu_root(kvm, root, range->slot->as_id) {
1351 const struct kvm_memory_slot *slot, int min_level)
1358 for_each_valid_tdp_mmu_root_yield_safe(kvm, root, slot->as_id)
1359 spte_set |= wrprot_gfn_range(kvm, root, slot->base_gfn,
1360 slot->base_gfn + slot->npages, min_level);
1534 const struct kvm_memory_slot *slot,
1350 kvm_tdp_mmu_wrprot_slot(struct kvm *kvm, const struct kvm_memory_slot *slot, int min_level) argument
1533 kvm_tdp_mmu_try_split_huge_pages(struct kvm *kvm, const struct kvm_memory_slot *slot, gfn_t start, gfn_t end, int target_level, bool shared) argument
1601 kvm_tdp_mmu_clear_dirty_slot(struct kvm *kvm, const struct kvm_memory_slot *slot) argument
1661 kvm_tdp_mmu_clear_dirty_pt_masked(struct kvm *kvm, struct kvm_memory_slot *slot, gfn_t gfn, unsigned long mask, bool wrprot) argument
1672 zap_collapsible_spte_range(struct kvm *kvm, struct kvm_mmu_page *root, const struct kvm_memory_slot *slot) argument
1727 kvm_tdp_mmu_zap_collapsible_sptes(struct kvm *kvm, const struct kvm_memory_slot *slot) argument
1778 kvm_tdp_mmu_write_protect_gfn(struct kvm *kvm, struct kvm_memory_slot *slot, gfn_t gfn, int min_level) argument
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dcxd2099.c24 static int read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount);
377 int slot, int address)
389 static int write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, argument
402 int slot, u8 address)
414 static int write_cam_control(struct dvb_ca_en50221 *ca, int slot, argument
426 static int slot_reset(struct dvb_ca_en50221 *ca, int slot) argument
431 read_data(ca, slot, ci->rbuf, 0);
455 static int slot_shutdown(struct dvb_ca_en50221 *ca, int slot) argument
461 read_data(ca, slot, ci->rbuf, 0);
477 static int slot_ts_enable(struct dvb_ca_en50221 *ca, int slot) argument
376 read_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address) argument
401 read_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address) argument
531 poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open) argument
544 read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount) argument
573 write_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount) argument
[all...]
/linux-master/drivers/net/ethernet/cirrus/
H A Dmac89x0.c47 standpoint, in that Dayna, in their infinite wisdom, used NuBus slot
162 /* Probe for the CS8900 card in slot E. We won't bother looking
168 int i, slot; local
180 slot = 0xE;
181 /* Get out now if there's a real NuBus card in slot E */
183 if (fres->board->slot == slot)
189 nubus_slot_addr(slot) | (((slot&0xf) << 20) + DEFAULTIOBASE);
214 nubus_slot_addr(slot) | (((slo
[all...]

Completed in 219 milliseconds

<<11121314151617181920>>