Home
last modified time | relevance | path

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

12345678910>>...70

/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
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 …]
Dbase.c27 #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 …]
Danx9805.c38 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 …]
Daux.c28 #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-v6.1/drivers/pinctrl/qcom/
Dpinctrl-spmi-mpp.c176 struct pmic_mpp_pad *pad, unsigned int addr) in pmic_mpp_read() argument
181 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_mpp_read()
191 struct pmic_mpp_pad *pad, unsigned int addr, in pmic_mpp_write() argument
196 ret = regmap_write(state->map, pad->base + addr, val); in pmic_mpp_write()
254 struct pmic_mpp_pad *pad) in pmic_mpp_write_mode_ctl() argument
261 switch (pad->function) { in pmic_mpp_write_mode_ctl()
263 if (pad->input_enabled && pad->output_enabled) in pmic_mpp_write_mode_ctl()
265 else if (pad->input_enabled) in pmic_mpp_write_mode_ctl()
271 if (pad->input_enabled && pad->output_enabled) in pmic_mpp_write_mode_ctl()
273 else if (pad->input_enabled) in pmic_mpp_write_mode_ctl()
[all …]
Dpinctrl-spmi-gpio.c224 struct pmic_gpio_pad *pad, unsigned int addr) in pmic_gpio_read() argument
229 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_gpio_read()
239 struct pmic_gpio_pad *pad, unsigned int addr, in pmic_gpio_write() argument
244 ret = regmap_write(state->map, pad->base + addr, val); in pmic_gpio_write()
304 struct pmic_gpio_pad *pad; in pmic_gpio_set_mux() local
313 pad = pctldev->desc->pins[pin].drv_data; in pmic_gpio_set_mux()
318 if (!pad->lv_mv_type) { in pmic_gpio_set_mux()
329 pad->function = function; in pmic_gpio_set_mux()
331 if (pad->analog_pass) in pmic_gpio_set_mux()
333 else if (pad->output_enabled && pad->input_enabled) in pmic_gpio_set_mux()
[all …]
/Linux-v6.1/drivers/net/wireless/broadcom/b43/
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-v6.1/drivers/input/joystick/
Dpsxpad-spi.c72 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 …]
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(struct dc_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-v6.1/Documentation/devicetree/bindings/net/
Dmicrel-ksz90x1.txt25 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 …]
/Linux-v6.1/drivers/media/platform/renesas/vsp1/
Dvsp1_entity.c35 * 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
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, sd_state, pad); in vsp1_entity_get_pad_format()
149 * vsp1_entity_get_pad_selection - Get a pad selection from storage for entity
[all …]
/Linux-v6.1/drivers/media/mc/
Dmc-entity.c116 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()
232 * and enabling one of the pads means that the other pad will become "locked"
407 * When a new pad is reached, an entry is pushed on the top of the stack and
408 * points to the incoming pad and the first link of the entity.
411 * internal pad dependencies in the entity, and then links in the graph. It
413 * links that originate from a pad that is internally connected to the incoming
414 * pad, as reported by the media_entity_has_pad_interdep() function.
[all …]
/Linux-v6.1/drivers/phy/tegra/
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 …]
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()
95 tegra_xusb_pad_find_phy_node(struct tegra_xusb_pad *pad, unsigned int index) in tegra_xusb_pad_find_phy_node() argument
99 lanes = of_get_child_by_name(pad->dev.of_node, "lanes"); in tegra_xusb_pad_find_phy_node()
103 np = of_get_child_by_name(lanes, pad->soc->lanes[index].name); in tegra_xusb_pad_find_phy_node()
112 struct device *dev = &lane->pad->dev; in tegra_xusb_lane_parse_dt()
137 lane->pad->ops->remove(lane); in tegra_xusb_lane_destroy()
[all …]
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 …]
/Linux-v6.1/include/media/
Dmedia-entity.h29 * @MEDIA_GRAPH_PAD: Identify a media pad
116 * struct media_pipeline_pad - A pad part of a media pipeline
119 * @pipe: The media_pipeline that the pad is part of
120 * @pad: The media pad
122 * This structure associate a pad with a media pipeline. Instances of
130 struct media_pad *pad; member
142 * a pad. In that case, it represents the source pad.
148 * a pad. In that case, it represents the sink pad.
151 * @reverse: Pointer to the link for the reverse direction of a pad to pad
175 * enum media_pad_signal_type - type of the signal inside a media pad
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Ddev-subdev.rst77 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 …]
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 …]
/Linux-v6.1/include/uapi/linux/
Dv4l2-subdev.h43 * struct v4l2_subdev_format - Pad-level media bus format
45 * @pad: pad number, as reported by the media API
51 __u32 pad; member
57 * struct v4l2_subdev_crop - Pad-level crop settings
59 * @pad: pad number, as reported by the media API
60 * @rect: pad crop rectangle boundaries
65 __u32 pad; member
78 * @pad: pad number, as reported by the media API
86 __u32 pad; member
97 * @pad: pad number, as reported by the media API
[all …]
/Linux-v6.1/Documentation/userspace-api/media/mediactl/
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-v6.1/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c227 static int isp_subdev_validate_rect(struct v4l2_subdev *sd, uint32_t pad, in isp_subdev_validate_rect() argument
230 switch (pad) { in isp_subdev_validate_rect()
250 u32 which, uint32_t pad, in atomisp_subdev_get_rect() argument
258 return v4l2_subdev_get_try_crop(sd, sd_state, pad); in atomisp_subdev_get_rect()
260 return v4l2_subdev_get_try_compose(sd, sd_state, pad); in atomisp_subdev_get_rect()
266 return &isp_sd->fmt[pad].crop; in atomisp_subdev_get_rect()
268 return &isp_sd->fmt[pad].compose; in atomisp_subdev_get_rect()
277 uint32_t pad) in atomisp_subdev_get_ffmt() argument
282 return v4l2_subdev_get_try_format(sd, sd_state, pad); in atomisp_subdev_get_ffmt()
284 return &isp_sd->fmt[pad].fmt; in atomisp_subdev_get_ffmt()
[all …]
/Linux-v6.1/drivers/media/v4l2-core/
Dv4l2-subdev.c136 static inline int check_pad(struct v4l2_subdev *sd, u32 pad) in check_pad() argument
140 if (pad >= sd->entity.num_pads) in check_pad()
145 /* allow pad 0 on subdevices not registered as media entities */ in check_pad()
146 if (pad > 0) in check_pad()
166 return check_which(format->which) ? : check_pad(sd, format->pad) ? : in check_format()
175 sd->ops->pad->get_fmt(sd, state, format); in call_get_fmt()
183 sd->ops->pad->set_fmt(sd, state, format); in call_set_fmt()
193 return check_which(code->which) ? : check_pad(sd, code->pad) ? : in call_enum_mbus_code()
195 sd->ops->pad->enum_mbus_code(sd, state, code); in call_enum_mbus_code()
205 return check_which(fse->which) ? : check_pad(sd, fse->pad) ? : in call_enum_frame_size()
[all …]
/Linux-v6.1/drivers/scsi/qla2xxx/
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
94 uint8_t pad[VND_CMD_PAD_SIZE]; member
108 uint8_t pad[VND_CMD_PAD_SIZE]; member
122 uint8_t pad[VND_CMD_PAD_SIZE]; member
[all …]
/Linux-v6.1/drivers/media/platform/samsung/exynos4-is/
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-v6.1/Documentation/input/
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 …]

12345678910>>...70