| /linux/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" 37 struct nvkm_i2c_pad *pad; in nvkm_i2c_pad_find() local 39 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_pad_find() 40 if (pad->id == id) in nvkm_i2c_pad_find() 41 return pad; in nvkm_i2c_pad_find() 141 struct nvkm_i2c_pad *pad; in nvkm_i2c_fini() local 159 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_fini() 160 nvkm_i2c_pad_fini(pad); in nvkm_i2c_fini() 171 struct nvkm_i2c_pad *pad; in nvkm_i2c_preinit() local 177 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 …]
|
| H A D | auxch.c | 28 #include "pad.h" 99 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_monitor() local 102 nvkm_i2c_pad_mode(pad, NVKM_I2C_PAD_AUX); in nvkm_i2c_aux_monitor() 104 nvkm_i2c_pad_mode(pad, NVKM_I2C_PAD_OFF); in nvkm_i2c_aux_monitor() 110 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_release() local 112 nvkm_i2c_pad_release(pad); in nvkm_i2c_aux_release() 119 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_acquire() local 126 ret = nvkm_i2c_pad_acquire(pad, NVKM_I2C_PAD_AUX); in nvkm_i2c_aux_acquire() 187 struct nvkm_i2c_pad *pad, int id, in nvkm_i2c_aux_ctor() argument 190 struct nvkm_device *device = pad->i2c->subdev.device; in nvkm_i2c_aux_ctor() [all …]
|
| /linux/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 …]
|
| /linux/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 …]
|
| H A D | xusb.c | 27 struct tegra_xusb_pad *pad = dev_get_drvdata(dev); in tegra_xusb_pad_of_xlate() local 34 for (i = 0; i < pad->soc->num_lanes; i++) { in tegra_xusb_pad_of_xlate() 35 if (!pad->lanes[i]) in tegra_xusb_pad_of_xlate() 38 if (pad->lanes[i]->dev.of_node == args->np) { in tegra_xusb_pad_of_xlate() 39 phy = pad->lanes[i]; in tegra_xusb_pad_of_xlate() 101 tegra_xusb_pad_find_phy_node(struct tegra_xusb_pad *pad, unsigned int index) in tegra_xusb_pad_find_phy_node() argument 105 lanes = of_get_child_by_name(pad->dev.of_node, "lanes"); in tegra_xusb_pad_find_phy_node() 109 np = of_get_child_by_name(lanes, pad->soc->lanes[index].name); in tegra_xusb_pad_find_phy_node() 118 struct device *dev = &lane->pad->dev; in tegra_xusb_lane_parse_dt() 143 lane->pad->ops->remove(lane); in tegra_xusb_lane_destroy() [all …]
|
| H A D | xusb-tegra210.c | 453 strcmp(map->type, lane->pad->soc->name) == 0) { in tegra210_usb3_lane_map() 454 dev_dbg(lane->pad->padctl->dev, "lane = %s map to port = usb3-%d\n", in tegra210_usb3_lane_map() 455 lane->pad->soc->lanes[lane->index].name, map->port); in tegra210_usb3_lane_map() 1061 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_enable_phy_sleepwalk() 1092 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_disable_phy_sleepwalk() 1121 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_enable_phy_wake() 1152 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_disable_phy_wake() 1183 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_phy_remote_wake_detected() 1199 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_utmi_enable_phy_wake() 1224 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_utmi_disable_phy_wake() [all …]
|
| /linux/drivers/media/mc/ |
| H A D | mc-entity.c | 116 struct media_pad *pad = gobj_to_pad(gobj); in dev_dbg_obj() local 121 pad->flags & MEDIA_PAD_FL_SINK ? "sink " : "", in dev_dbg_obj() 122 pad->flags & MEDIA_PAD_FL_SOURCE ? "source " : "", in dev_dbg_obj() 123 pad->entity->name, pad->index); in dev_dbg_obj() 246 * @pad0: The first pad index 247 * @pad1: The second pad index 251 * and enabling one of the pads means that the other pad will become "locked" 259 * One of @pad0 and @pad1 must be a sink pad and the other one a source pad. 433 * When a new pad is reached, an entry is pushed on the top of the stack and 434 * points to the incoming pad and the first link of the entity. [all …]
|
| /linux/Documentation/userspace-api/media/mediactl/ |
| H A D | media-types.rst | 145 pad, and composes input video frames onto output video 152 must have at least one sink pad and one source pad. Read 161 encoding conversion must have at least one sink pad and one 162 source pad, and convert the encoding of pixels received on 163 its sink pad(s) to a different encoding output on its source 164 pad(s). Pixel encoding conversion includes but isn't limited 170 processing must have one sink pad and one source pad. It uses 171 the values of the pixels received on its sink pad to look up 172 entries in internal tables and output them on its source pad. 179 at least one sink pad and one source pad, and scale the [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-sdr-pcu16be.rst | 38 - I'\ :sub:`0[5:0]; B1[1:0]=pad` 39 - pad 40 - pad 43 - I'\ :sub:`1[5:0]; B1[1:0]=pad` 44 - pad 45 - pad 49 - Q'\ :sub:`0[5:0]; B1[1:0]=pad` 50 - pad 51 - pad 54 - Q'\ :sub:`1[5:0]; B1[1:0]=pad` [all …]
|
| H A D | ext-ctrls-dv.rst | 30 bitmasks, one bit for each pad. Bit 0 corresponds to pad 0, bit 1 to pad 46 output pad on the transmitter. If an output pad does not have an 47 associated hotplug pin, then the bit for that pad will be 0. This 55 Each bit corresponds to an output pad on the transmitter. If an 56 output pad does not have an associated Rx Sense, then the bit for 57 that pad will be 0. This read-only control is applicable to DVI-D 64 output pad on the transmitter. If an output pad does not support 65 EDIDs, then the bit for that pad will be 0. This read-only control 131 corresponds to an input pad on the receiver. If an input pad 132 cannot detect whether power is present, then the bit for that pad
|
| H A D | vidioc-subdev-g-fmt.rst | 13 VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subdev pad 41 To retrieve the current format applications set the ``pad`` field of a 43 pad number as reported by the media API and the ``which`` field to 48 To change the current format applications set both the ``pad`` and 62 For instance, to try a format at the output pad of a sub-device, 65 default format at the output pad with the ``VIDIOC_SUBDEV_G_FMT`` ioctl, 66 or set the desired output pad format with the ``VIDIOC_SUBDEV_S_FMT`` 94 - ``pad`` 95 - Pad number as reported by the media controller API. 137 The format can't be changed because the pad is currently busy. This [all …]
|
| H A D | vidioc-subdev-g-crop.rst | 13 VIDIOC_SUBDEV_G_CROP - VIDIOC_SUBDEV_S_CROP - Get or set the crop rectangle on a subdev pad 44 To retrieve the current crop rectangle applications set the ``pad`` 46 desired pad number as reported by the media API and the ``which`` field 51 on the given pad. 53 To change the current crop rectangle applications set both the ``pad`` 89 - ``pad`` 90 - Pad number as reported by the media framework. 114 The crop rectangle can't be changed because the pad is currently 116 the pad. The ioctl must not be retried without performing another 121 The struct :c:type:`v4l2_subdev_crop` ``pad`` references a non-existing pad, [all …]
|
| H A D | vidioc-subdev-g-frame-interval.rst | 13 …V_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the frame interval on a subdev pad 44 To retrieve the current frame interval applications set the ``pad`` 47 the desired pad number as reported by the media controller API. When 51 To change the current frame interval applications set both the ``pad`` 75 on a single pad only. Their behaviour when supported on multiple pads of 88 - ``pad`` 89 - Pad number as reported by the media controller API. 113 The frame interval can't be changed because the pad is currently 115 the pad. The ioctl must not be retried without performing another 120 The struct :c:type:`v4l2_subdev_frame_interval` ``pad`` references a [all …]
|
| H A D | vidioc-subdev-enum-frame-interval.rst | 35 given sub-device pad. Frame intervals only makes sense for sub-devices 40 on the sub-device output pad depend on the frame format and size on the 41 same pad. Applications must thus specify the desired format and size 45 ``pad``, ``which``, ``code``, ``width`` and ``height`` fields of struct 59 implemented it on a single pad only. Its behaviour when supported on 75 - ``pad`` 76 - Pad number as reported by the media controller API. 110 The struct :c:type:`v4l2_subdev_frame_interval_enum` ``pad`` references a 111 non-existing pad, the ``which`` field has an unsupported value, one of the 112 ``code``, ``width`` or ``height`` fields are invalid for the given pad, or
|
| /linux/include/uapi/linux/ |
| H A D | v4l2-subdev.h | 31 * struct v4l2_subdev_format - Pad-level media bus format 33 * @pad: pad number, as reported by the media API 40 __u32 pad; member 47 * struct v4l2_subdev_crop - Pad-level crop settings 49 * @pad: pad number, as reported by the media API 50 * @rect: pad crop rectangle boundaries 60 __u32 pad; member 74 * @pad: pad number, as reported by the media API 83 __u32 pad; member 95 * @pad: pad number, as reported by the media API [all …]
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_edif_bsg.h | 34 uint8_t pad[2]; member 47 uint8_t pad[VND_CMD_PAD_SIZE]; member 54 uint8_t pad[VND_CMD_PAD_SIZE]; member 63 uint8_t pad[VND_CMD_PAD_SIZE]; member 71 uint8_t pad[2]; member 78 uint8_t pad[VND_CMD_PAD_SIZE]; member 85 uint8_t pad[VND_CMD_PAD_SIZE]; member 107 uint8_t pad[VND_CMD_PAD_SIZE]; member 121 uint8_t pad[VND_CMD_PAD_SIZE]; member 135 uint8_t pad[VND_CMD_PAD_SIZE]; member [all …]
|
| /linux/drivers/media/platform/samsung/exynos4-is/ |
| H A D | common.c | 19 struct media_pad *pad = &entity->pads[0]; in fimc_find_remote_sensor() local 22 while (pad->flags & MEDIA_PAD_FL_SINK) { in fimc_find_remote_sensor() 23 /* source pad */ in fimc_find_remote_sensor() 24 pad = media_pad_remote_pad_first(pad); in fimc_find_remote_sensor() 25 if (!pad || !is_media_entity_v4l2_subdev(pad->entity)) in fimc_find_remote_sensor() 28 sd = media_entity_to_v4l2_subdev(pad->entity); in fimc_find_remote_sensor() 33 /* sink pad */ in fimc_find_remote_sensor() 34 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
|
| /linux/drivers/input/joystick/ |
| H A D | maplecontrol.c | 31 struct dc_pad *pad = maple_get_drvdata(mapledev); in dc_pad_callback() local 32 struct input_dev *dev = pad->dev; in dc_pad_callback() 65 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_open() local 67 maple_getcond_callback(pad->mdev, dc_pad_callback, HZ/20, in dc_pad_open() 75 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_close() local 77 maple_getcond_callback(pad->mdev, dc_pad_callback, 0, in dc_pad_close() 101 struct dc_pad *pad; in probe_maple_controller() local 105 pad = kzalloc_obj(*pad); in probe_maple_controller() 107 if (!pad || !idev) { in probe_maple_controller() 112 pad->dev = idev; in probe_maple_controller() [all …]
|
| /linux/arch/arc/include/asm/ |
| H A D | arcregs.h | 179 unsigned int pad:8, prod:8, maj:8, min:8; member 181 unsigned int min:8, maj:8, prod:8, pad:8; 208 unsigned int pad:12, line_len:4, sz:4, config:4, ver:8; member 210 unsigned int ver:8, config:4, sz:4, line_len:4, pad:12; 216 unsigned int pad:24, way:2, lsz:2, sz:4; member 218 unsigned int sz:4, lsz:2, way:2, pad:24; 224 unsigned int pad:7, c:1, num_entries:8, num_cores:8, ver:8; member 226 unsigned int ver:8, num_cores:8, num_entries:8, c:1, pad:7; 232 unsigned int start:4, limit:4, pad:22, order:1, disable:1; member 234 unsigned int disable:1, order:1, pad:22, limit:4, start:4; [all …]
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpni-cmd.h | 124 u8 pad; member 130 u8 pad; member 147 __le32 pad; member 157 u8 pad[3]; member 162 __le32 pad; member 176 __le32 pad; member 274 u8 pad[3]; member 280 u8 pad[3]; member 285 __le32 pad; member 360 __le16 pad; member [all …]
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | nvidia,tegra20-sdhci.yaml | 112 nvidia,pad-autocal-pull-down-offset-1v8: 117 nvidia,pad-autocal-pull-down-offset-1v8-timeout: 122 nvidia,pad-autocal-pull-down-offset-3v3: 127 nvidia,pad-autocal-pull-down-offset-3v3-timeout: 132 nvidia,pad-autocal-pull-down-offset-sdr104: 136 nvidia,pad-autocal-pull-down-offset-hs400: 140 nvidia,pad-autocal-pull-up-offset-1v8: 145 nvidia,pad-autocal-pull-up-offset-1v8-timeout: 150 nvidia,pad-autocal-pull-up-offset-3v3: 162 nvidia,pad-autocal-pull-up-offset-3v3-timeout: [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | vimc.rst | 54 * 1 Pad source 65 - entity 28: Lens A (0 pad, 0 link) 68 - entity 29: Lens B (0 pad, 0 link) 79 * 1 Pad sink 80 * 1 Pad source 83 Re-size the image to meet the source pad resolution. E.g.: if the sync 84 pad is configured to 360x480 and the source to 1280x720, the image will 89 * 1 Pad sink 90 * 1 Pad source 96 * 1 Pad sink [all …]
|
| /linux/include/uapi/drm/ |
| H A D | qaic_accel.h | 68 * encode in little endian and align/pad to 64-bit. 80 * @pad: Structure padding. 87 __u32 pad; member 98 * @pad: Structure padding. Must be 0. 105 __u32 pad; member 126 * @pad: Structure padding. Must be 0. 131 __u32 pad; member 174 * @pad: Structure padding. Must be 0. 179 __u32 pad; member 185 * @pad: Structure padding. Must be 0. [all …]
|