sharp              40 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static void sharp_wait_frames(struct sharp_panel *sharp, unsigned int frames)
sharp              42 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	unsigned int refresh = drm_mode_vrefresh(sharp->mode);
sharp              50 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static int sharp_panel_write(struct sharp_panel *sharp, u16 offset, u8 value)
sharp              53 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct mipi_dsi_device *dsi = sharp->link1;
sharp              74 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static __maybe_unused int sharp_panel_read(struct sharp_panel *sharp,
sharp              81 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = mipi_dsi_generic_read(sharp->link1, &offset, sizeof(offset),
sharp              84 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(&sharp->link1->dev, "failed to read from %04x: %zd\n",
sharp              92 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = to_sharp_panel(panel);
sharp              94 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (!sharp->enabled)
sharp              97 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	backlight_disable(sharp->backlight);
sharp              99 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->enabled = false;
sharp             106 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = to_sharp_panel(panel);
sharp             109 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (!sharp->prepared)
sharp             112 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp_wait_frames(sharp, 4);
sharp             114 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = mipi_dsi_dcs_set_display_off(sharp->link1);
sharp             118 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = mipi_dsi_dcs_enter_sleep_mode(sharp->link1);
sharp             124 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	regulator_disable(sharp->supply);
sharp             126 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->prepared = false;
sharp             167 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = to_sharp_panel(panel);
sharp             171 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (sharp->prepared)
sharp             174 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = regulator_enable(sharp->supply);
sharp             186 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = mipi_dsi_dcs_exit_sleep_mode(sharp->link1);
sharp             202 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = sharp_panel_write(sharp, 0x1000, 0x2a);
sharp             209 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = sharp_panel_write(sharp, 0x1001, 0x01);
sharp             215 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = mipi_dsi_dcs_set_pixel_format(sharp->link1, format);
sharp             228 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = sharp_setup_symmetrical_split(sharp->link1, sharp->link2,
sharp             229 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 					    sharp->mode);
sharp             236 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = mipi_dsi_dcs_set_display_on(sharp->link1);
sharp             242 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->prepared = true;
sharp             245 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp_wait_frames(sharp, 6);
sharp             250 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	regulator_disable(sharp->supply);
sharp             256 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = to_sharp_panel(panel);
sharp             258 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (sharp->enabled)
sharp             261 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	backlight_enable(sharp->backlight);
sharp             263 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->enabled = true;
sharp             317 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static int sharp_panel_add(struct sharp_panel *sharp)
sharp             319 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct device *dev = &sharp->link1->dev;
sharp             321 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->mode = &default_mode;
sharp             323 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->supply = devm_regulator_get(&sharp->link1->dev, "power");
sharp             324 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (IS_ERR(sharp->supply))
sharp             325 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		return PTR_ERR(sharp->supply);
sharp             327 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->backlight = devm_of_find_backlight(dev);
sharp             329 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (IS_ERR(sharp->backlight))
sharp             330 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		return PTR_ERR(sharp->backlight);
sharp             332 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	drm_panel_init(&sharp->base);
sharp             333 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->base.funcs = &sharp_panel_funcs;
sharp             334 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp->base.dev = &sharp->link1->dev;
sharp             336 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	return drm_panel_add(&sharp->base);
sharp             339 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static void sharp_panel_del(struct sharp_panel *sharp)
sharp             341 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (sharp->base.dev)
sharp             342 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		drm_panel_remove(&sharp->base);
sharp             344 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (sharp->link2)
sharp             345 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		put_device(&sharp->link2->dev);
sharp             351 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp;
sharp             371 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		sharp = devm_kzalloc(&dsi->dev, sizeof(*sharp), GFP_KERNEL);
sharp             372 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		if (!sharp) {
sharp             377 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		mipi_dsi_set_drvdata(dsi, sharp);
sharp             379 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		sharp->link2 = secondary;
sharp             380 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		sharp->link1 = dsi;
sharp             382 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		err = sharp_panel_add(sharp);
sharp             392 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 			sharp_panel_del(sharp);
sharp             402 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = mipi_dsi_get_drvdata(dsi);
sharp             406 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (!sharp) {
sharp             411 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	err = sharp_panel_disable(&sharp->base);
sharp             419 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp_panel_del(sharp);
sharp             426 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = mipi_dsi_get_drvdata(dsi);
sharp             429 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	if (!sharp)
sharp             432 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	sharp_panel_disable(&sharp->base);
sharp              40 drivers/media/rc/ir-sharp-decoder.c 	struct sharp_dec *data = &dev->raw->sharp;
sharp             111 drivers/media/rc/rc-core-priv.h 	} sharp;
sharp             342 drivers/media/usb/gspca/gl860/gl860-mi1320.c 	s32 sharp  = sd->vcur.sharpness;
sharp             428 drivers/media/usb/gspca/gl860/gl860-mi1320.c 	if (sharp != sd->vold.sharpness) {
sharp             429 drivers/media/usb/gspca/gl860/gl860-mi1320.c 		sd->vold.sharpness = sharp;
sharp             430 drivers/media/usb/gspca/gl860/gl860-mi1320.c 		if (sharp < 0 || sharp > sd->vmax.sharpness)
sharp             431 drivers/media/usb/gspca/gl860/gl860-mi1320.c 			sharp = 0;
sharp             436 drivers/media/usb/gspca/gl860/gl860-mi1320.c 		ctrl_out(gspca_dev, 0x40, 1, 0xba00 + sharp, 0x00f1, 0, NULL);
sharp             628 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	s32 sharp  =  sd->vcur.sharpness;
sharp             771 drivers/media/usb/gspca/gl860/gl860-mi2020.c 	if (sharp != sd->vold.sharpness) {
sharp             772 drivers/media/usb/gspca/gl860/gl860-mi2020.c 		sd->vold.sharpness = sharp;
sharp             773 drivers/media/usb/gspca/gl860/gl860-mi2020.c 		if (sharp < 0 || sharp > sd->vmax.sharpness)
sharp             774 drivers/media/usb/gspca/gl860/gl860-mi2020.c 			sharp = 0;
sharp             776 drivers/media/usb/gspca/gl860/gl860-mi2020.c 		dat_sharp[1] = sharp;
sharp             341 drivers/media/usb/gspca/gl860/gl860-ov2640.c 	s32 sharp  = sd->vcur.sharpness;
sharp             403 drivers/media/usb/gspca/gl860/gl860-ov2640.c 	if (sharp != sd->vold.sharpness) {
sharp             404 drivers/media/usb/gspca/gl860/gl860-ov2640.c 		sd->vold.sharpness = sharp;
sharp             405 drivers/media/usb/gspca/gl860/gl860-ov2640.c 		if (sharp < 0 || sharp > sd->vmax.sharpness)
sharp             406 drivers/media/usb/gspca/gl860/gl860-ov2640.c 			sharp = 0;
sharp             410 drivers/media/usb/gspca/gl860/gl860-ov2640.c 		ctrl_out(gspca_dev, 0x40, 1, 0x60c0 + sharp, 0x0093, 0, NULL);
sharp            1795 drivers/staging/media/ipu3/include/intel-ipu3.h 	struct ipu3_uapi_yuvp1_iefd_shrp_cfg sharp;
sharp            9423 drivers/staging/media/ipu3/ipu3-tables.c 	.sharp = { { 50, X, 511, X, 50, X, 50, X },