| /kernel/linux/linux-6.6/drivers/staging/axis-fifo/ |
| D | axis-fifo.txt | 1 Xilinx AXI-Stream FIFO v4.1 IP core 3 This IP core has read and write AXI-Stream FIFOs, the contents of which can 4 be accessed from the AXI4 memory-mapped interface. This is useful for 5 transferring data from a processor into the FPGA fabric. The driver creates 11 Currently supports only store-forward mode with a 32-bit 12 AXI4-Lite interface. DOES NOT support: 13 - cut-through mode 14 - AXI4 (non-lite) 17 - compatible: Should be "xlnx,axi-fifo-mm-s-4.1" 18 - interrupt-names: Should be "interrupt" [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/axis-fifo/ |
| D | axis-fifo.txt | 1 Xilinx AXI-Stream FIFO v4.1 IP core 3 This IP core has read and write AXI-Stream FIFOs, the contents of which can 4 be accessed from the AXI4 memory-mapped interface. This is useful for 5 transferring data from a processor into the FPGA fabric. The driver creates 11 Currently supports only store-forward mode with a 32-bit 12 AXI4-Lite interface. DOES NOT support: 13 - cut-through mode 14 - AXI4 (non-lite) 17 - compatible: Should be "xlnx,axi-fifo-mm-s-4.1" 18 - interrupt-names: Should be "interrupt" [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| D | frame.c | 1 // SPDX-License-Identifier: GPL-2.0 33 unsigned int width, 76 unsigned int width, 83 static struct ia_css_frame *frame_create(unsigned int width, 102 hmm_set(frame->data, 0, frame->data_bytes); in ia_css_frame_zero() 111 return -EINVAL; in ia_css_frame_allocate_from_info() 115 ia_css_frame_allocate(frame, info->res.width, info->res.height, in ia_css_frame_allocate_from_info() 116 info->format, info->padded_width, in ia_css_frame_allocate_from_info() 117 info->raw_bit_depth); in ia_css_frame_allocate_from_info() 124 unsigned int width, in ia_css_frame_allocate() argument [all …]
|
| /kernel/linux/linux-5.10/scripts/kconfig/lxdialog/ |
| D | textbox.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * textbox.c -- implements the text box 12 static void print_page(WINDOW *win, int height, int width, update_text_fn 13 update_text, void *data); 14 static void print_line(WINDOW *win, int row, int width); 28 void *data) in refresh_text_box() argument 30 print_page(box, boxh, boxw, update_text, data); in refresh_text_box() 40 * keys is a null-terminated array 45 update_text_fn update_text, void *data) in dialog_textbox() argument 48 int height, width, boxh, boxw; in dialog_textbox() local [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/meson/ |
| D | axg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * AmLogic Meson-AXG Clock Controller Driver 12 #include <linux/clk-provider.h> 17 #include "clk-regmap.h" 18 #include "clk-pll.h" 19 #include "clk-mpll.h" 21 #include "meson-eeclk.h" 26 .data = &(struct meson_clk_pll_data){ 30 .width = 1, 35 .width = 9, [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/ |
| D | atafb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 int dx, int height, int width); 8 int sy, int sx, int height, int width); 10 int dy, int dx, u32 width, 11 const u8 *data, u32 bgcolor, u32 fgcolor); 14 int dx, int height, int width); 16 int sy, int sx, int height, int width); 18 int dy, int dx, u32 width, 19 const u8 *data, u32 bgcolor, u32 fgcolor); 22 int dx, int height, int width); [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/ |
| D | atafb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 int dx, int height, int width); 8 int sy, int sx, int height, int width); 10 int dy, int dx, u32 width, 11 const u8 *data, u32 bgcolor, u32 fgcolor); 14 int dx, int height, int width); 16 int sy, int sx, int height, int width); 18 int dy, int dx, u32 width, 19 const u8 *data, u32 bgcolor, u32 fgcolor); 22 int dx, int height, int width); [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/ |
| D | inputfifo.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2010 - 2015, Intel Corporation. 48 /* The data type is used to send special cases: 55 * regular: used for all other data types (RAW, YUV422, etc) 105 unsigned int data) in inputfifo_send_data_a() argument 108 (data << HIVE_STR_TO_MIPI_DATA_A_LSB); in inputfifo_send_data_a() 115 unsigned int data) in inputfifo_send_data_b() argument 118 (data << _HIVE_STR_TO_MIPI_DATA_B_LSB); in inputfifo_send_data_b() 223 const unsigned short *data, in inputfifo_send_line2() argument 224 unsigned int width, in inputfifo_send_line2() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/ |
| D | inputfifo.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2010 - 2015, Intel Corporation. 48 /* The data type is used to send special cases: 55 * regular: used for all other data types (RAW, YUV422, etc) 105 unsigned int data) in inputfifo_send_data_a() argument 108 (data << HIVE_STR_TO_MIPI_DATA_A_LSB); in inputfifo_send_data_a() 115 unsigned int data) in inputfifo_send_data_b() argument 118 (data << _HIVE_STR_TO_MIPI_DATA_B_LSB); in inputfifo_send_data_b() 223 const unsigned short *data, in inputfifo_send_line2() argument 224 unsigned int width, in inputfifo_send_line2() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/hisilicon/ |
| D | clkdivider-hi6220.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/clk-provider.h> 19 #define div_mask(width) ((1 << (width)) - 1) argument 22 * struct hi6220_clk_divider - divider clock for hi6220 24 * @hw: handle between common and hardware-specific interfaces 27 * @width: width of the divider bit field 36 u8 width; member 51 val = readl_relaxed(dclk->reg) >> dclk->shift; in hi6220_clkdiv_recalc_rate() 52 val &= div_mask(dclk->width); in hi6220_clkdiv_recalc_rate() 54 return divider_recalc_rate(hw, parent_rate, val, dclk->table, in hi6220_clkdiv_recalc_rate() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/hisilicon/ |
| D | clkdivider-hi6220.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/clk-provider.h> 19 #define div_mask(width) ((1 << (width)) - 1) argument 22 * struct hi6220_clk_divider - divider clock for hi6220 24 * @hw: handle between common and hardware-specific interfaces 27 * @width: width of the divider bit field 36 u8 width; member 51 val = readl_relaxed(dclk->reg) >> dclk->shift; in hi6220_clkdiv_recalc_rate() 52 val &= div_mask(dclk->width); in hi6220_clkdiv_recalc_rate() 54 return divider_recalc_rate(hw, parent_rate, val, dclk->table, in hi6220_clkdiv_recalc_rate() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| D | frame.c | 1 // SPDX-License-Identifier: GPL-2.0 33 unsigned int width, 70 unsigned int width, 76 static struct ia_css_frame *frame_create(unsigned int width, 97 return -EINVAL; in ia_css_frame_allocate_from_info() 101 ia_css_frame_allocate(frame, info->res.width, info->res.height, in ia_css_frame_allocate_from_info() 102 info->format, info->padded_width, in ia_css_frame_allocate_from_info() 103 info->raw_bit_depth); in ia_css_frame_allocate_from_info() 110 unsigned int width, in ia_css_frame_allocate() argument 118 if (!frame || width == 0 || height == 0) in ia_css_frame_allocate() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
| D | msm_media_info.h | 5 #define MSM_MEDIA_ALIGN(__sz, __align) (((__align) & ((__align) - 1)) ?\ 6 ((((__sz) + (__align) - 1) / (__align)) * (__align)) :\ 7 (((__sz) + (__align) - 1) & (~((__align) - 1)))) 11 #define MSM_MEDIA_ROUNDUP(__sz, __r) (((__sz) + ((__r) - 1)) / (__r)) 24 * <-------- Y/UV_Stride --------> 25 * <------- Width -------> 44 * . . . . . . . . . . . . . . . . --> Buffer size alignment 46 * Y_Stride : Width aligned to 128 47 * UV_Stride : Width aligned to 128 50 * Extradata: Arbitrary (software-imposed) padding [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
| D | msm_media_info.h | 5 #define MSM_MEDIA_ALIGN(__sz, __align) (((__align) & ((__align) - 1)) ?\ 6 ((((__sz) + (__align) - 1) / (__align)) * (__align)) :\ 7 (((__sz) + (__align) - 1) & (~((__align) - 1)))) 11 #define MSM_MEDIA_ROUNDUP(__sz, __r) (((__sz) + ((__r) - 1)) / (__r)) 24 * <-------- Y/UV_Stride --------> 25 * <------- Width -------> 44 * . . . . . . . . . . . . . . . . --> Buffer size alignment 46 * Y_Stride : Width aligned to 128 47 * UV_Stride : Width aligned to 128 50 * Extradata: Arbitrary (software-imposed) padding [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
| D | bitblit.c | 2 * linux/drivers/video/console/bitblit.c -- BitBlitting Operation 28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr() 29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr() local 30 unsigned int cellsize = vc->vc_font.height * width; in update_attr() 33 offset = cellsize - (offset * width); in update_attr() 47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument 51 area.sx = sx * vc->vc_font.width; in bit_bmove() 52 area.sy = sy * vc->vc_font.height; in bit_bmove() 53 area.dx = dx * vc->vc_font.width; in bit_bmove() 54 area.dy = dy * vc->vc_font.height; in bit_bmove() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
| D | bitblit.c | 2 * linux/drivers/video/console/bitblit.c -- BitBlitting Operation 28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr() 29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr() local 30 unsigned int cellsize = vc->vc_font.height * width; in update_attr() 33 offset = cellsize - (offset * width); in update_attr() 47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument 51 area.sx = sx * vc->vc_font.width; in bit_bmove() 52 area.sy = sy * vc->vc_font.height; in bit_bmove() 53 area.dx = dx * vc->vc_font.width; in bit_bmove() 54 area.dy = dy * vc->vc_font.height; in bit_bmove() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/meson/ |
| D | axg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * AmLogic Meson-AXG Clock Controller Driver 12 #include <linux/clk-provider.h> 18 #include "clk-regmap.h" 19 #include "clk-pll.h" 20 #include "clk-mpll.h" 22 #include "meson-eeclk.h" 24 #include <dt-bindings/clock/axg-clkc.h> 29 .data = &(struct meson_clk_pll_data){ 33 .width = 1, [all …]
|
| /kernel/linux/linux-6.6/sound/core/ |
| D | pcm_misc.c | 2 * PCM Interface - misc routines 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 #define SND_PCM_FORMAT_UNKNOWN (-1) 35 unsigned char width; /* bit width */ member 36 unsigned char phys; /* physical bit width */ 37 signed char le; /* 0 = big-endian, 1 = little-endian, -1 = others */ 38 signed char signd; /* 0 = unsigned, 1 = signed, -1 = others */ 39 unsigned char silence[8]; /* silence data to fill */ 52 .width = 8, .phys = 8, .le = -1, .signd = 1, 56 .width = 8, .phys = 8, .le = -1, .signd = 0, [all …]
|
| /kernel/linux/linux-5.10/sound/core/ |
| D | pcm_misc.c | 2 * PCM Interface - misc routines 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 #define SND_PCM_FORMAT_UNKNOWN (-1) 35 unsigned char width; /* bit width */ member 36 unsigned char phys; /* physical bit width */ 37 signed char le; /* 0 = big-endian, 1 = little-endian, -1 = others */ 38 signed char signd; /* 0 = unsigned, 1 = signed, -1 = others */ 39 unsigned char silence[8]; /* silence data to fill */ 52 .width = 8, .phys = 8, .le = -1, .signd = 1, 56 .width = 8, .phys = 8, .le = -1, .signd = 0, [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
| D | panel-simple.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 27 #include <linux/media-bus-format.h> 45 * struct panel_desc - Describes a simple panel. 77 * @size.width: Width (in mm) of the active display area. 79 unsigned int width; member 93 * become ready and start receiving video data 102 * video data. 171 for (i = 0; i < panel->desc->num_timings; i++) { in panel_simple_get_timings_modes() 172 const struct display_timing *dt = &panel->desc->timings[i]; in panel_simple_get_timings_modes() 176 mode = drm_mode_create(connector->dev); in panel_simple_get_timings_modes() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/nuvoton/ |
| D | clk-ma35d1-divider.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Chi-Fang Li <cfli0@nuvoton.com> 7 #include <linux/clk-provider.h> 12 #include "clk-ma35d1.h" 18 u8 width; member 35 val = readl_relaxed(dclk->reg) >> dclk->shift; in ma35d1_clkdiv_recalc_rate() 36 val &= clk_div_mask(dclk->width); in ma35d1_clkdiv_recalc_rate() 38 return divider_recalc_rate(hw, parent_rate, val, dclk->table, in ma35d1_clkdiv_recalc_rate() 39 CLK_DIVIDER_ROUND_CLOSEST, dclk->width); in ma35d1_clkdiv_recalc_rate() 46 return divider_round_rate(hw, rate, prate, dclk->table, in ma35d1_clkdiv_round_rate() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
| D | panel-simple.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 66 * @width: width (in millimeters) of the panel's active display area 70 unsigned int width; member 76 * become ready and start receiving video data 81 * video data 130 for (i = 0; i < panel->desc->num_timings; i++) { in panel_simple_get_timings_modes() 131 const struct display_timing *dt = &panel->desc->timings[i]; in panel_simple_get_timings_modes() 135 mode = drm_mode_create(connector->dev); in panel_simple_get_timings_modes() 137 dev_err(panel->base.dev, "failed to add mode %ux%u\n", in panel_simple_get_timings_modes() 138 dt->hactive.typ, dt->vactive.typ); in panel_simple_get_timings_modes() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/ |
| D | vcap_api.c | 1 // SPDX-License-Identifier: GPL-2.0+ 53 itr->offset = offset; in vcap_iter_set() 54 itr->sw_width = sw_width; in vcap_iter_set() 55 itr->regs_per_sw = DIV_ROUND_UP(sw_width, 32); in vcap_iter_set() 56 itr->tg = tg; in vcap_iter_set() 62 * A typegroup table ends with an all-zero terminator. in vcap_iter_skip_tg() 64 while (itr->tg->width && itr->offset >= itr->tg->offset) { in vcap_iter_skip_tg() 65 itr->offset += itr->tg->width; in vcap_iter_skip_tg() 66 itr->tg++; /* next typegroup */ in vcap_iter_skip_tg() 75 sw_idx = itr->offset / itr->sw_width; in vcap_iter_update() [all …]
|
| /kernel/linux/linux-6.6/drivers/mtd/maps/ |
| D | pismo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PISMO memory driver - http://www.pismoworld.org/ 15 #include <linux/mtd/plat-ram.h> 22 u8 width; member 39 u8 width; member 52 struct i2c_client *client = to_i2c_client(pdev->dev.parent); in pismo_set_vpp() 55 pismo->vpp(pismo->vpp_data, on); in pismo_set_vpp() 58 static unsigned int pismo_width_to_bytes(unsigned int width) in pismo_width_to_bytes() argument 60 width &= 15; in pismo_width_to_bytes() 61 if (width > 2) in pismo_width_to_bytes() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/maps/ |
| D | pismo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PISMO memory driver - http://www.pismoworld.org/ 15 #include <linux/mtd/plat-ram.h> 22 u8 width; member 39 u8 width; member 52 struct i2c_client *client = to_i2c_client(pdev->dev.parent); in pismo_set_vpp() 55 pismo->vpp(pismo->vpp_data, on); in pismo_set_vpp() 58 static unsigned int pismo_width_to_bytes(unsigned int width) in pismo_width_to_bytes() argument 60 width &= 15; in pismo_width_to_bytes() 61 if (width > 2) in pismo_width_to_bytes() [all …]
|