/openbmc/linux/drivers/staging/media/atomisp/i2c/ |
H A D | atomisp-gc0310.c | 80 struct v4l2_subdev sd; member 336 if (!pm_runtime_get_if_in_use(dev->sd.dev)) in gc0310_s_ctrl() 351 pm_runtime_put(dev->sd.dev); in gc0310_s_ctrl() 380 static int gc0310_set_fmt(struct v4l2_subdev *sd, in gc0310_set_fmt() argument 579 dev->sd.ctrl_handler = hdl; in gc0310_init_controls() 598 v4l2_async_unregister_subdev(sd); in gc0310_remove() 599 media_entity_cleanup(&dev->sd.entity); in gc0310_remove() 652 dev->sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in gc0310_probe() 655 dev->sd.fwnode = dev->ep_fwnode; in gc0310_probe() 680 struct v4l2_subdev *sd = dev_get_drvdata(dev); in gc0310_suspend() local [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | tw2804.c | 28 struct v4l2_subdev sd; member 132 return container_of(sd, struct tw2804, sd); in to_state() 142 struct tw2804 *state = to_state(sd); in tw2804_log_status() 144 v4l2_info(sd, "Standard: %s\n", in tw2804_log_status() 252 struct tw2804 *dec = to_state(sd); in tw2804_s_std() 277 struct tw2804 *dec = to_state(sd); in tw2804_s_video_routing() 350 struct v4l2_subdev *sd; in tw2804_probe() local 360 sd = &state->sd; in tw2804_probe() 394 sd->ctrl_handler = &state->hdl; in tw2804_probe() 410 struct tw2804 *state = to_state(sd); in tw2804_remove() [all …]
|
H A D | tea6415c.c | 37 static int tea6415c_s_routing(struct v4l2_subdev *sd, in tea6415c_s_routing() argument 40 struct i2c_client *client = v4l2_get_subdevdata(sd); in tea6415c_s_routing() 44 v4l2_dbg(1, debug, sd, "i=%d, o=%d\n", i, o); in tea6415c_s_routing() 102 v4l2_dbg(1, debug, sd, in tea6415c_s_routing() 121 struct v4l2_subdev *sd; in tea6415c_probe() local 129 sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL); in tea6415c_probe() 130 if (sd == NULL) in tea6415c_probe() 132 v4l2_i2c_subdev_init(sd, client, &tea6415c_ops); in tea6415c_probe() 138 struct v4l2_subdev *sd = i2c_get_clientdata(client); in tea6415c_remove() local 140 v4l2_device_unregister_subdev(sd); in tea6415c_remove()
|
H A D | dw9719.c | 42 struct v4l2_subdev sd; member 137 struct v4l2_subdev *sd = dev_get_drvdata(dev); in dw9719_suspend() local 156 struct v4l2_subdev *sd = dev_get_drvdata(dev); in dw9719_resume() local 184 return pm_runtime_resume_and_get(sd->dev); in dw9719_open() 189 pm_runtime_put(sd->dev); in dw9719_close() 268 dw9719->sd.entity.function = MEDIA_ENT_F_LENS; in dw9719_probe() 289 ret = v4l2_async_register_subdev(&dw9719->sd); in dw9719_probe() 305 media_entity_cleanup(&dw9719->sd.entity); in dw9719_probe() 316 container_of(sd, struct dw9719_device, sd); in dw9719_remove() 318 v4l2_async_unregister_subdev(sd); in dw9719_remove() [all …]
|
H A D | s5k5baf.c | 294 struct v4l2_subdev sd; member 409 return container_of(sd, struct s5k5baf, sd); in to_s5k5baf() 804 v4l2_info(&state->sd, in s5k5baf_hw_find_min_fiv() 808 v4l2_err(&state->sd, in s5k5baf_hw_find_min_fiv() 835 v4l2_err(&state->sd, in s5k5baf_hw_validate_cfg() 884 v4l2_err(&state->sd, in s5k5baf_hw_set_crop_rects() 1873 sd = &state->cis_sd; in s5k5baf_configure_subdevs() 1877 snprintf(sd->name, sizeof(sd->name), "S5K5BAF-CIS %d-%04x", in s5k5baf_configure_subdevs() 1889 sd = &state->sd; in s5k5baf_configure_subdevs() 1891 snprintf(sd->name, sizeof(sd->name), "S5K5BAF-ISP %d-%04x", in s5k5baf_configure_subdevs() [all …]
|
H A D | uda1342.c | 21 static int uda1342_s_routing(struct v4l2_subdev *sd, in uda1342_s_routing() argument 24 struct i2c_client *client = v4l2_get_subdevdata(sd); in uda1342_s_routing() 34 v4l2_err(sd, "input %d not supported\n", input); in uda1342_s_routing() 51 struct v4l2_subdev *sd; in uda1342_probe() local 59 sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL); in uda1342_probe() 60 if (sd == NULL) in uda1342_probe() 63 v4l2_i2c_subdev_init(sd, client, &uda1342_ops); in uda1342_probe() 76 struct v4l2_subdev *sd = i2c_get_clientdata(client); in uda1342_remove() local 78 v4l2_device_unregister_subdev(sd); in uda1342_remove()
|
H A D | og01a1b.c | 421 struct v4l2_subdev sd; member 669 og01a1b->sd.ctrl_handler = ctrl_hdlr; in og01a1b_init_controls() 731 struct og01a1b *og01a1b = to_og01a1b(sd); in og01a1b_set_stream() 768 struct og01a1b *og01a1b = to_og01a1b(sd); in og01a1b_suspend() 783 struct og01a1b *og01a1b = to_og01a1b(sd); in og01a1b_resume() 806 struct og01a1b *og01a1b = to_og01a1b(sd); in og01a1b_set_format() 848 struct og01a1b *og01a1b = to_og01a1b(sd); in og01a1b_get_format() 895 struct og01a1b *og01a1b = to_og01a1b(sd); in og01a1b_open() 1021 struct og01a1b *og01a1b = to_og01a1b(sd); in og01a1b_remove() 1023 v4l2_async_unregister_subdev(sd); in og01a1b_remove() [all …]
|
/openbmc/linux/drivers/media/spi/ |
H A D | gs1662.c | 48 struct v4l2_subdev sd; member 259 return container_of(sd, struct gs, sd); in to_gs() 265 struct gs *gs = to_gs(sd); in gs_s_dv_timings() 279 struct gs *gs = to_gs(sd); in gs_g_dv_timings() 288 struct gs *gs = to_gs(sd); in gs_query_dv_timings() 340 struct gs *gs = to_gs(sd); in gs_s_stream() 360 struct gs *gs = to_gs(sd); in gs_g_input_status() 436 struct v4l2_subdev *sd; in gs_probe() local 443 sd = &gs->sd; in gs_probe() 450 v4l2_spi_subdev_init(sd, spi, &gs_ops); in gs_probe() [all …]
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | kinect.c | 47 struct sd { struct 123 struct sd *sd = (struct sd *) gspca_dev; in send_cmd() local 126 uint8_t *obuf = sd->obuf; in send_cmd() 193 sd->cam_tag++; in send_cmd() 223 struct sd *sd = (struct sd *) gspca_dev; in sd_config_video() local 226 sd->cam_tag = 0; in sd_config_video() 228 sd->stream_flag = 0x80; in sd_config_video() 249 struct sd *sd = (struct sd *) gspca_dev; in sd_config_depth() local 252 sd->cam_tag = 0; in sd_config_depth() 254 sd->stream_flag = 0x70; in sd_config_depth() [all …]
|
H A D | jl2005bcd.c | 29 struct sd { struct 166 struct sd *sd = (struct sd *)gspca_dev; in jl2005c_get_firmware_id() local 188 sd->firmware_id[0], in jl2005c_get_firmware_id() 189 sd->firmware_id[1], in jl2005c_get_firmware_id() 190 sd->firmware_id[2], in jl2005c_get_firmware_id() 191 sd->firmware_id[3], in jl2005c_get_firmware_id() 192 sd->firmware_id[4], in jl2005c_get_firmware_id() 306 struct sd *dev = container_of(work, struct sd, work_struct); in jl2005c_dostream() 399 struct sd *sd = (struct sd *) gspca_dev; in sd_config() local 443 struct sd *sd = (struct sd *) gspca_dev; in sd_start() local [all …]
|
H A D | pac7311.c | 63 struct sd { struct 360 struct sd *sd = (struct sd *)gspca_dev; in sd_s_ctrl() local 403 struct sd *sd = (struct sd *) gspca_dev; in sd_init_controls() local 434 struct sd *sd = (struct sd *) gspca_dev; in sd_start() local 436 sd->sof_read = 0; in sd_start() 464 sd->sof_read = 0; in sd_start() 465 sd->autogain_ignore_frames = 0; in sd_start() 466 atomic_set(&sd->avg_lum, -1); in sd_start() 491 struct sd *sd = (struct sd *) gspca_dev; in do_autogain() local 502 sd->autogain_ignore_frames--; in do_autogain() [all …]
|
H A D | xirlink_cit.c | 857 struct sd *sd = (struct sd *) gspca_dev; in sd_config() local 1121 struct sd *sd = (struct sd *) gspca_dev; in sd_init() local 1143 struct sd *sd = (struct sd *) gspca_dev; in cit_set_brightness() local 1183 struct sd *sd = (struct sd *) gspca_dev; in cit_set_contrast() local 1246 struct sd *sd = (struct sd *) gspca_dev; in cit_set_hue() local 1298 struct sd *sd = (struct sd *) gspca_dev; in cit_set_sharpness() local 1366 struct sd *sd = (struct sd *) gspca_dev; in cit_set_lighting() local 1386 struct sd *sd = (struct sd *) gspca_dev; in cit_set_hflip() local 1406 struct sd *sd = (struct sd *) gspca_dev; in cit_restart_stream() local 1533 struct sd *sd = (struct sd *) gspca_dev; in cit_start_model1() local [all …]
|
/openbmc/linux/drivers/media/usb/gspca/stv06xx/ |
H A D | stv06xx_vv6410.h | 165 static int vv6410_probe(struct sd *sd); 166 static int vv6410_start(struct sd *sd); 167 static int vv6410_init(struct sd *sd); 168 static int vv6410_init_controls(struct sd *sd); 169 static int vv6410_stop(struct sd *sd); 170 static int vv6410_dump(struct sd *sd);
|
/openbmc/linux/drivers/media/usb/gspca/m5602/ |
H A D | m5602_mt9m111.h | 107 int mt9m111_probe(struct sd *sd); 108 int mt9m111_init(struct sd *sd); 109 int mt9m111_init_controls(struct sd *sd); 110 int mt9m111_start(struct sd *sd); 111 void mt9m111_disconnect(struct sd *sd);
|
H A D | m5602_po1030.h | 148 int po1030_probe(struct sd *sd); 149 int po1030_init(struct sd *sd); 150 int po1030_init_controls(struct sd *sd); 151 int po1030_start(struct sd *sd); 152 void po1030_disconnect(struct sd *sd);
|
/openbmc/linux/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-core.c | 363 v4l2_err(sd, "SPI write failed\n"); in s5c73m3_load_fw() 455 ret = __s5c73m3_s_stream(state, sd, on); in s5c73m3_oif_s_stream() 588 s5c73m3_load_fw(sd); in s5c73m3_spi_boot() 1307 v4l2_ctrl_handler_log_status(sd->ctrl_handler, sd->name); in s5c73m3_oif_log_status() 1586 struct v4l2_subdev *sd; in s5c73m3_probe() local 1601 sd = &state->sensor_sd; in s5c73m3_probe() 1605 sd->owner = client->dev.driver->owner; in s5c73m3_probe() 1606 v4l2_set_subdevdata(sd, state); in s5c73m3_probe() 1607 strscpy(sd->name, "S5C73M3", sizeof(sd->name)); in s5c73m3_probe() 1610 sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in s5c73m3_probe() [all …]
|
/openbmc/linux/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.h | 73 struct v4l2_subdev sd; member 102 static inline struct cx25840_state *to_state(struct v4l2_subdev *sd) in to_state() argument 104 return container_of(sd, struct cx25840_state, sd); in to_state() 109 return &container_of(ctrl->handler, struct cx25840_state, hdl)->sd; in to_sd() 172 int cx25840_s_clock_freq(struct v4l2_subdev *sd, u32 freq); 179 int cx25840_s_sliced_fmt(struct v4l2_subdev *sd, 181 int cx25840_g_sliced_fmt(struct v4l2_subdev *sd, 183 int cx25840_decode_vbi_line(struct v4l2_subdev *sd, 189 int cx25840_ir_log_status(struct v4l2_subdev *sd); 191 int cx25840_ir_probe(struct v4l2_subdev *sd); [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0020-sd-event-Make-malloc_trim-conditional-on-glibc.patch | 4 Subject: [PATCH 20/22] sd-event: Make malloc_trim() conditional on glibc 11 src/libsystemd/sd-event/sd-event.c | 4 +++- 14 diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c 16 --- a/src/libsystemd/sd-event/sd-event.c 17 +++ b/src/libsystemd/sd-event/sd-event.c
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0020-sd-event-Make-malloc_trim-conditional-on-glibc.patch | 4 Subject: [PATCH 20/22] sd-event: Make malloc_trim() conditional on glibc 11 src/libsystemd/sd-event/sd-event.c | 4 +++- 14 diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c 16 --- a/src/libsystemd/sd-event/sd-event.c 17 +++ b/src/libsystemd/sd-event/sd-event.c
|
/openbmc/u-boot/arch/sandbox/cpu/ |
H A D | eth-raw-os.c | 90 if (priv->sd < 0) { in _raw_packet_start() 105 flags = fcntl(priv->sd, F_GETFL, 0); in _raw_packet_start() 106 fcntl(priv->sd, F_SETFL, flags | O_NONBLOCK); in _raw_packet_start() 165 if (priv->sd < 0) { in _local_inet_start() 172 flags = fcntl(priv->sd, F_GETFL, 0); in _local_inet_start() 173 fcntl(priv->sd, F_SETFL, flags | O_NONBLOCK); in _local_inet_start() 201 if (priv->sd < 0 || !priv->device) in sandbox_eth_raw_os_send() 249 retval = sendto(priv->sd, packet, length, 0, in sandbox_eth_raw_os_send() 266 if (priv->sd < 0 || !priv->device) in sandbox_eth_raw_os_recv() 287 close(priv->sd); in sandbox_eth_raw_os_stop() [all …]
|
/openbmc/linux/drivers/staging/media/imx/ |
H A D | imx-media-dev-common.c | 26 struct v4l2_subdev *sd, *csi2 = NULL; in imx_media_create_csi2_links() local 29 if (sd->grp_id == IMX_MEDIA_GRP_ID_CSI2) { in imx_media_create_csi2_links() 30 csi2 = sd; in imx_media_create_csi2_links() 43 v4l2_create_fwnode_links(csi2, sd); in imx_media_create_csi2_links() 59 struct v4l2_subdev *sd; in imx_media_add_vdev_to_pad() local 125 struct v4l2_subdev *sd; in imx_media_alloc_pad_vdev_lists() local 129 entity = &sd->entity; in imx_media_alloc_pad_vdev_lists() 137 sd->host_priv = vdev_lists; in imx_media_alloc_pad_vdev_lists() 207 vfd->entity.name, sd->entity.name); in imx_media_inherit_controls() 210 sd->ctrl_handler, in imx_media_inherit_controls() [all …]
|
H A D | imx-ic-prp.c | 97 static int prp_enum_mbus_code(struct v4l2_subdev *sd, in prp_enum_mbus_code() argument 101 struct prp_priv *priv = sd_to_priv(sd); in prp_enum_mbus_code() 130 static int prp_get_fmt(struct v4l2_subdev *sd, in prp_get_fmt() argument 134 struct prp_priv *priv = sd_to_priv(sd); in prp_get_fmt() 155 static int prp_set_fmt(struct v4l2_subdev *sd, in prp_set_fmt() argument 159 struct prp_priv *priv = sd_to_priv(sd); in prp_set_fmt() 301 ret = v4l2_subdev_link_validate_default(sd, link, in prp_link_validate() 401 struct prp_priv *priv = sd_to_priv(sd); in prp_g_frame_interval() 416 struct prp_priv *priv = sd_to_priv(sd); in prp_s_frame_interval() 434 static int prp_registered(struct v4l2_subdev *sd) in prp_registered() argument [all …]
|
/openbmc/linux/arch/arm/vfp/ |
H A D | vfpsingle.c | 69 #define vfp_single_normaliseround(sd,vsd,fpscr,except,func) __vfp_single_normaliseround(sd,vsd,fpsc… argument 202 sd, d, exceptions); in __vfp_single_normaliseround() 204 vfp_put_float(d, sd); in __vfp_single_normaliseround() 267 vfp_put_float(m, sd); in vfp_single_fcpy() 408 d = vfp_get_float(sd); in vfp_compare() 464 return vfp_compare(sd, 0, m, fpscr); in vfp_single_fcmp() 469 return vfp_compare(sd, 1, m, fpscr); in vfp_single_fcmpe() 474 return vfp_compare(sd, 0, 0, fpscr); in vfp_single_fcmpz() 617 vfp_put_float(d, sd); in vfp_single_ftoui() 696 vfp_put_float((s32)d, sd); in vfp_single_ftosi() [all …]
|
/openbmc/linux/fs/sysfs/ |
H A D | dir.c | 50 parent = kobj->parent->sd; in sysfs_create_dir_ns() 67 kobj->sd = kn; in sysfs_create_dir_ns() 81 struct kernfs_node *kn = kobj->sd; in sysfs_remove_dir() 96 kobj->sd = NULL; in sysfs_remove_dir() 111 parent = kernfs_get_parent(kobj->sd); in sysfs_rename_dir_ns() 112 ret = kernfs_rename_ns(kobj->sd, parent, new_name, new_ns); in sysfs_rename_dir_ns() 120 struct kernfs_node *kn = kobj->sd; in sysfs_move_dir_ns() 123 new_parent = new_parent_kobj && new_parent_kobj->sd ? in sysfs_move_dir_ns() 124 new_parent_kobj->sd : sysfs_root_kn; in sysfs_move_dir_ns() 136 struct kernfs_node *kn, *parent = parent_kobj->sd; in sysfs_create_mount_point() [all …]
|
/openbmc/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x-afe.c | 167 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_pixelaspect() 186 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_std() 195 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_s_std() 214 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_querystd() 257 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_input_status() 272 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_s_stream() 349 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_get_format() 493 afe->sd.ctrl_handler = &afe->ctrl_hdl; in adv748x_afe_init_controls() 546 media_entity_cleanup(&afe->sd.entity); in adv748x_afe_init() 553 v4l2_device_unregister_subdev(&afe->sd); in adv748x_afe_cleanup() [all …]
|