| /OK3568_Linux_fs/kernel/drivers/pinctrl/qcom/ |
| H A D | pinctrl-spmi-mpp.c | 177 struct pmic_mpp_pad *pad, unsigned int addr) in pmic_mpp_read() argument 182 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_mpp_read() 192 struct pmic_mpp_pad *pad, unsigned int addr, in pmic_mpp_write() argument 197 ret = regmap_write(state->map, pad->base + addr, val); in pmic_mpp_write() 255 struct pmic_mpp_pad *pad) in pmic_mpp_write_mode_ctl() argument 262 switch (pad->function) { in pmic_mpp_write_mode_ctl() 264 if (pad->input_enabled && pad->output_enabled) in pmic_mpp_write_mode_ctl() 266 else if (pad->input_enabled) in pmic_mpp_write_mode_ctl() 272 if (pad->input_enabled && pad->output_enabled) in pmic_mpp_write_mode_ctl() 274 else if (pad->input_enabled) in pmic_mpp_write_mode_ctl() [all …]
|
| H A D | pinctrl-spmi-gpio.c | 216 struct pmic_gpio_pad *pad, unsigned int addr) in pmic_gpio_read() argument 221 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_gpio_read() 231 struct pmic_gpio_pad *pad, unsigned int addr, in pmic_gpio_write() argument 236 ret = regmap_write(state->map, pad->base + addr, val); in pmic_gpio_write() 296 struct pmic_gpio_pad *pad; in pmic_gpio_set_mux() local 305 pad = pctldev->desc->pins[pin].drv_data; in pmic_gpio_set_mux() 310 if (!pad->lv_mv_type) { in pmic_gpio_set_mux() 321 pad->function = function; in pmic_gpio_set_mux() 323 if (pad->analog_pass) in pmic_gpio_set_mux() 325 else if (pad->output_enabled && pad->input_enabled) in pmic_gpio_set_mux() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
| H A D | pad.c | 24 #include "pad.h" 27 nvkm_i2c_pad_mode_locked(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) in nvkm_i2c_pad_mode_locked() argument 29 PAD_TRACE(pad, "-> %s", (mode == NVKM_I2C_PAD_AUX) ? "aux" : in nvkm_i2c_pad_mode_locked() 31 if (pad->func->mode) in nvkm_i2c_pad_mode_locked() 32 pad->func->mode(pad, mode); in nvkm_i2c_pad_mode_locked() 36 nvkm_i2c_pad_mode(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) in nvkm_i2c_pad_mode() argument 38 PAD_TRACE(pad, "mode %d", mode); in nvkm_i2c_pad_mode() 39 mutex_lock(&pad->mutex); in nvkm_i2c_pad_mode() 40 nvkm_i2c_pad_mode_locked(pad, mode); in nvkm_i2c_pad_mode() 41 pad->mode = mode; in nvkm_i2c_pad_mode() [all …]
|
| H A D | base.c | 27 #include "pad.h" 38 struct nvkm_i2c_pad *pad; in nvkm_i2c_pad_find() local 40 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_pad_find() 41 if (pad->id == id) in nvkm_i2c_pad_find() 42 return pad; in nvkm_i2c_pad_find() 162 struct nvkm_i2c_pad *pad; in nvkm_i2c_fini() local 180 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_fini() 181 nvkm_i2c_pad_fini(pad); in nvkm_i2c_fini() 192 struct nvkm_i2c_pad *pad; in nvkm_i2c_preinit() local 198 list_for_each_entry(pad, &i2c->pad, head) in nvkm_i2c_preinit() [all …]
|
| H A D | anx9805.c | 38 struct anx9805_pad *pad; member 46 struct anx9805_pad *pad = bus->pad; in anx9805_bus_xfer() local 47 struct i2c_adapter *adap = &pad->bus->i2c; in anx9805_bus_xfer() 53 tmp = nvkm_rdi2cr(adap, pad->addr, 0x07) & ~0x10; in anx9805_bus_xfer() 54 nvkm_wri2cr(adap, pad->addr, 0x07, tmp | 0x10); in anx9805_bus_xfer() 55 nvkm_wri2cr(adap, pad->addr, 0x07, tmp); in anx9805_bus_xfer() 106 struct anx9805_pad *pad = anx9805_pad(base); in anx9805_bus_new() local 113 bus->pad = pad; in anx9805_bus_new() 115 ret = nvkm_i2c_bus_ctor(&anx9805_bus_func, &pad->base, id, &bus->base); in anx9805_bus_new() 119 switch (pad->addr) { in anx9805_bus_new() [all …]
|
| /OK3568_Linux_fs/external/rknn-toolkit2/examples/darknet/yolov3_416x416/ |
| H A D | yolov3.cfg | 30 pad=1 40 pad=1 48 pad=1 56 pad=1 70 pad=1 78 pad=1 86 pad=1 98 pad=1 106 pad=1 120 pad=1 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H A D | tables_lpphy.c | 1070 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, }, 1071 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, }, 1072 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, }, 1073 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, }, 1074 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, }, 1075 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, }, 1076 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, }, 1077 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, }, 1078 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, }, 1079 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, }, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/joystick/ |
| H A D | psxpad-spi.c | 72 static int psxpad_command(struct psxpad *pad, const u8 sendcmdlen) in psxpad_command() argument 75 .tx_buf = pad->sendbuf, in psxpad_command() 76 .rx_buf = pad->response, in psxpad_command() 81 err = spi_sync_transfer(pad->spi, &xfers, 1); in psxpad_command() 83 dev_err(&pad->spi->dev, in psxpad_command() 93 static void psxpad_control_motor(struct psxpad *pad, in psxpad_control_motor() argument 98 pad->motor1enable = motor1enable; in psxpad_control_motor() 99 pad->motor2enable = motor2enable; in psxpad_control_motor() 101 memcpy(pad->sendbuf, PSX_CMD_ENTER_CFG, sizeof(PSX_CMD_ENTER_CFG)); in psxpad_control_motor() 102 err = psxpad_command(pad, sizeof(PSX_CMD_ENTER_CFG)); in psxpad_control_motor() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | micrel-ksz90x1.txt | 25 corresponding pad skew register: 27 Device Tree Value Delay Pad Skew Register Value 48 - rxc-skew-ps : Skew control of RXC pad 49 - rxdv-skew-ps : Skew control of RX CTL pad 50 - txc-skew-ps : Skew control of TXC pad 51 - txen-skew-ps : Skew control of TX CTL pad 52 - rxd0-skew-ps : Skew control of RX data 0 pad 53 - rxd1-skew-ps : Skew control of RX data 1 pad 54 - rxd2-skew-ps : Skew control of RX data 2 pad 55 - rxd3-skew-ps : Skew control of RX data 3 pad [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/ |
| H A D | pinctrl-u300.c | 33 /* PAD MUX Control register 1 (LOW) 16bit (R/W) */ 78 /* PAD MUX Control register 2 (HIGH) 16bit (R/W) */ 174 * edges of the silicon, finger by finger. LTCORNER upper left is pad 0. 186 /* Pad names for the pinmux subsystem */ 189 PINCTRL_PIN(0, "P PAD VDD 28"), 190 PINCTRL_PIN(1, "P PAD GND 28"), 220 PINCTRL_PIN(31, "P PAD VDDIO 11"), 235 PINCTRL_PIN(46, "P PAD VSSIO 11"), 236 PINCTRL_PIN(47, "P PAD VSSIO 12"), 239 PINCTRL_PIN(50, "P PAD VDDIO 16"), [all …]
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gstreamer1/ |
| H A D | 0002-HACK-gstpad-Add-1-sec-timeout-for-activation.patch | 6 When using ghost pad, changing the activation mode might cause 26 +wait_activation_locked (GstPad * pad) 30 + if (G_LIKELY (!pad->priv->in_activation)) 37 /* Returns TRUE if pad wasn't already in the new_mode */ 39 pre_activate (GstPad * pad, GstPadMode new_mode) 40 @@ -976,8 +988,13 @@ pre_activate (GstPad * pad, GstPadMode new_mode) 43 GST_OBJECT_LOCK (pad); 45 while (G_UNLIKELY (pad->priv->in_activation)) 46 g_cond_wait (&pad->priv->activation_cond, GST_OBJECT_GET_LOCK (pad)); 48 + if (G_UNLIKELY (pad->priv->in_activation)) [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0_1.20/ |
| H A D | 0002-HACK-gstpad-Add-1-sec-timeout-for-activation.patch | 6 When using ghost pad, changing the activation mode might cause 26 +wait_activation_locked (GstPad * pad) 30 + if (G_LIKELY (!pad->priv->in_activation)) 37 /* Returns TRUE if pad wasn't already in the new_mode */ 39 pre_activate (GstPad * pad, GstPadMode new_mode) 40 @@ -971,8 +983,13 @@ pre_activate (GstPad * pad, GstPadMode new_mode) 43 GST_OBJECT_LOCK (pad); 45 while (G_UNLIKELY (pad->priv->in_activation)) 46 g_cond_wait (&pad->priv->activation_cond, GST_OBJECT_GET_LOCK (pad)); 48 + if (G_UNLIKELY (pad->priv->in_activation)) [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0_1.22/ |
| H A D | 0002-HACK-gstpad-Add-1-sec-timeout-for-activation.patch | 6 When using ghost pad, changing the activation mode might cause 26 +wait_activation_locked (GstPad * pad) 30 + if (G_LIKELY (!pad->priv->in_activation)) 37 /* Returns TRUE if pad wasn't already in the new_mode */ 39 pre_activate (GstPad * pad, GstPadMode new_mode) 40 @@ -976,8 +988,13 @@ pre_activate (GstPad * pad, GstPadMode new_mode) 43 GST_OBJECT_LOCK (pad); 45 while (G_UNLIKELY (pad->priv->in_activation)) 46 g_cond_wait (&pad->priv->activation_cond, GST_OBJECT_GET_LOCK (pad)); 48 + if (G_UNLIKELY (pad->priv->in_activation)) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/ |
| H A D | vsp1_entity.c | 35 * sink pad. in vsp1_entity_route_setup() 48 * sink pad. in vsp1_entity_route_setup() 104 * vsp1_entity_get_pad_config - Get the pad configuration for an entity 106 * @cfg: the TRY pad configuration 112 * Return the pad configuration requested by the which argument. The TRY 132 * vsp1_entity_get_pad_format - Get a pad format from storage for an entity 135 * @pad: the pad number 137 * Return the format stored in the given configuration for an entity's pad. The 143 unsigned int pad) in vsp1_entity_get_pad_format() argument 145 return v4l2_subdev_get_try_format(&entity->subdev, cfg, pad); in vsp1_entity_get_pad_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/phy/tegra/ |
| H A D | xusb-tegra124.c | 302 if (lane->pad == padctl->pcie) in tegra124_usb3_save_context() 427 tegra124_usb2_lane_probe(struct tegra_xusb_pad *pad, struct device_node *np, in tegra124_usb2_lane_probe() argument 438 usb2->base.soc = &pad->soc->lanes[index]; in tegra124_usb2_lane_probe() 440 usb2->base.pad = pad; in tegra124_usb2_lane_probe() 468 return tegra124_xusb_padctl_enable(lane->pad->padctl); in tegra124_usb2_phy_init() 475 return tegra124_xusb_padctl_disable(lane->pad->padctl); in tegra124_usb2_phy_exit() 482 struct tegra_xusb_usb2_pad *pad = to_usb2_pad(lane->pad); in tegra124_usb2_phy_power_on() local 483 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra124_usb2_phy_power_on() 553 mutex_lock(&pad->lock); in tegra124_usb2_phy_power_on() 555 if (pad->enable++ > 0) in tegra124_usb2_phy_power_on() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/v4l2-core/ |
| H A D | v4l2-subdev.c | 33 fh->pad = v4l2_subdev_alloc_pad_config(sd); in subdev_fh_init() 34 if (fh->pad == NULL) in subdev_fh_init() 43 v4l2_subdev_free_pad_config(fh->pad); in subdev_fh_free() 44 fh->pad = NULL; in subdev_fh_free() 137 static inline int check_pad(struct v4l2_subdev *sd, u32 pad) in check_pad() argument 141 if (pad >= sd->entity.num_pads) in check_pad() 146 /* allow pad 0 on subdevices not registered as media entities */ in check_pad() 147 if (pad > 0) in check_pad() 167 return check_which(format->which) ? : check_pad(sd, format->pad) ? : in check_format() 176 sd->ops->pad->get_fmt(sd, cfg, format); in call_get_fmt() [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/net/ |
| H A D | micrel-ksz90x1.txt | 19 - rxc-skew-ps : Skew control of RXC pad 20 - rxdv-skew-ps : Skew control of RX CTL pad 21 - txc-skew-ps : Skew control of TXC pad 22 - txen-skew-ps : Skew control of TX CTL pad 23 - rxd0-skew-ps : Skew control of RX data 0 pad 24 - rxd1-skew-ps : Skew control of RX data 1 pad 25 - rxd2-skew-ps : Skew control of RX data 2 pad 26 - rxd3-skew-ps : Skew control of RX data 3 pad 27 - txd0-skew-ps : Skew control of TX data 0 pad 28 - txd1-skew-ps : Skew control of TX data 1 pad [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-mxs/ |
| H A D | iomux.h | 17 * IOMUX/PAD Bit field definitions 90 /* generic pad control used in most cases */ 102 * A pad becomes naked, when none of mA, vol or pull 108 static inline unsigned int PAD_BANK(iomux_cfg_t pad) in PAD_BANK() argument 110 return (pad & MXS_PAD_BANK_MASK) >> MXS_PAD_BANK_SHIFT; in PAD_BANK() 113 static inline unsigned int PAD_PIN(iomux_cfg_t pad) in PAD_PIN() argument 115 return (pad & MXS_PAD_PIN_MASK) >> MXS_PAD_PIN_SHIFT; in PAD_PIN() 118 static inline unsigned int PAD_MUXSEL(iomux_cfg_t pad) in PAD_MUXSEL() argument 120 return (pad & MXS_PAD_MUXSEL_MASK) >> MXS_PAD_MUXSEL_SHIFT; in PAD_MUXSEL() 123 static inline unsigned int PAD_MA(iomux_cfg_t pad) in PAD_MA() argument [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/media_enquiry/media_enquiry/mediactl/ |
| H A D | v4l2subdev.c | 66 struct v4l2_mbus_framefmt *format, unsigned int pad, in v4l2_subdev_get_format() argument 77 fmt.pad = pad; in v4l2_subdev_get_format() 89 struct v4l2_mbus_framefmt *format, unsigned int pad, in v4l2_subdev_set_format() argument 100 fmt.pad = pad; in v4l2_subdev_set_format() 113 struct v4l2_rect *rect, unsigned int pad, unsigned int target, in v4l2_subdev_get_selection() argument 127 u.sel.pad = pad; in v4l2_subdev_get_selection() 140 u.crop.pad = pad; in v4l2_subdev_get_selection() 152 struct v4l2_rect *rect, unsigned int pad, unsigned int target, in v4l2_subdev_set_selection() argument 166 u.sel.pad = pad; in v4l2_subdev_set_selection() 180 u.crop.pad = pad; in v4l2_subdev_set_selection() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | v4l2-subdev.h | 43 * struct v4l2_subdev_format - Pad-level media bus format 45 * @pad: pad number, as reported by the media API 50 __u32 pad; member 56 * struct v4l2_subdev_crop - Pad-level crop settings 58 * @pad: pad number, as reported by the media API 59 * @rect: pad crop rectangle boundaries 63 __u32 pad; member 70 * @pad: pad number, as reported by the media API 76 __u32 pad; member 85 * @pad: pad number, as reported by the media API [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | v4l2-subdev.h | 43 * struct v4l2_subdev_format - Pad-level media bus format 45 * @pad: pad number, as reported by the media API 50 __u32 pad; member 56 * struct v4l2_subdev_crop - Pad-level crop settings 58 * @pad: pad number, as reported by the media API 59 * @rect: pad crop rectangle boundaries 63 __u32 pad; member 70 * @pad: pad number, as reported by the media API 76 __u32 pad; member 85 * @pad: pad number, as reported by the media API [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | dev-subdev.rst | 77 Pad-level Formats 82 Pad-level formats are only applicable to very complex devices that 124 can expose pad-level image format configuration to applications. When 128 negotiate formats on a per-pad basis. 136 Pad-level image format configuration support can be tested by calling 137 the :ref:`VIDIOC_SUBDEV_G_FMT` ioctl on pad 138 0. If the driver returns an ``EINVAL`` error code pad-level format 184 or active format is set on a pad, corresponding formats on other pads of 190 a format on a source pad should not modify the format on any sink 191 pad. [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | v4l2-subdev.h | 43 * struct v4l2_subdev_format - Pad-level media bus format 45 * @pad: pad number, as reported by the media API 50 __u32 pad; member 56 * struct v4l2_subdev_crop - Pad-level crop settings 58 * @pad: pad number, as reported by the media API 59 * @rect: pad crop rectangle boundaries 63 __u32 pad; member 76 * @pad: pad number, as reported by the media API 83 __u32 pad; member 93 * @pad: pad number, as reported by the media API [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
| H A D | iomux.c | 28 * configures a single pad in the iomuxer 30 int mxs_iomux_setup_pad(iomux_cfg_t pad) in mxs_iomux_setup_pad() argument 38 ofs += PAD_BANK(pad) * 0x20 + PAD_PIN(pad) / 16 * 0x10; in mxs_iomux_setup_pad() 39 bp = PAD_PIN(pad) % 16 * 2; in mxs_iomux_setup_pad() 43 reg |= PAD_MUXSEL(pad) << bp; in mxs_iomux_setup_pad() 48 ofs += PAD_BANK(pad) * 0x40 + PAD_PIN(pad) / 8 * 0x10; in mxs_iomux_setup_pad() 50 if (PAD_MA_VALID(pad)) { in mxs_iomux_setup_pad() 51 bp = PAD_PIN(pad) % 8 * 4; in mxs_iomux_setup_pad() 55 reg |= PAD_MA(pad) << bp; in mxs_iomux_setup_pad() 59 if (PAD_VOL_VALID(pad)) { in mxs_iomux_setup_pad() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/mediactl/ |
| H A D | media-types.rst | 144 pad, and composes input video frames onto output video 151 must have at least one sink pad and one source pad. Read 160 encoding conversion must have at least one sink pad and one 161 source pad, and convert the encoding of pixels received on 162 its sink pad(s) to a different encoding output on its source 163 pad(s). Pixel encoding conversion includes but isn't limited 169 processing must have one sink pad and one source pad. It uses 170 the values of the pixels received on its sink pad to look up 171 entries in internal tables and output them on its source pad. 178 at least one sink pad and one source pad, and scale the [all …]
|