Home
last modified time | relevance | path

Searched full:pad (Results 1 – 25 of 1768) sorted by relevance

12345678910>>...71

/linux/lib/tests/
H A Dfortify_kunit.c417 struct fortify_padding pad = { }; in fortify_test_strlen() local
418 int i, end = sizeof(pad.buf) - 1; in fortify_test_strlen()
421 for (i = 0; i < sizeof(pad.buf) - 1; i++) in fortify_test_strlen()
422 pad.buf[i] = i + '0'; in fortify_test_strlen()
424 KUNIT_EXPECT_EQ(test, pad.buf[end], '\0'); in fortify_test_strlen()
425 KUNIT_EXPECT_EQ(test, pad.bytes_after, 0); in fortify_test_strlen()
428 KUNIT_EXPECT_EQ(test, strlen(pad.buf), end); in fortify_test_strlen()
432 pad.buf[end] = 'A'; in fortify_test_strlen()
433 end = sizeof(pad.buf); in fortify_test_strlen()
434 KUNIT_EXPECT_EQ(test, strlen(pad.buf), end); in fortify_test_strlen()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dpad.c24 #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 …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dtables_lpphy.c1070 { .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 Dxusb-tegra124.c302 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 Dxusb.c27 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 Dxusb-tegra210.c453 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 …]
H A Dxusb.h48 struct tegra_xusb_pad *pad; member
131 struct tegra_xusb_lane *(*probe)(struct tegra_xusb_pad *pad,
156 void (*remove)(struct tegra_xusb_pad *pad);
185 int tegra_xusb_pad_init(struct tegra_xusb_pad *pad,
188 int tegra_xusb_pad_register(struct tegra_xusb_pad *pad,
190 void tegra_xusb_pad_unregister(struct tegra_xusb_pad *pad);
200 to_usb3_pad(struct tegra_xusb_pad *pad) in to_usb3_pad() argument
202 return container_of(pad, struct tegra_xusb_usb3_pad, base); in to_usb3_pad()
214 to_usb2_pad(struct tegra_xusb_pad *pad) in to_usb2_pad() argument
216 return container_of(pad, struct tegra_xusb_usb2_pad, base); in to_usb2_pad()
[all …]
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-types.rst145 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/include/uapi/linux/
H A Dv4l2-subdev.h31 * 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 Dqla_edif_bsg.h34 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/Documentation/userspace-api/media/v4l/
H A Dpixfmt-sdr-pcu16be.rst37 - I'\ :sub:`0[5:0]; B1[1:0]=pad`
38 - pad
39 - pad
42 - I'\ :sub:`1[5:0]; B1[1:0]=pad`
43 - pad
44 - pad
48 - Q'\ :sub:`0[5:0]; B1[1:0]=pad`
49 - pad
50 - pad
53 - Q'\ :sub:`1[5:0]; B1[1:0]=pad`
[all …]
H A Dext-ctrls-dv.rst29 bitmasks, one bit for each pad. Bit 0 corresponds to pad 0, bit 1 to pad
45 output pad on the transmitter. If an output pad does not have an
46 associated hotplug pin, then the bit for that pad will be 0. This
54 Each bit corresponds to an output pad on the transmitter. If an
55 output pad does not have an associated Rx Sense, then the bit for
56 that pad will be 0. This read-only control is applicable to DVI-D
63 output pad on the transmitter. If an output pad does not support
64 EDIDs, then the bit for that pad will be 0. This read-only control
130 corresponds to an input pad on the receiver. If an input pad
131 cannot detect whether power is present, then the bit for that pad
H A Dvidioc-subdev-g-fmt.rst13 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 Dvidioc-subdev-g-crop.rst13 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 Dvidioc-subdev-g-frame-interval.rst13 …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 …]
/linux/drivers/input/joystick/
H A Dmaplecontrol.c31 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(sizeof(*pad), GFP_KERNEL); in probe_maple_controller()
107 if (!pad || !idev) { in probe_maple_controller()
112 pad->dev = idev; in probe_maple_controller()
[all …]
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dcommon.c19 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/arch/arc/include/asm/
H A Darcregs.h179 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/intel/idpf/
H A Dvirtchnl2.h507 * @pad: Padding.
558 u8 pad[3]; member
573 * @pad: Padding.
582 __le32 pad; member
593 * @pad: Padding.
598 u8 pad[6]; member
699 * @pad: Padding for future extensions.
710 u8 pad[4]; member
731 * @pad: Padding.
749 u8 pad[4]; member
[all …]
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni-cmd.h124 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 …]
H A Ddpsw-cmd.h126 u8 pad[3]; member
150 u8 pad[3]; member
155 __le32 pad; member
169 __le32 pad; member
221 u8 pad; member
244 __le16 pad; member
270 __le64 pad; member
308 u8 pad[6]; member
360 __le16 pad; member
365 __le32 pad; member
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dnvidia,tegra20-sdhci.yaml112 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/input/
H A Dgamepad.rst24 / || __ |MO| __ _ _ \ | Main Pad
35 D-Pad Left Right Action Pad
39 Menu Pad
43 - Action-Pad
47 - D-Pad (Direction-pad)
49 - Menu-Pad
59 Triggers are located on the upper-side of the pad in vertical direction.
99 - Action-Pad:
109 - 2-Button Pad:
115 - 3-Button Pad:
[all …]
/linux/include/uapi/drm/
H A Damdxdna_accel.h91 * @pad: MBZ.
95 __u32 pad;
102 * @pad: MBZ.
107 __u8 pad[3];
113 * @pad: MBZ.
118 __u16 pad[3];
136 * @pad: MBZ.
146 __u32 pad;
203 * @pad: MBZ.
212 __u32 pad;
94 __u32 pad; global() member
106 __u8 pad[3]; global() member
117 __u16 pad[3]; global() member
145 __u32 pad; global() member
186 __u32 pad; global() member
276 __u16 pad[3]; global() member
308 __u32 pad; global() member
348 __u8 pad[6]; global() member
369 __u32 pad; global() member
393 __u8 pad[7]; global() member
458 __u8 pad[7]; global() member
[all...]
H A Dqaic_accel.h68 * 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 …]

12345678910>>...71