vme_slot_num(9)
π vme_slot_num(9) β Kernel API Manual π
okay so bestie, this is the vme_slot_num(9) page from the Kernel API Manual, and itβs literally the βwhich slot is this VME device in?β girlie β¨. no cap.
πΈ NAME πΈ
vme_slot_num β retrieve the slot ID π
β¨ SYNOPSIS β¨
int vme_slot_num (struct vme_dev *vdev );
π ARGUMENTS π
vdevβ pointer to the VME devicestruct vme_devthatβs assigned to the driver instance π«Ά
π« DESCRIPTION π«
okay so you hand over a VME device, and vme_slot_num() retrieves the slot ID associated with that provided VME device. thatβs the whole vibe, bestie π
π«Ά RETURN π«Ά
on success you get the slot ID β¨. if the VME bridge cannot be determined, or if the function is not supported, you get -EINVAL π. hardware specific errors may also be returned, so donβt act surprised if something hardware-y shows up π.
π SEE ALSO π
Kernel file ./drivers/staging/vme_user/vme.c is the source bestie, and the whole VME friend group is:
vme_alloc_consistent(9)vme_free_consistent(9)vme_get_size(9)vme_slave_request(9)vme_slave_set(9)vme_slave_get(9)vme_slave_free(9)vme_master_request(9)vme_master_set(9)vme_master_get(9)vme_master_read(9)vme_master_write(9)vme_master_rmw(9)vme_master_mmap_prepare(9)vme_master_free(9)vme_dma_request(9)vme_new_dma_list(9)vme_dma_pattern_attribute(9)vme_dma_pci_attribute(9)vme_dma_vme_attribute(9)vme_dma_free_attribute(9)vme_dma_list_add(9)vme_dma_list_exec(9)vme_dma_list_free(9)vme_dma_free(9)vme_irq_request(9)vme_irq_free(9)vme_irq_generate(9)vme_lm_request(9)vme_lm_count(9)vme_lm_set(9)vme_lm_get(9)vme_lm_attach(9)vme_lm_detach(9)vme_lm_free(9)vme_bus_num(9)vme_register_driver(9)vme_unregister_driver(9)
xoxo, your ./drivers/staging/vme_user source bestie, from the Kernel API Manual, dated October 2026, vme_slot_num(9) edition π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms