id
stringlengths
4
63
text
stringlengths
153
8.81M
mctrl_gpio_to_gpiod(9)
NAME mctrl_gpio_to_gpiod - obtain gpio_desc of modem line index SYNOPSIS struct gpio_desc * mctrl_gpio_to_gpiod (struct mctrl_gpios *gpios , enum mctrl_gpio_idx gidx ); ARGUMENTS gpios gpios to look into gidx index of the modem line RETURN the gpio_desc structure associated to the modem line ind...
md5(9)
NAME md5 - Compute MD5 message digest in one shot SYNOPSIS void md5 (const u8 *data , size_t len , u8 out[at_least MD5_DIGEST_SIZE] ); ARGUMENTS data the message data len the data length in bytes out (output) the resulting MD5 message digest CONTEXT Any context. SEE ALSO Kerne...
md5_final(9)
NAME md5_final - Finish computing an MD5 message digest SYNOPSIS void md5_final (struct md5_ctx *ctx , u8 out[at_least MD5_DIGEST_SIZE] ); ARGUMENTS ctx the context to finalize; must have been initialized out (output) the resulting MD5 message digest DESCRIPTION After finishing, this zeroizes...
md5_init(9)
NAME md5_init - Initialize an MD5 context for a new message SYNOPSIS void md5_init (struct md5_ctx *ctx ); ARGUMENTS ctx the context to initialize DESCRIPTION If you don't need incremental computation, consider md5 instead. CONTEXT Any context. SEE ALSO Kernel file ./include/crypto/md5.h struct md5_ctx...
md5_update(9)
NAME md5_update - Update an MD5 context with message data SYNOPSIS void md5_update (struct md5_ctx *ctx , const u8 *data , size_t len ); ARGUMENTS ctx the context to update; must have been initialized data the message data len the data length in bytes DESCRIPTION This can be ca...
md5sum(1)
NAME md5sum - compute and check MD5 message digest SYNOPSIS md5sum [OPTION]... [FILE]... DESCRIPTION Print or check MD5 (128-bit) checksums. With no FILE, or when FILE is -, read standard input. -b, --binary read in binary mode -c, --check read checksums from the FI...
md_write_metadata(9)
NAME md_write_metadata - write metadata to underlying disk, including array superblock, badblocks, bitmap superblock and bitmap bits. SYNOPSIS void md_write_metadata (struct mddev *mddev , struct md_rdev *rdev , sector_t sector , int size , struct page *page , unsigned int offset ); ARGUMENTS mddev the array to...
mdel(1)
Name mdel - delete an MSDOS file Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description The mdel command is used to delete an MS-DOS file. Its syntax is: mdel [-v] m...
mdelay(9)
NAME mdelay - Inserting a delay based on milliseconds with busy waiting SYNOPSIS mdelay (n ); ARGUMENTS n requested delay in milliseconds DESCRIPTION See udelay for basic information about mdelay and it's variants. Please double check, whether mdelay is the right way to go or whether a refactoring of the ...
mdeltree(1)
Name mdeltree - recursively delete an MSDOS directory and its contents Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description The mdeltree command is used to delete an MS-DO...
mdev_register_driver(9)
NAME mdev_register_driver - register a new MDEV driver SYNOPSIS int mdev_register_driver (struct mdev_driver *drv ); ARGUMENTS drv the driver to register DESCRIPTION Returns a negative value on error, otherwise 0. SEE ALSO Kernel file ./drivers/vfio/mdev/mdev_driver.c April 2026 ...
mdflush.bt(8)
NAME mdflush.bt - Trace md flush events. Uses bpftrace/eBPF. SYNOPSIS mdflush.bt DESCRIPTION This tool traces flush events by md, the Linux multiple device driver (software RAID). The timestamp and md device for the flush are printed. Knowing when these flushes happen can be useful for correlation with unex‐ pla...
mdig(1)
NAME mdig - DNS pipelined lookup utility SYNOPSIS mdig <{@server>} [-f filename] [-h] [-v] [ [-4] | [-6] ] [-m] [-b address] [-p port#] [-c class] [-t type] [-i] [-x addr] [plusopt...] mdig {-h} mdig [@server] {global-opt...} { {local-opt...} {query} ...} DESCRIPTION mdig is a multiple/pipelined query...
mdio45_ethtool_ksettings_get(9)
NAME mdio45_ethtool_ksettings_get - get settings for ETHTOOL_GLINKSETTINGS SYNOPSIS void mdio45_ethtool_ksettings_get (const struct mdio_if_info *mdio , struct ethtool_link_ksettings *cmd ); ARGUMENTS mdio MDIO interface cmd Ethtool request structure DESCRIPTION Since the CSRs for auto-negotia...
mdio45_ethtool_ksettings_get_npage(9)
NAME mdio45_ethtool_ksettings_get_npage - get settings for ETHTOOL_GLINKSETTINGS SYNOPSIS void mdio45_ethtool_ksettings_get_npage (const struct mdio_if_info *mdio , struct ethtool_link_ksettings *cmd , u32 npage_adv , u32 npage_lpa ); ARGUMENTS mdio MDIO interface cmd Ethtool request structure ...
mdio45_links_ok(9)
NAME mdio45_links_ok - is link status up/OK SYNOPSIS int mdio45_links_ok (const struct mdio_if_info *mdio , u32 mmd_mask ); ARGUMENTS mdio MDIO interface mmd_mask Mask for MMDs to check DESCRIPTION Returns 1 if the PHY reports link status up/OK, 0 otherwise. mmd_mask is normally mdio->mmds, but if...
mdio45_nway_restart(9)
NAME mdio45_nway_restart - restart auto-negotiation for this interface SYNOPSIS int mdio45_nway_restart (const struct mdio_if_info *mdio ); ARGUMENTS mdio MDIO interface DESCRIPTION Returns 0 on success, negative on error. SEE ALSO Kernel file ./drivers/net/mdio.c mdio45_probe(9), mdio_set_flag(9), mdio45_li...
mdio45_probe(9)
NAME mdio45_probe - probe for an MDIO (clause 45) device SYNOPSIS int mdio45_probe (struct mdio_if_info *mdio , int prtad ); ARGUMENTS mdio MDIO interface prtad Expected PHY address DESCRIPTION This sets prtad and mmds in the MDIO interface if successful. Returns 0 on success, negative on error...
mdio_bus_match(9)
NAME mdio_bus_match - determine if given MDIO driver supports the given MDIO device SYNOPSIS int mdio_bus_match (struct device *dev , const struct device_driver *drv ); ARGUMENTS dev target MDIO device drv given MDIO driver RETURN 1 if the driver supports the device, 0 otherwise DESCRIPTION ...
mdio_device_register(9)
NAME mdio_device_register - Register the mdio device on the MDIO bus SYNOPSIS int mdio_device_register (struct mdio_device *mdiodev ); ARGUMENTS mdiodev mdio_device structure to be added to the MDIO bus RETURN Zero if successful, negative error code on failure SEE ALSO Kernel file ./drivers/net/phy/mdio_device....
mdio_device_register_reset(9)
NAME mdio_device_register_reset - Read and initialize the reset properties of an mdio device SYNOPSIS int mdio_device_register_reset (struct mdio_device *mdiodev ); ARGUMENTS mdiodev mdio_device structure RETURN Zero if successful, negative error code on failure SEE ALSO Kernel file ./drivers/net/phy/mdio_devic...
mdio_device_remove(9)
NAME mdio_device_remove - Remove a previously registered mdio device from the MDIO bus SYNOPSIS void mdio_device_remove (struct mdio_device *mdiodev ); ARGUMENTS mdiodev mdio_device structure to remove DESCRIPTION This doesn't free the mdio_device itself, it merely reverses the effects of mdio_device_register. U...
mdio_device_unregister_reset(9)
NAME mdio_device_unregister_reset - uninitialize the reset properties of an mdio device SYNOPSIS void mdio_device_unregister_reset (struct mdio_device *mdiodev ); ARGUMENTS mdiodev mdio_device structure SEE ALSO Kernel file ./drivers/net/phy/mdio_device.c mdio_device_register(9), mdio_device_remove(9), mdio_devi...
mdio_driver_register(9)
NAME mdio_driver_register - register an mdio_driver with the MDIO layer SYNOPSIS int mdio_driver_register (struct mdio_driver *drv ); ARGUMENTS drv new mdio_driver to register RETURN Zero if successful, negative error code on failure SEE ALSO Kernel file ./drivers/net/phy/mdio_device.c mdio_device_register(...
mdio_find_bus(9)
NAME mdio_find_bus - Given the name of a mdiobus, find the mii_bus. SYNOPSIS struct mii_bus * mdio_find_bus (const char *mdio_name ); ARGUMENTS mdio_name The name of a mdiobus. RETURN a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this m...
mdio_mii_ioctl(9)
NAME mdio_mii_ioctl - MII ioctl interface for MDIO (clause 22 or 45) PHYs SYNOPSIS int mdio_mii_ioctl (const struct mdio_if_info *mdio , struct mii_ioctl_data *mii_data , int cmd ); ARGUMENTS mdio MDIO interface mii_data MII ioctl data structure cmd MII ioctl command DESCRIPTION Ret...
mdio_module_driver(9)
NAME mdio_module_driver - Helper macro for registering mdio drivers SYNOPSIS mdio_module_driver (_mdio_driver ); ARGUMENTS _mdio_driver driver to register DESCRIPTION Helper macro for MDIO drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces ...
mdio_mux_multiplexer_switch_fn(9)
NAME mdio_mux_multiplexer_switch_fn - This function is called by the mdio-mux layer when it thinks the mdio bus multiplexer needs to switch. SYNOPSIS int mdio_mux_multiplexer_switch_fn (int current_child , int desired_child , void *data ); ARGUMENTS current_child current value of the mux register. desired_chi...
mdio_probe(9)
NAME mdio_probe - probe an MDIO device SYNOPSIS int mdio_probe (struct device *dev ); ARGUMENTS dev device to probe DESCRIPTION Take care of setting up the mdio_device structure and calling the driver to probe the device. RETURN Zero if successful, negative error code on failure SEE ALSO Kernel file ./driv...
mdio_read(9)
NAME mdio_read - read MII PHY register SYNOPSIS int mdio_read (struct net_device *net_dev , int phy_id , int location ); ARGUMENTS net_dev the net device to read phy_id the phy address to read location the phy register id to read DESCRIPTION Read MII registers through MDIO and MDC using M...
mdio_set_flag(9)
NAME mdio_set_flag - set or clear flag in an MDIO register SYNOPSIS int mdio_set_flag (const struct mdio_if_info *mdio , int prtad , int devad , u16 addr , int mask , bool sense ); ARGUMENTS mdio MDIO interface prtad PHY address devad MMD address addr Register address...
mdio_write(9)
NAME mdio_write - write MII PHY register SYNOPSIS void mdio_write (struct net_device *net_dev , int phy_id , int location , int value ); ARGUMENTS net_dev the net device to write phy_id the phy address to write location the phy register id to write value the register value to...
mdiobus_alloc(9)
NAME mdiobus_alloc - Allocate an MDIO bus structure SYNOPSIS struct mii_bus * mdiobus_alloc (void ); ARGUMENTS void no arguments DESCRIPTION The internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus. SEE ALSO Kernel file ./include/linux/phy.h enum phy_inte...
mdiobus_alloc_size(9)
NAME mdiobus_alloc_size - allocate a mii_bus structure SYNOPSIS struct mii_bus * mdiobus_alloc_size (size_t size ); ARGUMENTS size extra amount of memory to allocate for private storage. If non-zero, then bus->priv is points to that memory. DESCRIPTION called by a bus driver to allocate an mii_bus structure ...
mdiobus_c45_modify(9)
NAME mdiobus_c45_modify - Convenience function for modifying a given mdio device register SYNOPSIS int mdiobus_c45_modify (struct mii_bus *bus , int addr , int devad , u32 regnum , u16 mask , u16 set ); ARGUMENTS bus the mii_bus struct addr the phy address devad device address to ...
mdiobus_c45_modify_changed(9)
NAME mdiobus_c45_modify_changed - Convenience function for modifying a given mdio device register and returning if it changed SYNOPSIS int mdiobus_c45_modify_changed (struct mii_bus *bus , int addr , int devad , u32 regnum , u16 mask , u16 set ); ARGUMENTS bus the mii_bus struct addr the phy ad...
mdiobus_c45_read(9)
NAME mdiobus_c45_read - Convenience function for reading a given MII mgmt register SYNOPSIS int mdiobus_c45_read (struct mii_bus *bus , int addr , int devad , u32 regnum ); ARGUMENTS bus the mii_bus struct addr the phy address devad device address to read regnum regis...
mdiobus_c45_read_nested(9)
NAME mdiobus_c45_read_nested - Nested version of the mdiobus_c45_read function SYNOPSIS int mdiobus_c45_read_nested (struct mii_bus *bus , int addr , int devad , u32 regnum ); ARGUMENTS bus the mii_bus struct addr the phy address devad device address to read regnum re...
mdiobus_c45_write(9)
NAME mdiobus_c45_write - Convenience function for writing a given MII mgmt register SYNOPSIS int mdiobus_c45_write (struct mii_bus *bus , int addr , int devad , u32 regnum , u16 val ); ARGUMENTS bus the mii_bus struct addr the phy address devad device address to read regnu...
mdiobus_c45_write_nested(9)
NAME mdiobus_c45_write_nested - Nested version of the mdiobus_c45_write function SYNOPSIS int mdiobus_c45_write_nested (struct mii_bus *bus , int addr , int devad , u32 regnum , u16 val ); ARGUMENTS bus the mii_bus struct addr the phy address devad device address to read r...
mdiobus_free(9)
NAME mdiobus_free - free a struct mii_bus SYNOPSIS void mdiobus_free (struct mii_bus *bus ); ARGUMENTS bus mii_bus to free DESCRIPTION This function releases the reference to the underlying device object in the mii_bus. If this is the last reference, the mii_bus will be freed. SEE ALSO Kernel file ./driver...
mdiobus_modify(9)
NAME mdiobus_modify - Convenience function for modifying a given mdio device register SYNOPSIS int mdiobus_modify (struct mii_bus *bus , int addr , u32 regnum , u16 mask , u16 set ); ARGUMENTS bus the mii_bus struct addr the phy address regnum register number to write mask ...
mdiobus_modify_changed(9)
NAME mdiobus_modify_changed - Convenience function for modifying a given mdio device register and returning if it changed SYNOPSIS int mdiobus_modify_changed (struct mii_bus *bus , int addr , u32 regnum , u16 mask , u16 set ); ARGUMENTS bus the mii_bus struct addr the phy address regnum...
mdiobus_read(9)
NAME mdiobus_read - Convenience function for reading a given MII mgmt register SYNOPSIS int mdiobus_read (struct mii_bus *bus , int addr , u32 regnum ); ARGUMENTS bus the mii_bus struct addr the phy address regnum register number to read RETURN The register value if successful, ne...
mdiobus_read_nested(9)
NAME mdiobus_read_nested - Nested version of the mdiobus_read function SYNOPSIS int mdiobus_read_nested (struct mii_bus *bus , int addr , u32 regnum ); ARGUMENTS bus the mii_bus struct addr the phy address regnum register number to read RETURN The register value if successful, neg...
mdiobus_release(9)
NAME mdiobus_release - mii_bus device release callback SYNOPSIS void mdiobus_release (struct device *d ); ARGUMENTS d the target struct device that contains the mii_bus DESCRIPTION called when the last reference to an mii_bus is dropped, to free the underlying memory. SEE ALSO Kernel file ./drivers/net/...
mdiobus_scan_c22(9)
NAME mdiobus_scan_c22 - scan one address on a bus for C22 MDIO devices. SYNOPSIS struct phy_device * mdiobus_scan_c22 (struct mii_bus *bus , int addr ); ARGUMENTS bus mii_bus to scan addr address on bus to scan DESCRIPTION This function scans one address on the MDIO bus, looking for devices...
mdiobus_scan_c45(9)
NAME mdiobus_scan_c45 - scan one address on a bus for C45 MDIO devices. SYNOPSIS struct phy_device * mdiobus_scan_c45 (struct mii_bus *bus , int addr ); ARGUMENTS bus mii_bus to scan addr address on bus to scan DESCRIPTION This function scans one address on the MDIO bus, looking for devices...
mdiobus_write(9)
NAME mdiobus_write - Convenience function for writing a given MII mgmt register SYNOPSIS int mdiobus_write (struct mii_bus *bus , int addr , u32 regnum , u16 val ); ARGUMENTS bus the mii_bus struct addr the phy address regnum register number to write val value to wr...
mdiobus_write_nested(9)
NAME mdiobus_write_nested - Nested version of the mdiobus_write function SYNOPSIS int mdiobus_write_nested (struct mii_bus *bus , int addr , u32 regnum , u16 val ); ARGUMENTS bus the mii_bus struct addr the phy address regnum register number to write val value to wr...
mdir(1)
Name mdir - display an MSDOS directory Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description The mdir command is used to display an MS-DOS directory. Its syntax is: ...
mdk4(8)
NAME mdk4 - IEEE 802.11 PoC tool SYNOPSIS mdk4 <interface> <attack_mode> [attack_options] mdk4 <interface in> <interface out> <attack_mode> [attack_options] DESCRIPTION mdk4 is a proof-of-concept (PoC) tool to exploit common IEEE 802.11 protocol weaknesses. OPTIONS Try mdk4 --help <attack_mode> for info about one at...
mdoctorfat(1)
Name mdoctorfat - doctors the allocation table of a file Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description The mdoctorfat command was initially intended as a test/debu...
mdp5_ctl_commit(9)
NAME mdp5_ctl_commit - Register Flush SYNOPSIS u32 mdp5_ctl_commit (struct mdp5_ctl *ctl , struct mdp5_pipeline *pipeline , u32 flush_mask , bool start ); ARGUMENTS ctl the CTL instance pipeline the encoder's INTF + MIXER configuration flush_mask bitmask of display controller hw blocks to ...
mdp5_ctl_set_encoder_state(9)
NAME mdp5_ctl_set_encoder_state - set the encoder state SYNOPSIS int mdp5_ctl_set_encoder_state (struct mdp5_ctl *ctl , struct mdp5_pipeline *pipeline , bool enabled ); ARGUMENTS ctl the CTL instance pipeline the encoder's INTF + MIXER configuration enabled true, when encoder is ready f...
mdu(1)
Name mdu - display the amount of space occupied by an MSDOS directory Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details. Description Mdu is used to list the space occupied by a dire...
me_intr_clear(9)
NAME me_intr_clear - clear and stop interrupts SYNOPSIS void me_intr_clear (struct mei_device *dev , u32 hcsr ); ARGUMENTS dev the device structure hcsr supplied hcsr register value SEE ALSO Kernel file ./drivers/misc/mei/hw-me.c mei_me_reg_read(9), mei_me_reg_write(9), mei_me_mecbrw...
me_intr_disable(9)
NAME me_intr_disable - disables mei device interrupts using supplied hcsr register value. SYNOPSIS void me_intr_disable (struct mei_device *dev , u32 hcsr ); ARGUMENTS dev the device structure hcsr supplied hcsr register value SEE ALSO Kernel file ./drivers/misc/mei/hw-me.c mei_me_reg_re...
media_create_ancillary_link(9)
NAME media_create_ancillary_link - create an ancillary link between two instances of &media_entity SYNOPSIS struct media_link * media_create_ancillary_link (struct media_entity *primary , struct media_entity *ancillary ); ARGUMENTS primary pointer to the primary media_entity ancillary pointer to the anc...
media_create_intf_link(9)
NAME media_create_intf_link - creates a link between an entity and an interface SYNOPSIS struct media_link * media_create_intf_link (struct media_entity *entity , struct media_interface *intf , u32 flags ); ARGUMENTS entity pointer to media_entity intf pointer to media_interface flags ...
media_create_pad_link(9)
NAME media_create_pad_link - creates a link between two entities. SYNOPSIS int media_create_pad_link (struct media_entity *source , u16 source_pad , struct media_entity *sink , u16 sink_pad , u32 flags ); ARGUMENTS source pointer to media_entity of the source pad. source_pad number of the source pad in ...
media_create_pad_links(9)
NAME media_create_pad_links - creates a link between two entities. SYNOPSIS int media_create_pad_links (const struct media_device *mdev , const u32 source_function , struct media_entity *source , const u16 source_pad , const u32 sink_function , struct media_entity *sink , const u16 sink_pad , u32 flags , const bool al...
media_device_cleanup(9)
NAME media_device_cleanup - Cleanups a media device element SYNOPSIS void media_device_cleanup (struct media_device *mdev ); ARGUMENTS mdev pointer to struct media_device DESCRIPTION This function that will destroy the graph_mutex that is initialized in media_device_init. SEE ALSO Kernel file ./include/media...
media_device_delete(9)
NAME media_device_delete - Release media device. Calls kref_put(). SYNOPSIS void media_device_delete (struct media_device *mdev , const char *module_name , struct module *owner ); ARGUMENTS mdev struct media_device pointer module_name should be filled with KBUILD_MODNAME owner struct modu...
media_device_init(9)
NAME media_device_init - Initializes a media device element SYNOPSIS void media_device_init (struct media_device *mdev ); ARGUMENTS mdev pointer to struct media_device DESCRIPTION This function initializes the media device prior to its registration. The media device initialization and registration is split ...
media_device_pci_init(9)
NAME media_device_pci_init - create and initialize a struct &media_device from a PCI device. SYNOPSIS void media_device_pci_init (struct media_device *mdev , struct pci_dev *pci_dev , const char *name ); ARGUMENTS mdev pointer to struct media_device pci_dev pointer to struct pci_dev name ...
media_device_register(9)
NAME media_device_register - Registers a media device element SYNOPSIS media_device_register (mdev ); ARGUMENTS mdev pointer to struct media_device DESCRIPTION This macro calls __media_device_register passing THIS_MODULE as the __media_device_register second argument (**owner**). SEE ALSO Kernel file ./incl...
media_device_register_entity(9)
NAME media_device_register_entity - registers a media entity inside a previously registered media device. SYNOPSIS int media_device_register_entity (struct media_device *mdev , struct media_entity *entity ); ARGUMENTS mdev pointer to struct media_device entity pointer to struct media_entity to be ...
media_device_register_entity_notify(9)
NAME media_device_register_entity_notify - Registers a media entity_notify callback SYNOPSIS void media_device_register_entity_notify (struct media_device *mdev , struct media_entity_notify *nptr ); ARGUMENTS mdev The media device nptr The media_entity_notify DESCRIPTION .. note:: When a new en...
media_device_unregister(9)
NAME media_device_unregister - Unregisters a media device element SYNOPSIS void media_device_unregister (struct media_device *mdev ); ARGUMENTS mdev pointer to struct media_device DESCRIPTION It is safe to call this function on an unregistered (but initialised) media device. SEE ALSO Kernel file ./include/m...
media_device_unregister_entity(9)
NAME media_device_unregister_entity - unregisters a media entity. SYNOPSIS void media_device_unregister_entity (struct media_entity *entity ); ARGUMENTS entity pointer to struct media_entity to be unregistered DESCRIPTION All links associated with the entity and all PADs are automatically unregistered from t...
media_device_unregister_entity_notify(9)
NAME media_device_unregister_entity_notify - Unregister a media entity notify callback SYNOPSIS void media_device_unregister_entity_notify (struct media_device *mdev , struct media_entity_notify *nptr ); ARGUMENTS mdev The media device nptr The media_entity_notify SEE ALSO Kernel file ./includ...
media_device_usb_allocate(9)
NAME media_device_usb_allocate - Allocate and return struct &media device SYNOPSIS struct media_device * media_device_usb_allocate (struct usb_device *udev , const char *module_name , struct module *owner ); ARGUMENTS udev struct usb_device pointer module_name should be filled with KBUILD_MODNAME ...
media_device_usb_init(9)
NAME media_device_usb_init - create and initialize a struct &media_device from a PCI device. SYNOPSIS media_device_usb_init (mdev , udev , name ); ARGUMENTS mdev pointer to struct media_device udev pointer to struct usb_device name media device name. If NULL, the routine will use ...
media_devnode_create(9)
NAME media_devnode_create - creates and initializes a device node interface SYNOPSIS struct media_intf_devnode * media_devnode_create (struct media_device *mdev , u32 type , u32 flags , u32 major , u32 minor ); ARGUMENTS mdev pointer to struct media_device type type of the interface, as given by...
media_devnode_data(9)
NAME media_devnode_data - returns a pointer to the &media_devnode SYNOPSIS struct media_devnode * media_devnode_data (struct file *filp ); ARGUMENTS filp pointer to struct file SEE ALSO Kernel file ./include/media/media-devnode.h struct media_file_operations(9), struct media_devnode(9), media_devnode_regis...
media_devnode_is_registered(9)
NAME media_devnode_is_registered - returns true if &media_devnode is registered; false otherwise. SYNOPSIS int media_devnode_is_registered (struct media_devnode *devnode ); ARGUMENTS devnode pointer to struct media_devnode. NOTE If mdev is NULL, it also returns false. SEE ALSO Kernel file ./include/media/media-...
media_devnode_register(9)
NAME media_devnode_register - register a media device node SYNOPSIS int media_devnode_register (struct media_device *mdev , struct media_devnode *devnode , struct module *owner ); ARGUMENTS mdev struct media_device we want to register a device node devnode media device node structure we want to reg...
media_devnode_remove(9)
NAME media_devnode_remove - removes a device node interface SYNOPSIS void media_devnode_remove (struct media_intf_devnode *devnode ); ARGUMENTS devnode pointer to media_intf_devnode to be freed. DESCRIPTION When a device node interface is removed, all links to it are automatically removed. SEE ALSO Kernel file...
media_devnode_unregister(9)
NAME media_devnode_unregister - unregister a media device node SYNOPSIS void media_devnode_unregister (struct media_devnode *devnode ); ARGUMENTS devnode the device node to unregister DESCRIPTION This unregisters the passed device. Future open calls will be met with errors. Should be called after media_devnode_...
media_devnode_unregister_prepare(9)
NAME media_devnode_unregister_prepare - clear the media device node register bit SYNOPSIS void media_devnode_unregister_prepare (struct media_devnode *devnode ); ARGUMENTS devnode the device node to prepare for unregister DESCRIPTION This clears the passed device register bit. Future open calls will be met with...
media_entity_call(9)
NAME media_entity_call - Calls a struct media_entity_operations operation on an entity SYNOPSIS media_entity_call (entity , operation , args... ); ARGUMENTS entity entity where the operation will be called operation type of the operation. Should be the name of a member of struct media_entity_operations...
media_entity_cleanup(9)
NAME media_entity_cleanup - free resources associated with an entity SYNOPSIS void media_entity_cleanup (struct media_entity *entity ); ARGUMENTS entity entity where the pads belong DESCRIPTION This function must be called during the cleanup phase after unregistering the entity (currently, it does nothing). ...
media_entity_enum_cleanup(9)
NAME media_entity_enum_cleanup - Release resources of an entity enumeration SYNOPSIS void media_entity_enum_cleanup (struct media_entity_enum *ent_enum ); ARGUMENTS ent_enum Entity enumeration to be released SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct media_gobj(9), ...
media_entity_enum_clear(9)
NAME media_entity_enum_clear - Unmark a single entity in the enum SYNOPSIS void media_entity_enum_clear (struct media_entity_enum *ent_enum , struct media_entity *entity ); ARGUMENTS ent_enum Entity enumeration entity Entity to be unmarked SEE ALSO Kernel file ./include/media/media-entity.h enum ...
media_entity_enum_empty(9)
NAME media_entity_enum_empty - Test whether the entire enum is empty SYNOPSIS bool media_entity_enum_empty (struct media_entity_enum *ent_enum ); ARGUMENTS ent_enum Entity enumeration RETURN true if the entity was empty. SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct me...
media_entity_enum_init(9)
NAME media_entity_enum_init - Initialise an entity enumeration SYNOPSIS int media_entity_enum_init (struct media_entity_enum *ent_enum , struct media_device *mdev ); ARGUMENTS ent_enum Entity enumeration to be initialised mdev The related media device RETURN zero on success or a negative error code...
media_entity_enum_intersects(9)
NAME media_entity_enum_intersects - Test whether two enums intersect SYNOPSIS bool media_entity_enum_intersects (struct media_entity_enum *ent_enum1 , struct media_entity_enum *ent_enum2 ); ARGUMENTS ent_enum1 First entity enumeration ent_enum2 Second entity enumeration RETURN true if entity enumerations...
media_entity_enum_set(9)
NAME media_entity_enum_set - Mark a single entity in the enum SYNOPSIS void media_entity_enum_set (struct media_entity_enum *ent_enum , struct media_entity *entity ); ARGUMENTS ent_enum Entity enumeration entity Entity to be marked SEE ALSO Kernel file ./include/media/media-entity.h enum media_go...
media_entity_enum_test(9)
NAME media_entity_enum_test - Test whether the entity is marked SYNOPSIS bool media_entity_enum_test (struct media_entity_enum *ent_enum , struct media_entity *entity ); ARGUMENTS ent_enum Entity enumeration entity Entity to be tested DESCRIPTION Returns true if the entity was marked. SEE ALSO Kerne...
media_entity_enum_test_and_set(9)
NAME media_entity_enum_test_and_set - Test whether the entity is marked, and mark it SYNOPSIS bool media_entity_enum_test_and_set (struct media_entity_enum *ent_enum , struct media_entity *entity ); ARGUMENTS ent_enum Entity enumeration entity Entity to be tested DESCRIPTION Returns true if the entit...
media_entity_enum_zero(9)
NAME media_entity_enum_zero - Clear the entire enum SYNOPSIS void media_entity_enum_zero (struct media_entity_enum *ent_enum ); ARGUMENTS ent_enum Entity enumeration to be cleared SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct media_gobj(9), struct media_entity_enum(9)...
media_entity_find_link(9)
NAME media_entity_find_link - Find a link between two pads SYNOPSIS struct media_link * media_entity_find_link (struct media_pad *source , struct media_pad *sink ); ARGUMENTS source Source pad sink Sink pad RETURN returns a pointer to the link between the two entities. If no such link exists, ret...
media_entity_for_each_pad(9)
NAME media_entity_for_each_pad - Iterate on all pads in an entity SYNOPSIS media_entity_for_each_pad (entity , iter ); ARGUMENTS entity The entity the pads belong to iter The iterator pad DESCRIPTION Iterate on all pads in a media entity. SEE ALSO Kernel file ./include/media/media-entity.h en...
media_entity_get_fwnode_pad(9)
NAME media_entity_get_fwnode_pad - Get pad number from fwnode SYNOPSIS int media_entity_get_fwnode_pad (struct media_entity *entity , const struct fwnode_handle *fwnode , unsigned long direction_flags ); ARGUMENTS entity The entity fwnode Pointer to the fwnode_handle which should be used to find the...
media_entity_has_pad_interdep(9)
NAME media_entity_has_pad_interdep - Check interdependency between two pads SYNOPSIS bool media_entity_has_pad_interdep (struct media_entity *entity , unsigned int pad0 , unsigned int pad1 ); ARGUMENTS entity The entity pad0 The first pad index pad1 The second pad index DESCRIPTION...
media_entity_id(9)
NAME media_entity_id - return the media entity graph object id SYNOPSIS u32 media_entity_id (struct media_entity *entity ); ARGUMENTS entity pointer to media_entity SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct media_gobj(9), struct media_entity_enum(9), struct media_gr...
media_entity_is_streaming(9)
NAME media_entity_is_streaming - Test if an entity is part of a streaming pipeline SYNOPSIS bool media_entity_is_streaming (const struct media_entity *entity ); ARGUMENTS entity The entity RETURN True if the entity is part of a pipeline started with the media_pipeline_start function, false otherwise. SEE ALSO ...
media_entity_pads_init(9)
NAME media_entity_pads_init - Initialize the entity pads SYNOPSIS int media_entity_pads_init (struct media_entity *entity , u16 num_pads , struct media_pad *pads ); ARGUMENTS entity entity where the pads belong num_pads total number of sink and source pads pads Array of num_pads pads. ...
media_entity_pipeline(9)
NAME media_entity_pipeline - Get the media pipeline an entity is part of SYNOPSIS struct media_pipeline * media_entity_pipeline (struct media_entity *entity ); ARGUMENTS entity The entity DESCRIPTION DEPRECATED: use media_pad_pipeline instead. This function returns the media pipeline that an entity has been ...