id
stringlengths
4
63
text
stringlengths
153
8.81M
imaxdiv(3)
NAME div, ldiv, lldiv, imaxdiv - compute quotient and remainder of an integer division LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> div_t div(int numerator, int denominator); ldiv_t ldiv(long numerator, long denominator); lldiv_t lldiv(long long numerator, long long denomi...
imaxdiv(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME imaxdiv — return quotient and remainder SYNOPSIS #include <int...
imaxdiv_t(3type)
NAME div_t, ldiv_t, lldiv_t, imaxdiv_t - quotient and remainder of an integer division LIBRARY Standard C library (libc) SYNOPSIS #include <stdlib.h> typedef struct { int quot; /* Quotient */ int rem; /* Remainder */ } div_t; typedef struct { long quot; /* Quot...
imem_get_device_sleep_state(9)
NAME imem_get_device_sleep_state - Get the device sleep state value. SYNOPSIS int imem_get_device_sleep_state (struct iosm_imem *ipc_imem ); ARGUMENTS ipc_imem Pointer to imem instance RETURN device sleep state SEE ALSO Kernel file ./drivers/net/wwan/iosm/iosm_ipc_imem.h enum ipc_ctype(9), struct ipc_pipe(9), st...
img_ascii_lcd_probe(9)
NAME img_ascii_lcd_probe - probe an LCD display device SYNOPSIS int img_ascii_lcd_probe (struct platform_device *pdev ); ARGUMENTS pdev the LCD platform device DESCRIPTION Probe an LCD display device, ensuring that we have the required resources in order to access the LCD & setting up private data as well as ...
img_ascii_lcd_remove(9)
NAME img_ascii_lcd_remove - remove an LCD display device SYNOPSIS void img_ascii_lcd_remove (struct platform_device *pdev ); ARGUMENTS pdev the LCD platform device DESCRIPTION Remove an LCD display device, freeing private resources & ensuring that the driver stops using the LCD display registers. SEE ALSO Ke...
img_ir_allowed_protos(9)
NAME img_ir_allowed_protos - Get allowed protocols from global decoder list. SYNOPSIS u64 img_ir_allowed_protos (struct img_ir_priv *priv ); ARGUMENTS priv IR private data. RETURN Mask of protocols supported by the device priv refers to. SEE ALSO Kernel file ./drivers/media/rc/img-ir/img-ir-hw.c img_ir_contr...
img_ir_control(9)
NAME img_ir_control - Convert control struct to control register value. SYNOPSIS u32 img_ir_control (const struct img_ir_control *control ); ARGUMENTS control Control data RETURN The control register value equivalent of control. SEE ALSO Kernel file ./drivers/media/rc/img-ir/img-ir-hw.c img_ir_timing_range_c...
img_ir_decoder_compatible(9)
NAME img_ir_decoder_compatible - Find whether a decoder will work with a device. SYNOPSIS bool img_ir_decoder_compatible (struct img_ir_priv *priv , const struct img_ir_decoder *dec ); ARGUMENTS priv IR private data. dec Decoder to check. RETURN true if dec is compatible with the device priv r...
img_ir_decoder_convert(9)
NAME img_ir_decoder_convert - Generate internal timings in decoder. SYNOPSIS void img_ir_decoder_convert (const struct img_ir_decoder *decoder , struct img_ir_reg_timings *reg_timings , unsigned int clock_hz ); ARGUMENTS decoder Decoder to be converted to internal timings. reg_timings Timing register valu...
img_ir_decoder_preprocess(9)
NAME img_ir_decoder_preprocess - Preprocess timings in decoder. SYNOPSIS void img_ir_decoder_preprocess (struct img_ir_decoder *decoder ); ARGUMENTS decoder Decoder to be preprocessed. DESCRIPTION Ensures that the symbol timing ranges are valid with respect to ordering, and does some fixed conversion on them. S...
img_ir_disable_wake(9)
NAME img_ir_disable_wake - Switch out of wake mode. SYNOPSIS int img_ir_disable_wake (struct img_ir_priv *priv ); ARGUMENTS priv IR private data RETURN 1 if the hardware should be allowed to wake from a sleep state. 0 otherwise. SEE ALSO Kernel file ./drivers/media/rc/img-ir/img-ir-hw.c img_ir_control(9), i...
img_ir_enable_wake(9)
NAME img_ir_enable_wake - Switch to wake mode. SYNOPSIS int img_ir_enable_wake (struct img_ir_priv *priv ); ARGUMENTS priv IR private data. RETURN non-zero if the IR can wake the system. SEE ALSO Kernel file ./drivers/media/rc/img-ir/img-ir-hw.c img_ir_control(9), img_ir_timing_range_convert(9), img_ir_s...
img_ir_free_timing(9)
NAME img_ir_free_timing - Convert free time timing struct to register value. SYNOPSIS u32 img_ir_free_timing (const struct img_ir_free_timing *timing , unsigned long clock_hz ); ARGUMENTS timing Free symbol timing data clock_hz Source clock frequency in Hz RETURN Free symbol timing register value. S...
img_ir_free_timing_dynamic(9)
NAME img_ir_free_timing_dynamic - Update free time register value. SYNOPSIS u32 img_ir_free_timing_dynamic (u32 st_ft , struct img_ir_filter *filter ); ARGUMENTS st_ft Static free time register value from img_ir_free_timing. filter Current filter which may additionally restrict min/max len. RETURN...
img_ir_probe_hw_caps(9)
NAME img_ir_probe_hw_caps - Probe capabilities of the hardware. SYNOPSIS void img_ir_probe_hw_caps (struct img_ir_priv *priv ); ARGUMENTS priv IR private data. SEE ALSO Kernel file ./drivers/media/rc/img-ir/img-ir-hw.c img_ir_control(9), img_ir_timing_range_convert(9), img_ir_symbol_timing(9), img_ir_free...
img_ir_set_decoder(9)
NAME img_ir_set_decoder - Set the current decoder. SYNOPSIS void img_ir_set_decoder (struct img_ir_priv *priv , const struct img_ir_decoder *decoder , u64 proto ); ARGUMENTS priv IR private data. decoder Decoder to use with immediate effect. proto Protocol bitmap (or 0 to use decoder-...
img_ir_symbol_timing(9)
NAME img_ir_symbol_timing - Convert symbol timing struct to register value. SYNOPSIS u32 img_ir_symbol_timing (const struct img_ir_symbol_timing *timing , unsigned int tolerance , unsigned long clock_hz , unsigned int pd_shift , unsigned int w_shift ); ARGUMENTS timing Symbol timing data tolerance Timi...
img_ir_timing_range_convert(9)
NAME img_ir_timing_range_convert - Convert microsecond range. SYNOPSIS void img_ir_timing_range_convert (struct img_ir_timing_range *out , const struct img_ir_timing_range *in , unsigned int tolerance , unsigned long clock_hz , unsigned int shift ); ARGUMENTS out Output timing range in clock cycles with a shi...
img_ir_timings_convert(9)
NAME img_ir_timings_convert - Convert timings to register values SYNOPSIS void img_ir_timings_convert (struct img_ir_timing_regvals *regs , const struct img_ir_timings *timings , unsigned int tolerance , unsigned int clock_hz ); ARGUMENTS regs Output timing register values timings Input timing data...
img_ir_write_timings(9)
NAME img_ir_write_timings - Write timings to the hardware now SYNOPSIS void img_ir_write_timings (struct img_ir_priv *priv , struct img_ir_timing_regvals *regs , enum rc_filter_type type ); ARGUMENTS priv IR private data regs Timing register values to write type RC filter type (RC...
imgu_css_pool_last(9)
NAME imgu_css_pool_last - Retrieve the nth pool entry from last SYNOPSIS const struct imgu_css_map * imgu_css_pool_last (struct imgu_css_pool *pool , unsigned int n ); ARGUMENTS pool a pointer to struct imgu_css_pool. n the distance to the last index. RETURN The nth entry from last or null m...
imgu_dmamap_alloc(9)
NAME imgu_dmamap_alloc - allocate and map a buffer into KVA SYNOPSIS void * imgu_dmamap_alloc (struct imgu_device *imgu , struct imgu_css_map *map , size_t len ); ARGUMENTS imgu struct device pointer map struct to store mapping variables len size required RETURN KVA on success ...
imgu_mmu_alloc_page_table(9)
NAME imgu_mmu_alloc_page_table - allocate a pre-filled page table SYNOPSIS u32 * imgu_mmu_alloc_page_table (u32 pteval ); ARGUMENTS pteval Value to initialize for page table entries with. RETURN Pointer to allocated page table or NULL on failure. SEE ALSO Kernel file ./drivers/staging/media/ipu3/ipu3-mmu.c...
imgu_mmu_exit(9)
NAME imgu_mmu_exit - clean up IPU3 MMU block SYNOPSIS void imgu_mmu_exit (struct imgu_mmu_info *info ); ARGUMENTS info MMU mappable range SEE ALSO Kernel file ./drivers/staging/media/ipu3/ipu3-mmu.c imgu_mmu_tlb_invalidate(9), imgu_mmu_set_halt(9), imgu_mmu_alloc_page_table(9), imgu_mmu_free_page_table(9), a...
imgu_mmu_free_page_table(9)
NAME imgu_mmu_free_page_table - free page table SYNOPSIS void imgu_mmu_free_page_table (u32 *pt ); ARGUMENTS pt Page table to free. SEE ALSO Kernel file ./drivers/staging/media/ipu3/ipu3-mmu.c imgu_mmu_tlb_invalidate(9), imgu_mmu_set_halt(9), imgu_mmu_alloc_page_table(9), address_to_pte_idx(9), img...
imgu_mmu_init(9)
NAME imgu_mmu_init - initialize IPU3 MMU block SYNOPSIS struct imgu_mmu_info * imgu_mmu_init (struct device *parent , void __iomem *base ); ARGUMENTS parent struct device parent base IOMEM base of hardware registers. RETURN Pointer to IPU3 MMU private data pointer or ERR_PTR on error. SEE ALSO K...
imgu_mmu_map(9)
NAME imgu_mmu_map - map a buffer to a physical address SYNOPSIS int imgu_mmu_map (struct imgu_mmu_info *info , unsigned long iova , phys_addr_t paddr , size_t size ); ARGUMENTS info MMU mappable range iova the virtual address paddr the physical address size length of...
imgu_mmu_map_sg(9)
NAME imgu_mmu_map_sg - Map a scatterlist SYNOPSIS size_t imgu_mmu_map_sg (struct imgu_mmu_info *info , unsigned long iova , struct scatterlist *sg , unsigned int nents ); ARGUMENTS info MMU mappable range iova the virtual address sg the scatterlist to map nents num...
imgu_mmu_set_halt(9)
NAME imgu_mmu_set_halt - set CIO gate halt bit SYNOPSIS void imgu_mmu_set_halt (struct imgu_mmu *mmu , bool halt ); ARGUMENTS mmu MMU to set the CIO gate bit in. halt Desired state of the gate bit. DESCRIPTION This function sets the CIO gate bit that controls whether external memory accesses a...
imgu_mmu_tlb_invalidate(9)
NAME imgu_mmu_tlb_invalidate - invalidate translation look-aside buffer SYNOPSIS void imgu_mmu_tlb_invalidate (struct imgu_mmu *mmu ); ARGUMENTS mmu MMU to perform the invalidate operation on DESCRIPTION This function invalidates the whole TLB. Must be called when the hardware is powered on. SEE ALSO Kernel...
imgu_mmu_unmap(9)
NAME imgu_mmu_unmap - Unmap a buffer SYNOPSIS size_t imgu_mmu_unmap (struct imgu_mmu_info *info , unsigned long iova , size_t size ); ARGUMENTS info MMU mappable range iova the virtual address size the length of the buffer DESCRIPTION The function has been adapted from iommu_unma...
immedok.3x(3)
NAME clearok, idlok, idcok, immedok, leaveok, setscrreg, wsetscrreg, scrollok - set curses output options SYNOPSIS #include <ncursesw/curses.h> int clearok(WINDOW *win, bool bf); int idlok(WINDOW *win, bool bf); void idcok(WINDOW *win, bool bf); void immedok(WINDOW *win, bool bf); i...
import(1)
NAME import - saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen. The window to capture is selected by clicking the desired window or a program option. SYNOPSIS magick import [options] output-file OVERVI...
import_iovec(9)
NAME import_iovec - Copy an array of &struct iovec from userspace into the kernel, check that it is valid, and initialize a new &struct iov_iter iterator to access it. SYNOPSIS ssize_t import_iovec (int type , const struct iovec __user *uvec , unsigned nr_segs , unsigned fast_segs , struct iovec **iovp , struct iov_it...
importctl(1)
NAME importctl - Download, import or export disk images SYNOPSIS importctl [OPTIONS...] {COMMAND} [NAME...] DESCRIPTION importctl may be used to download, import, and export disk images via systemd-importd.service(8). importctl operates both on block-level disk images (such as DDIs) as well as file-sy...
imr_add_range(9)
NAME imr_add_range - add an Isolated Memory Region. SYNOPSIS int imr_add_range (phys_addr_t base , size_t size , unsigned int rmask , unsigned int wmask ); ARGUMENTS base physical base address of region aligned to 1KiB. size physical size of region in bytes must be aligned to 1KiB. rmask...
imr_address_overlap(9)
NAME imr_address_overlap - detects an address overlap. SYNOPSIS int imr_address_overlap (phys_addr_t addr , struct imr_regs *imr ); ARGUMENTS addr address to check against an existing IMR. imr imr being checked. RETURN true for overlap false for no overlap. SEE ALSO Kernel file ./arch/x86/p...
imr_check_params(9)
NAME imr_check_params - check passed address range IMR alignment and non-zero size SYNOPSIS int imr_check_params (phys_addr_t base , size_t size ); ARGUMENTS base base address of intended IMR. size size of intended IMR. RETURN zero on valid range -EINVAL on unaligned base/size. SEE ALSO Kernel...
imr_clear(9)
NAME imr_clear - delete an Isolated Memory Region by index SYNOPSIS int imr_clear (int reg ); ARGUMENTS reg imr index to remove. DESCRIPTION This function allows you to delete an IMR by an address range specified by the index of the IMR. Useful for initial sanitization of the IMR address map. imr_ge(base, s...
imr_dbgfs_state_show(9)
NAME imr_dbgfs_state_show - print state of IMR registers. SYNOPSIS int imr_dbgfs_state_show (struct seq_file *s , void *unused ); ARGUMENTS s pointer to seq_file for output. unused unused parameter. RETURN 0 on success or error code passed from mbi_iosf on failure. SEE ALSO Kernel file ./ar...
imr_debugfs_register(9)
NAME imr_debugfs_register - register debugfs hooks. SYNOPSIS void imr_debugfs_register (struct imr_device *idev ); ARGUMENTS idev pointer to imr_device structure. SEE ALSO Kernel file ./arch/x86/platform/intel-quark/imr.c imr_is_enabled(9), imr_read(9), imr_write(9), imr_dbgfs_state_show(9), imr_check_...
imr_fixup_memmap(9)
NAME imr_fixup_memmap - Tear down IMRs used during bootup. SYNOPSIS void imr_fixup_memmap (struct imr_device *idev ); ARGUMENTS idev pointer to imr_device structure. DESCRIPTION BIOS and Grub both setup IMRs around compressed kernel, initrd memory that need to be removed before the kernel hands out one of...
imr_init(9)
NAME imr_init - entry point for IMR driver. SYNOPSIS int imr_init (void ); ARGUMENTS void no arguments RETURN -ENODEV for no IMR support 0 if good to go. SEE ALSO Kernel file ./arch/x86/platform/intel-quark/imr.c imr_is_enabled(9), imr_read(9), imr_write(9), imr_dbgfs_state_show(9), imr_debugfs_re...
imr_is_enabled(9)
NAME imr_is_enabled - true if an IMR is enabled false otherwise. SYNOPSIS int imr_is_enabled (struct imr_regs *imr ); ARGUMENTS imr pointer to IMR descriptor. DESCRIPTION Determines if an IMR is enabled based on address range and read/write mask. An IMR set with an address range set to zero and a read/wri...
imr_raw_size(9)
NAME imr_raw_size - account for the IMR_ALIGN bytes that addr_hi appends. SYNOPSIS size_t imr_raw_size (size_t size ); ARGUMENTS size input size bytes. DESCRIPTION IMR addr_hi has a built in offset of plus IMR_ALIGN (0x400) bytes from the value in the register. We need to subtract IMR_ALIGN bytes from input s...
imr_read(9)
NAME imr_read - read an IMR at a given index. SYNOPSIS int imr_read (struct imr_device *idev , u32 imr_id , struct imr_regs *imr ); ARGUMENTS idev pointer to imr_device structure. imr_id IMR entry to read. imr IMR structure representing address and access masks. DESCRIPTION Requir...
imr_remove_range(9)
NAME imr_remove_range - delete an Isolated Memory Region by address SYNOPSIS int imr_remove_range (phys_addr_t base , size_t size ); ARGUMENTS base physical base address of region aligned to 1 KiB. size physical size of region in bytes aligned to 1 KiB. DESCRIPTION This function allows you to d...
imr_self_test(9)
NAME imr_self_test - SYNOPSIS void imr_self_test (void ); ARGUMENTS void no arguments DESCRIPTION Verify IMR self_test with some simple tests to verify overlap, zero sized allocations and 1 KiB sized areas. SEE ALSO Kernel file ./arch/x86/platform/intel-quark/imr_selftest.c imr_self_test_result(9), imr_self_...
imr_self_test_init(9)
NAME imr_self_test_init - entry point for IMR driver. SYNOPSIS int imr_self_test_init (void ); ARGUMENTS void no arguments RETURN -ENODEV for no IMR support 0 if good to go. SEE ALSO Kernel file ./arch/x86/platform/intel-quark/imr_selftest.c imr_self_test_result(9), imr_self_test(9) April 2026 ...
imr_self_test_result(9)
NAME imr_self_test_result - Print result string for self test. SYNOPSIS void imr_self_test_result (int res , const char *fmt , ... ); ARGUMENTS res result code - true if test passed false otherwise. fmt format string. ... variadic argument list. ... variable arguments...
imr_write(9)
NAME imr_write - write an IMR at a given index. SYNOPSIS int imr_write (struct imr_device *idev , u32 imr_id , struct imr_regs *imr ); ARGUMENTS idev pointer to imr_device structure. imr_id IMR entry to write. imr IMR structure representing address and access masks. DESCRIPTION Re...
imx274_get_fmt(9)
NAME imx274_get_fmt - Get the pad format SYNOPSIS int imx274_get_fmt (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_format *fmt ); ARGUMENTS sd Pointer to V4L2 Sub device structure sd_state Pointer to sub device state structure fmt Pointer to pad ...
imx274_load_default(9)
NAME imx274_load_default - load default control values SYNOPSIS void imx274_load_default (struct stimx274 *priv ); ARGUMENTS priv Pointer to device structure RETURN 0 on success, errors otherwise SEE ALSO Kernel file ./drivers/media/i2c/imx274.c imx274_read_mbreg(9), imx274_write_mbreg(9), imx274_s_ctrl(9), ...
imx274_read_mbreg(9)
NAME imx274_read_mbreg - Read a multibyte register. SYNOPSIS int imx274_read_mbreg (struct stimx274 *priv , u16 addr , u32 *val , size_t nbytes ); ARGUMENTS priv Pointer to device structure addr Address of the LSB register. Other registers must be consecutive, least-to-most significant. ...
imx274_s_ctrl(9)
NAME imx274_s_ctrl - This is used to set the imx274 V4L2 controls SYNOPSIS int imx274_s_ctrl (struct v4l2_ctrl *ctrl ); ARGUMENTS ctrl V4L2 control to be set DESCRIPTION This function is used to set the V4L2 controls for the imx274 sensor. RETURN 0 on success, errors otherwise SEE ALSO Kernel file ./drivers...
imx274_s_stream(9)
NAME imx274_s_stream - It is used to start/stop the streaming. SYNOPSIS int imx274_s_stream (struct v4l2_subdev *sd , int on ); ARGUMENTS sd V4L2 Sub device on Flag (True / False) DESCRIPTION This function controls the start or stop of streaming for the imx274 sensor. RETURN 0 on success, ...
imx274_set_fmt(9)
NAME imx274_set_fmt - This is used to set the pad format SYNOPSIS int imx274_set_fmt (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_format *format ); ARGUMENTS sd Pointer to V4L2 Sub device structure sd_state Pointer to sub device state information structure ...
imx274_write_mbreg(9)
NAME imx274_write_mbreg - Write a multibyte register. SYNOPSIS int imx274_write_mbreg (struct stimx274 *priv , u16 addr , u32 val , size_t nbytes ); ARGUMENTS priv Pointer to device structure addr Address of the LSB register. Other registers must be consecutive, least-to-most significant. ...
imx334_detect(9)
NAME imx334_detect - Detect imx334 sensor SYNOPSIS int imx334_detect (struct imx334 *imx334 ); ARGUMENTS imx334 pointer to imx334 device RETURN 0 if successful, -EIO if sensor id does not match SEE ALSO Kernel file ./drivers/media/i2c/imx334.c struct imx334_reg_list(9), struct imx334_mode(9), st...
imx334_disable_streams(9)
NAME imx334_disable_streams - Enable specified streams for the sensor SYNOPSIS int imx334_disable_streams (struct v4l2_subdev *sd , struct v4l2_subdev_state *state , u32 pad , u64 streams_mask ); ARGUMENTS sd pointer to the V4L2 subdevice state pointer to the subdevice state pad ...
imx334_enable_streams(9)
NAME imx334_enable_streams - Enable specified streams for the sensor SYNOPSIS int imx334_enable_streams (struct v4l2_subdev *sd , struct v4l2_subdev_state *state , u32 pad , u64 streams_mask ); ARGUMENTS sd pointer to the V4L2 subdevice state pointer to the subdevice state pad p...
imx334_enum_frame_size(9)
NAME imx334_enum_frame_size - Enumerate V4L2 sub-device frame sizes SYNOPSIS int imx334_enum_frame_size (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_frame_size_enum *fsize ); ARGUMENTS sd pointer to imx334 V4L2 sub-device structure sd_state V4L2 sub-device stat...
imx334_enum_mbus_code(9)
NAME imx334_enum_mbus_code - Enumerate V4L2 sub-device mbus codes SYNOPSIS int imx334_enum_mbus_code (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_mbus_code_enum *code ); ARGUMENTS sd pointer to imx334 V4L2 sub-device structure sd_state V4L2 sub-device state ...
imx334_fill_pad_format(9)
NAME imx334_fill_pad_format - Fill subdevice pad format from selected sensor mode SYNOPSIS void imx334_fill_pad_format (struct imx334 *imx334 , const struct imx334_mode *mode , struct v4l2_subdev_format *fmt ); ARGUMENTS imx334 pointer to imx334 device mode pointer to imx334_mode sensor mode ...
imx334_get_pad_format(9)
NAME imx334_get_pad_format - Get subdevice pad format SYNOPSIS int imx334_get_pad_format (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_format *fmt ); ARGUMENTS sd pointer to imx334 V4L2 sub-device structure sd_state V4L2 sub-device state fmt V4L2...
imx334_init_controls(9)
NAME imx334_init_controls - Initialize sensor subdevice controls SYNOPSIS int imx334_init_controls (struct imx334 *imx334 ); ARGUMENTS imx334 pointer to imx334 device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx334.c struct imx334_reg_list(9), struct i...
imx334_init_state(9)
NAME imx334_init_state - Initialize sub-device state SYNOPSIS int imx334_init_state (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state ); ARGUMENTS sd pointer to imx334 V4L2 sub-device structure sd_state V4L2 sub-device state RETURN 0 if successful, error code otherwise. SEE ALSO Kerne...
imx334_parse_hw_config(9)
NAME imx334_parse_hw_config - Parse HW configuration and check if supported SYNOPSIS int imx334_parse_hw_config (struct imx334 *imx334 ); ARGUMENTS imx334 pointer to imx334 device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx334.c struct imx334_reg_list(9),...
imx334_power_off(9)
NAME imx334_power_off - Sensor power off sequence SYNOPSIS int imx334_power_off (struct device *dev ); ARGUMENTS dev pointer to i2c device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx334.c struct imx334_reg_list(9), struct imx334_mode(9), struct ...
imx334_power_on(9)
NAME imx334_power_on - Sensor power on sequence SYNOPSIS int imx334_power_on (struct device *dev ); ARGUMENTS dev pointer to i2c device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx334.c struct imx334_reg_list(9), struct imx334_mode(9), struct imx334(9),...
imx334_probe(9)
NAME imx334_probe - I2C client device binding SYNOPSIS int imx334_probe (struct i2c_client *client ); ARGUMENTS client pointer to i2c client device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx334.c struct imx334_reg_list(9), struct imx334_mode(9), st...
imx334_remove(9)
NAME imx334_remove - I2C client device unbinding SYNOPSIS void imx334_remove (struct i2c_client *client ); ARGUMENTS client pointer to I2C client device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx334.c struct imx334_reg_list(9), struct imx334_mode(9),...
imx334_set_ctrl(9)
NAME imx334_set_ctrl - Set subdevice control SYNOPSIS int imx334_set_ctrl (struct v4l2_ctrl *ctrl ); ARGUMENTS ctrl pointer to v4l2_ctrl structure DESCRIPTION Supported controls: - V4L2_CID_VBLANK - cluster controls: - V4L2_CID_ANALOGUE_GAIN - V4L2_CID_EXPOSURE RETURN 0 if successful, error code otherwise. ...
imx334_set_pad_format(9)
NAME imx334_set_pad_format - Set subdevice pad format SYNOPSIS int imx334_set_pad_format (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_format *fmt ); ARGUMENTS sd pointer to imx334 V4L2 sub-device structure sd_state V4L2 sub-device state fmt V4L2...
imx334_update_controls(9)
NAME imx334_update_controls - Update control ranges based on streaming mode SYNOPSIS int imx334_update_controls (struct imx334 *imx334 , const struct imx334_mode *mode ); ARGUMENTS imx334 pointer to imx334 device mode pointer to imx334_mode sensor mode RETURN 0 if successful, error code otherwise...
imx334_update_exp_gain(9)
NAME imx334_update_exp_gain - Set updated exposure and gain SYNOPSIS int imx334_update_exp_gain (struct imx334 *imx334 , u32 exposure , u32 gain ); ARGUMENTS imx334 pointer to imx334 device exposure updated exposure value gain updated analog gain value RETURN 0 if successful, error cod...
imx335_detect(9)
NAME imx335_detect - Detect imx335 sensor SYNOPSIS int imx335_detect (struct imx335 *imx335 ); ARGUMENTS imx335 pointer to imx335 device RETURN 0 if successful, -EIO if sensor id does not match SEE ALSO Kernel file ./drivers/media/i2c/imx335.c struct imx335_reg_list(9), struct imx335_mode(9), st...
imx335_disable_streams(9)
NAME imx335_disable_streams - Disable sensor streams SYNOPSIS int imx335_disable_streams (struct v4l2_subdev *sd , struct v4l2_subdev_state *state , u32 pad , u64 streams_mask ); ARGUMENTS sd V4L2 subdevice state V4L2 subdevice state pad The pad to disable streams_mask ...
imx335_enable_streams(9)
NAME imx335_enable_streams - Enable sensor streams SYNOPSIS int imx335_enable_streams (struct v4l2_subdev *sd , struct v4l2_subdev_state *state , u32 pad , u64 streams_mask ); ARGUMENTS sd V4L2 subdevice state V4L2 subdevice state pad The pad to enable streams_mask ...
imx335_enum_frame_size(9)
NAME imx335_enum_frame_size - Enumerate V4L2 sub-device frame sizes SYNOPSIS int imx335_enum_frame_size (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_frame_size_enum *fsize ); ARGUMENTS sd pointer to imx335 V4L2 sub-device structure sd_state V4L2 sub-device conf...
imx335_enum_mbus_code(9)
NAME imx335_enum_mbus_code - Enumerate V4L2 sub-device mbus codes SYNOPSIS int imx335_enum_mbus_code (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_mbus_code_enum *code ); ARGUMENTS sd pointer to imx335 V4L2 sub-device structure sd_state V4L2 sub-device configura...
imx335_fill_pad_format(9)
NAME imx335_fill_pad_format - Fill subdevice pad format from selected sensor mode SYNOPSIS void imx335_fill_pad_format (struct imx335 *imx335 , const struct imx335_mode *mode , struct v4l2_subdev_format *fmt ); ARGUMENTS imx335 pointer to imx335 device mode pointer to imx335_mode sensor mode ...
imx335_get_selection(9)
NAME imx335_get_selection - Selection API SYNOPSIS int imx335_get_selection (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_selection *sel ); ARGUMENTS sd pointer to imx335 V4L2 sub-device structure sd_state V4L2 sub-device configuration sel V4L2 s...
imx335_init_controls(9)
NAME imx335_init_controls - Initialize sensor subdevice controls SYNOPSIS int imx335_init_controls (struct imx335 *imx335 ); ARGUMENTS imx335 pointer to imx335 device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx335.c struct imx335_reg_list(9), struct i...
imx335_init_state(9)
NAME imx335_init_state - Initialize sub-device state SYNOPSIS int imx335_init_state (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state ); ARGUMENTS sd pointer to imx335 V4L2 sub-device structure sd_state V4L2 sub-device configuration RETURN 0 if successful, error code otherwise. SEE AL...
imx335_parse_hw_config(9)
NAME imx335_parse_hw_config - Parse HW configuration and check if supported SYNOPSIS int imx335_parse_hw_config (struct imx335 *imx335 ); ARGUMENTS imx335 pointer to imx335 device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx335.c struct imx335_reg_list(9),...
imx335_power_off(9)
NAME imx335_power_off - Sensor power off sequence SYNOPSIS int imx335_power_off (struct device *dev ); ARGUMENTS dev pointer to i2c device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx335.c struct imx335_reg_list(9), struct imx335_mode(9), struct ...
imx335_power_on(9)
NAME imx335_power_on - Sensor power on sequence SYNOPSIS int imx335_power_on (struct device *dev ); ARGUMENTS dev pointer to i2c device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx335.c struct imx335_reg_list(9), struct imx335_mode(9), struct im...
imx335_probe(9)
NAME imx335_probe - I2C client device binding SYNOPSIS int imx335_probe (struct i2c_client *client ); ARGUMENTS client pointer to i2c client device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx335.c struct imx335_reg_list(9), struct imx335_mode(9), st...
imx335_remove(9)
NAME imx335_remove - I2C client device unbinding SYNOPSIS void imx335_remove (struct i2c_client *client ); ARGUMENTS client pointer to I2C client device RETURN 0 if successful, error code otherwise. SEE ALSO Kernel file ./drivers/media/i2c/imx335.c struct imx335_reg_list(9), struct imx335_mode(9),...
imx335_set_ctrl(9)
NAME imx335_set_ctrl - Set subdevice control SYNOPSIS int imx335_set_ctrl (struct v4l2_ctrl *ctrl ); ARGUMENTS ctrl pointer to v4l2_ctrl structure DESCRIPTION Supported controls: - V4L2_CID_VBLANK - cluster controls: - V4L2_CID_ANALOGUE_GAIN - V4L2_CID_EXPOSURE RETURN 0 if successful, error code otherwise. ...
imx335_set_pad_format(9)
NAME imx335_set_pad_format - Set subdevice pad format SYNOPSIS int imx335_set_pad_format (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_format *fmt ); ARGUMENTS sd pointer to imx335 V4L2 sub-device structure sd_state V4L2 sub-device configuration fmt ...
imx335_update_controls(9)
NAME imx335_update_controls - Update control ranges based on streaming mode SYNOPSIS int imx335_update_controls (struct imx335 *imx335 , const struct imx335_mode *mode ); ARGUMENTS imx335 pointer to imx335 device mode pointer to imx335_mode sensor mode RETURN 0 if successful, error code otherwise...
imx335_update_exp_gain(9)
NAME imx335_update_exp_gain - Set updated exposure and gain SYNOPSIS int imx335_update_exp_gain (struct imx335 *imx335 , u32 exposure , u32 gain ); ARGUMENTS imx335 pointer to imx335 device exposure updated exposure value gain updated analog gain value RETURN 0 if successful, error cod...
imx412_detect(9)
NAME imx412_detect - Detect imx412 sensor SYNOPSIS int imx412_detect (struct imx412 *imx412 ); ARGUMENTS imx412 pointer to imx412 device RETURN 0 if successful, -EIO if sensor id does not match SEE ALSO Kernel file ./drivers/media/i2c/imx412.c struct imx412_reg(9), struct imx412_reg_list(9), struct imx412_m...
imx412_enum_frame_size(9)
NAME imx412_enum_frame_size - Enumerate V4L2 sub-device frame sizes SYNOPSIS int imx412_enum_frame_size (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_frame_size_enum *fsize ); ARGUMENTS sd pointer to imx412 V4L2 sub-device structure sd_state V4L2 sub-device conf...
imx412_enum_mbus_code(9)
NAME imx412_enum_mbus_code - Enumerate V4L2 sub-device mbus codes SYNOPSIS int imx412_enum_mbus_code (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_mbus_code_enum *code ); ARGUMENTS sd pointer to imx412 V4L2 sub-device structure sd_state V4L2 sub-device configura...
imx412_fill_pad_format(9)
NAME imx412_fill_pad_format - Fill subdevice pad format from selected sensor mode SYNOPSIS void imx412_fill_pad_format (struct imx412 *imx412 , const struct imx412_mode *mode , struct v4l2_subdev_format *fmt ); ARGUMENTS imx412 pointer to imx412 device mode pointer to imx412_mode sensor mode ...
imx412_get_pad_format(9)
NAME imx412_get_pad_format - Get subdevice pad format SYNOPSIS int imx412_get_pad_format (struct v4l2_subdev *sd , struct v4l2_subdev_state *sd_state , struct v4l2_subdev_format *fmt ); ARGUMENTS sd pointer to imx412 V4L2 sub-device structure sd_state V4L2 sub-device configuration fmt ...