/drivers/net/wireless/broadcom/b43/ |
D | tables_lpphy.c | 1083 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, }, 1084 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, }, 1085 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, }, 1086 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, }, 1087 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, }, 1088 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, }, 1089 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, }, 1090 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, }, 1091 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, }, 1092 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, }, [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | pad.c | 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() 42 mutex_unlock(&pad->mutex); in nvkm_i2c_pad_mode() [all …]
|
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 …]
|
D | base.c | 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() 199 nvkm_i2c_pad_init(pad); in nvkm_i2c_preinit() [all …]
|
D | aux.c | 96 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_monitor() local 99 nvkm_i2c_pad_mode(pad, NVKM_I2C_PAD_AUX); in nvkm_i2c_aux_monitor() 101 nvkm_i2c_pad_mode(pad, NVKM_I2C_PAD_OFF); in nvkm_i2c_aux_monitor() 107 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_release() local 109 nvkm_i2c_pad_release(pad); in nvkm_i2c_aux_release() 116 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_acquire() local 123 ret = nvkm_i2c_pad_acquire(pad, NVKM_I2C_PAD_AUX); in nvkm_i2c_aux_acquire() 184 struct nvkm_i2c_pad *pad, int id, in nvkm_i2c_aux_ctor() argument 187 struct nvkm_device *device = pad->i2c->subdev.device; in nvkm_i2c_aux_ctor() 190 aux->pad = pad; in nvkm_i2c_aux_ctor() [all …]
|
D | bus.c | 131 struct nvkm_i2c_pad *pad = bus->pad; in nvkm_i2c_bus_release() local 133 nvkm_i2c_pad_release(pad); in nvkm_i2c_bus_release() 140 struct nvkm_i2c_pad *pad = bus->pad; in nvkm_i2c_bus_acquire() local 147 ret = nvkm_i2c_pad_acquire(pad, NVKM_I2C_PAD_I2C); in nvkm_i2c_bus_acquire() 209 struct nvkm_i2c_pad *pad, int id, in nvkm_i2c_bus_ctor() argument 212 struct nvkm_device *device = pad->i2c->subdev.device; in nvkm_i2c_bus_ctor() 222 bus->pad = pad; in nvkm_i2c_bus_ctor() 225 list_add_tail(&bus->head, &pad->i2c->bus); in nvkm_i2c_bus_ctor() 258 struct nvkm_i2c_pad *pad, int id, in nvkm_i2c_bus_new_() argument 263 return nvkm_i2c_bus_ctor(func, pad, id, *pbus); in nvkm_i2c_bus_new_()
|
D | busnv50.c | 39 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_drive_scl() 49 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_drive_sda() 59 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_sense_scl() 67 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_sense_sda() 75 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_init() 90 nv50_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in nv50_i2c_bus_new() argument 101 nvkm_warn(&pad->i2c->subdev, "bus %d unknown\n", drive); in nv50_i2c_bus_new() 109 nvkm_i2c_bus_ctor(&nv50_i2c_bus_func, pad, id, &bus->base); in nv50_i2c_bus_new()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-spmi-gpio.c | 224 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 …]
|
D | pinctrl-spmi-mpp.c | 185 struct pmic_mpp_pad *pad, unsigned int addr) in pmic_mpp_read() argument 190 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_mpp_read() 200 struct pmic_mpp_pad *pad, unsigned int addr, in pmic_mpp_write() argument 205 ret = regmap_write(state->map, pad->base + addr, val); in pmic_mpp_write() 263 struct pmic_mpp_pad *pad) in pmic_mpp_write_mode_ctl() argument 270 switch (pad->function) { 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() 280 if (pad->input_enabled && pad->output_enabled) in pmic_mpp_write_mode_ctl() 282 else if (pad->input_enabled) in pmic_mpp_write_mode_ctl() [all …]
|
/drivers/input/joystick/ |
D | psxpad-spi.c | 73 static int psxpad_command(struct psxpad *pad, const u8 sendcmdlen) in psxpad_command() argument 76 .tx_buf = pad->sendbuf, in psxpad_command() 77 .rx_buf = pad->response, in psxpad_command() 82 err = spi_sync_transfer(pad->spi, &xfers, 1); in psxpad_command() 84 dev_err(&pad->spi->dev, in psxpad_command() 94 static void psxpad_control_motor(struct psxpad *pad, in psxpad_control_motor() argument 99 pad->motor1enable = motor1enable; in psxpad_control_motor() 100 pad->motor2enable = motor2enable; in psxpad_control_motor() 102 memcpy(pad->sendbuf, PSX_CMD_ENTER_CFG, sizeof(PSX_CMD_ENTER_CFG)); in psxpad_control_motor() 103 err = psxpad_command(pad, sizeof(PSX_CMD_ENTER_CFG)); in psxpad_control_motor() [all …]
|
D | maplecontrol.c | 30 struct dc_pad *pad = maple_get_drvdata(mapledev); in dc_pad_callback() local 31 struct input_dev *dev = pad->dev; in dc_pad_callback() 64 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_open() local 66 maple_getcond_callback(pad->mdev, dc_pad_callback, HZ/20, in dc_pad_open() 74 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_close() local 76 maple_getcond_callback(pad->mdev, dc_pad_callback, 0, in dc_pad_close() 100 struct dc_pad *pad; in probe_maple_controller() local 104 pad = kzalloc(sizeof(struct dc_pad), GFP_KERNEL); in probe_maple_controller() 106 if (!pad || !idev) { in probe_maple_controller() 111 pad->dev = idev; in probe_maple_controller() [all …]
|
D | gamecon.c | 377 struct gc_pad *pad; in gc_nes_process_packet() local 389 pad = &gc->pads[i]; in gc_nes_process_packet() 390 dev = pad->dev; in gc_nes_process_packet() 393 switch (pad->type) { in gc_nes_process_packet() 490 struct gc_pad *pad; in gc_multi_process_packet() local 497 pad = &gc->pads[i]; in gc_multi_process_packet() 498 dev = pad->dev; in gc_multi_process_packet() 501 switch (pad->type) { in gc_multi_process_packet() 581 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command() local 583 if (pad->type == GC_PSX || pad->type == GC_DDR) in gc_psx_command() [all …]
|
/drivers/phy/tegra/ |
D | xusb.c | 35 struct tegra_xusb_pad *pad = dev_get_drvdata(dev); in tegra_xusb_pad_of_xlate() local 42 for (i = 0; i < pad->soc->num_lanes; i++) { in tegra_xusb_pad_of_xlate() 43 if (!pad->lanes[i]) in tegra_xusb_pad_of_xlate() 46 if (pad->lanes[i]->dev.of_node == args->np) { in tegra_xusb_pad_of_xlate() 47 phy = pad->lanes[i]; in tegra_xusb_pad_of_xlate() 91 tegra_xusb_pad_find_phy_node(struct tegra_xusb_pad *pad, unsigned int index) in tegra_xusb_pad_find_phy_node() argument 95 lanes = of_get_child_by_name(pad->dev.of_node, "lanes"); in tegra_xusb_pad_find_phy_node() 99 np = of_get_child_by_name(lanes, pad->soc->lanes[index].name); in tegra_xusb_pad_find_phy_node() 121 struct device *dev = &lane->pad->dev; in tegra_xusb_lane_parse_dt() 146 lane->pad->ops->remove(lane); in tegra_xusb_lane_destroy() [all …]
|
D | xusb-tegra124.c | 310 if (lane->pad == padctl->pcie) in tegra124_usb3_save_context() 435 tegra124_usb2_lane_probe(struct tegra_xusb_pad *pad, struct device_node *np, in tegra124_usb2_lane_probe() argument 446 usb2->base.soc = &pad->soc->lanes[index]; in tegra124_usb2_lane_probe() 448 usb2->base.pad = pad; in tegra124_usb2_lane_probe() 476 return tegra124_xusb_padctl_enable(lane->pad->padctl); in tegra124_usb2_phy_init() 483 return tegra124_xusb_padctl_disable(lane->pad->padctl); in tegra124_usb2_phy_exit() 490 struct tegra_xusb_usb2_pad *pad = to_usb2_pad(lane->pad); in tegra124_usb2_phy_power_on() local 491 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra124_usb2_phy_power_on() 561 mutex_lock(&pad->lock); in tegra124_usb2_phy_power_on() 563 if (pad->enable++ > 0) in tegra124_usb2_phy_power_on() [all …]
|
D | xusb-tegra210.c | 825 if (lane->pad == padctl->pcie) in tegra210_usb3_set_lfps_detect() 873 tegra210_usb2_lane_probe(struct tegra_xusb_pad *pad, struct device_node *np, in tegra210_usb2_lane_probe() argument 884 usb2->base.soc = &pad->soc->lanes[index]; in tegra210_usb2_lane_probe() 886 usb2->base.pad = pad; in tegra210_usb2_lane_probe() 913 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb2_phy_init() 930 return tegra210_xusb_padctl_disable(lane->pad->padctl); in tegra210_usb2_phy_exit() 937 struct tegra_xusb_usb2_pad *pad = to_usb2_pad(lane->pad); in tegra210_usb2_phy_power_on() local 938 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb2_phy_power_on() 1012 if (pad->enable > 0) { in tegra210_usb2_phy_power_on() 1013 pad->enable++; in tegra210_usb2_phy_power_on() [all …]
|
D | xusb.h | 47 struct tegra_xusb_pad *pad; member 119 struct tegra_xusb_lane *(*probe)(struct tegra_xusb_pad *pad, 135 void (*remove)(struct tegra_xusb_pad *pad); 164 int tegra_xusb_pad_init(struct tegra_xusb_pad *pad, 167 int tegra_xusb_pad_register(struct tegra_xusb_pad *pad, 169 void tegra_xusb_pad_unregister(struct tegra_xusb_pad *pad); 180 to_usb2_pad(struct tegra_xusb_pad *pad) in to_usb2_pad() argument 182 return container_of(pad, struct tegra_xusb_usb2_pad, base); in to_usb2_pad() 190 to_ulpi_pad(struct tegra_xusb_pad *pad) in to_ulpi_pad() argument 192 return container_of(pad, struct tegra_xusb_ulpi_pad, base); in to_ulpi_pad() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 36 fh->pad = v4l2_subdev_alloc_pad_config(sd); in subdev_fh_init() 37 if (fh->pad == NULL) in subdev_fh_init() 47 v4l2_subdev_free_pad_config(fh->pad); in subdev_fh_free() 48 fh->pad = NULL; in subdev_fh_free() 135 if (format->pad >= sd->entity.num_pads) in check_format() 147 if (crop->pad >= sd->entity.num_pads) in check_crop() 160 if (sel->pad >= sd->entity.num_pads) in check_selection() 168 if (edid->pad >= sd->entity.num_pads) in check_edid() 263 return v4l2_subdev_call(sd, pad, get_fmt, subdev_fh->pad, format); in subdev_do_ioctl() 273 return v4l2_subdev_call(sd, pad, set_fmt, subdev_fh->pad, format); in subdev_do_ioctl() [all …]
|
/drivers/staging/fsl-mc/bus/ |
D | dprc-cmd.h | 115 u8 pad[3]; member 123 __le32 pad; member 130 __le32 pad; member 142 u8 pad[3]; member 147 __le32 pad; member 161 __le32 pad; member 187 __le16 pad; member 197 __le16 pad; member 205 __le32 pad; member 211 __le32 pad; member [all …]
|
/drivers/staging/media/atomisp/pci/atomisp2/ |
D | atomisp_subdev.c | 226 static int isp_subdev_validate_rect(struct v4l2_subdev *sd, uint32_t pad, in isp_subdev_validate_rect() argument 229 switch (pad) { in isp_subdev_validate_rect() 249 uint32_t which, uint32_t pad, in atomisp_subdev_get_rect() argument 257 return v4l2_subdev_get_try_crop(sd, cfg, pad); in atomisp_subdev_get_rect() 259 return v4l2_subdev_get_try_compose(sd, cfg, pad); in atomisp_subdev_get_rect() 265 return &isp_sd->fmt[pad].crop; in atomisp_subdev_get_rect() 267 return &isp_sd->fmt[pad].compose; in atomisp_subdev_get_rect() 276 uint32_t pad) in atomisp_subdev_get_ffmt() argument 281 return v4l2_subdev_get_try_format(sd, cfg, pad); in atomisp_subdev_get_ffmt() 283 return &isp_sd->fmt[pad].fmt; in atomisp_subdev_get_ffmt() [all …]
|
/drivers/staging/media/imx/ |
D | imx-media-internal-sd.c | 75 struct internal_pad pad[IMX_MEDIA_MAX_PADS]; member 83 .pad[CSI_SRC_PAD_DIRECT] = { 94 .pad[CSI_SRC_PAD_IDMAC] = { 103 .pad[CSI_SRC_PAD_DIRECT] = { 114 .pad[CSI_SRC_PAD_IDMAC] = { 123 .pad[VDIC_SINK_PAD_IDMAC] = { 126 .pad[VDIC_SRC_PAD_DIRECT] = { 140 .pad[PRP_SRC_PAD_PRPENC] = { 148 .pad[PRP_SRC_PAD_PRPVF] = { 162 .pad[PRPENCVF_SRC_PAD] = { [all …]
|
/drivers/media/platform/exynos4-is/ |
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() 24 pad = media_entity_remote_pad(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() 34 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
|
/drivers/media/platform/vsp1/ |
D | vsp1_entity.c | 120 unsigned int pad) in vsp1_entity_get_pad_format() argument 122 return v4l2_subdev_get_try_format(&entity->subdev, cfg, pad); in vsp1_entity_get_pad_format() 139 unsigned int pad, unsigned int target) in vsp1_entity_get_pad_selection() argument 143 return v4l2_subdev_get_try_compose(&entity->subdev, cfg, pad); in vsp1_entity_get_pad_selection() 145 return v4l2_subdev_get_try_crop(&entity->subdev, cfg, pad); in vsp1_entity_get_pad_selection() 163 unsigned int pad; in vsp1_entity_init_cfg() local 165 for (pad = 0; pad < subdev->entity.num_pads - 1; ++pad) { in vsp1_entity_init_cfg() 168 format.pad = pad; in vsp1_entity_init_cfg() 172 v4l2_subdev_call(subdev, pad, set_fmt, cfg, &format); in vsp1_entity_init_cfg() 199 fmt->format = *vsp1_entity_get_pad_format(entity, config, fmt->pad); in vsp1_subdev_get_pad_format() [all …]
|
/drivers/media/platform/ |
D | video-mux.c | 100 struct media_pad *pad; in video_mux_s_stream() local 107 pad = media_entity_remote_pad(&sd->entity.pads[vmux->active]); in video_mux_s_stream() 108 if (!pad) { in video_mux_s_stream() 113 if (!is_media_entity_v4l2_subdev(pad->entity)) { in video_mux_s_stream() 118 upstream_sd = media_entity_to_v4l2_subdev(pad->entity); in video_mux_s_stream() 130 unsigned int pad, u32 which) in __video_mux_get_pad_format() argument 136 return v4l2_subdev_get_try_format(sd, cfg, pad); in __video_mux_get_pad_format() 138 return &vmux->format_mbus[pad]; in __video_mux_get_pad_format() 152 sdformat->format = *__video_mux_get_pad_format(sd, cfg, sdformat->pad, in video_mux_get_format() 166 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format() local [all …]
|
/drivers/staging/fsl-dpaa2/ethernet/ |
D | dpni-cmd.h | 132 __le16 pad; member 150 __le32 pad; member 160 u8 pad[3]; member 165 __le32 pad; member 179 __le32 pad; member 277 u8 pad[3]; member 283 u8 pad[3]; member 288 __le32 pad; member 363 __le16 pad; member 368 __le16 pad; member [all …]
|
/drivers/media/platform/qcom/camss-8x16/ |
D | camss-video.c | 185 u32 *pad) in video_remote_subdev() argument 189 remote = media_entity_remote_pad(&video->pad); in video_remote_subdev() 194 if (pad) in video_remote_subdev() 195 *pad = remote->index; in video_remote_subdev() 205 u32 pad; in video_get_subdev_format() local 208 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format() 212 fmt.pad = pad; in video_get_subdev_format() 215 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in video_get_subdev_format() 350 struct media_pad *pad; in video_start_streaming() local 364 pad = &entity->pads[0]; in video_start_streaming() [all …]
|