Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/drivers/staging/greybus/
Dgpio.c67 static int gb_gpio_activate_operation(struct gb_gpio_controller *ggc, u8 which) in gb_gpio_activate_operation() argument
77 request.which = which; in gb_gpio_activate_operation()
85 ggc->lines[which].active = true; in gb_gpio_activate_operation()
91 u8 which) in gb_gpio_deactivate_operation() argument
98 request.which = which; in gb_gpio_deactivate_operation()
102 dev_err(dev, "failed to deactivate gpio %u\n", which); in gb_gpio_deactivate_operation()
106 ggc->lines[which].active = false; in gb_gpio_deactivate_operation()
113 u8 which) in gb_gpio_get_direction_operation() argument
121 request.which = which; in gb_gpio_get_direction_operation()
131 which, direction); in gb_gpio_get_direction_operation()
[all …]
Dpwm.c44 static int gb_pwm_activate_operation(struct pwm_chip *chip, u8 which) in gb_pwm_activate_operation() argument
51 request.which = which; in gb_pwm_activate_operation()
66 static int gb_pwm_deactivate_operation(struct pwm_chip *chip, u8 which) in gb_pwm_deactivate_operation() argument
73 request.which = which; in gb_pwm_deactivate_operation()
89 u8 which, u32 duty, u32 period) in gb_pwm_config_operation() argument
96 request.which = which; in gb_pwm_config_operation()
114 u8 which, u8 polarity) in gb_pwm_set_polarity_operation() argument
121 request.which = which; in gb_pwm_set_polarity_operation()
137 static int gb_pwm_enable_operation(struct pwm_chip *chip, u8 which) in gb_pwm_enable_operation() argument
144 request.which = which; in gb_pwm_enable_operation()
[all …]
/drivers/staging/media/av7110/
Dav7110_ipack.c17 p->which = 0; in av7110_ipack_reset()
221 p->which = 0; in av7110_ipack_instant_repack()
280 if (p->mpeg == 1 && p->which < 2000) { in av7110_ipack_instant_repack()
286 while (!p->which && c < count && p->check == 0xff) { in av7110_ipack_instant_repack()
297 if ((p->check & 0xc0) == 0x40 && !p->which) { in av7110_ipack_instant_repack()
304 p->which = 1; in av7110_ipack_instant_repack()
312 p->which = 2; in av7110_ipack_instant_repack()
317 if (p->which == 1) { in av7110_ipack_instant_repack()
323 p->which = 2; in av7110_ipack_instant_repack()
331 p->which = 3; in av7110_ipack_instant_repack()
[all …]
/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c224 u32 which, uint32_t pad, in atomisp_subdev_get_rect() argument
229 if (which == V4L2_SUBDEV_FORMAT_TRY) { in atomisp_subdev_get_rect()
250 struct v4l2_subdev_state *sd_state, uint32_t which, in atomisp_subdev_get_ffmt() argument
255 if (which == V4L2_SUBDEV_FORMAT_TRY) in atomisp_subdev_get_ffmt()
263 uint32_t which, in isp_get_fmt_rect() argument
271 ffmt[i] = atomisp_subdev_get_ffmt(sd, sd_state, which, i); in isp_get_fmt_rect()
272 crop[i] = atomisp_subdev_get_rect(sd, sd_state, which, i, in isp_get_fmt_rect()
274 comp[i] = atomisp_subdev_get_rect(sd, sd_state, which, i, in isp_get_fmt_rect()
289 rec = atomisp_subdev_get_rect(sd, sd_state, sel->which, sel->pad, in isp_subdev_get_selection()
312 u32 which, uint32_t pad, uint32_t target, in atomisp_subdev_set_selection() argument
[all …]
Datomisp_csi2.c28 enum v4l2_subdev_format_whence which, in __csi2_get_format() argument
31 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csi2_get_format()
77 format = __csi2_get_format(csi2, sd_state, fmt->which, fmt->pad); in csi2_get_format()
86 unsigned int which, uint16_t pad, in atomisp_csi2_set_ffmt() argument
92 which, pad); in atomisp_csi2_set_ffmt()
116 return atomisp_csi2_set_ffmt(sd, sd_state, which, in atomisp_csi2_set_ffmt()
122 *actual_ffmt = *ffmt = *__csi2_get_format(csi2, sd_state, which, in atomisp_csi2_set_ffmt()
140 return atomisp_csi2_set_ffmt(sd, sd_state, fmt->which, fmt->pad, in csi2_set_format()
/drivers/media/platform/qcom/camss/
Dcamss-vfe.c980 enum v4l2_subdev_format_whence which) in __vfe_get_format() argument
982 if (which == V4L2_SUBDEV_FORMAT_TRY) in __vfe_get_format()
999 enum v4l2_subdev_format_whence which) in __vfe_get_compose() argument
1001 if (which == V4L2_SUBDEV_FORMAT_TRY) in __vfe_get_compose()
1019 enum v4l2_subdev_format_whence which) in __vfe_get_crop() argument
1021 if (which == V4L2_SUBDEV_FORMAT_TRY) in __vfe_get_crop()
1039 enum v4l2_subdev_format_whence which) in vfe_try_format() argument
1069 which); in vfe_try_format()
1076 rect = __vfe_get_crop(line, sd_state, which); in vfe_try_format()
1098 enum v4l2_subdev_format_whence which) in vfe_try_compose() argument
[all …]
Dcamss-csiphy.c335 enum v4l2_subdev_format_whence which) in __csiphy_get_format() argument
337 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csiphy_get_format()
355 enum v4l2_subdev_format_whence which) in csiphy_try_format() argument
384 which); in csiphy_try_format()
415 code->which); in csiphy_enum_mbus_code()
443 csiphy_try_format(csiphy, sd_state, fse->pad, &format, fse->which); in csiphy_enum_frame_size()
453 csiphy_try_format(csiphy, sd_state, fse->pad, &format, fse->which); in csiphy_enum_frame_size()
475 format = __csiphy_get_format(csiphy, sd_state, fmt->pad, fmt->which); in csiphy_get_format()
499 format = __csiphy_get_format(csiphy, sd_state, fmt->pad, fmt->which); in csiphy_set_format()
504 fmt->which); in csiphy_set_format()
[all …]
/drivers/staging/media/omap4iss/
Diss_ipipe.c26 enum v4l2_subdev_format_whence which);
180 enum v4l2_subdev_format_whence which) in __ipipe_get_format() argument
182 if (which == V4L2_SUBDEV_FORMAT_TRY) in __ipipe_get_format()
200 enum v4l2_subdev_format_whence which) in ipipe_try_format() argument
226 which); in ipipe_try_format()
286 ipipe_try_format(ipipe, sd_state, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
296 ipipe_try_format(ipipe, sd_state, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
319 format = __ipipe_get_format(ipipe, sd_state, fmt->pad, fmt->which); in ipipe_get_format()
343 format = __ipipe_get_format(ipipe, sd_state, fmt->pad, fmt->which); in ipipe_set_format()
347 ipipe_try_format(ipipe, sd_state, fmt->pad, &fmt->format, fmt->which); in ipipe_set_format()
[all …]
Diss_ipipeif.c361 enum v4l2_subdev_format_whence which) in __ipipeif_get_format() argument
363 if (which == V4L2_SUBDEV_FORMAT_TRY) in __ipipeif_get_format()
379 enum v4l2_subdev_format_whence which) in ipipeif_try_format() argument
408 which); in ipipeif_try_format()
424 which); in ipipeif_try_format()
469 code->which); in ipipeif_enum_mbus_code()
494 ipipeif_try_format(ipipeif, sd_state, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
504 ipipeif_try_format(ipipeif, sd_state, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
527 format = __ipipeif_get_format(ipipeif, sd_state, fmt->pad, fmt->which); in ipipeif_get_format()
551 format = __ipipeif_get_format(ipipeif, sd_state, fmt->pad, fmt->which); in ipipeif_set_format()
[all …]
Diss_resizer.c420 enum v4l2_subdev_format_whence which) in __resizer_get_format() argument
422 if (which == V4L2_SUBDEV_FORMAT_TRY) in __resizer_get_format()
438 enum v4l2_subdev_format_whence which) in resizer_try_format() argument
466 which); in resizer_try_format()
513 code->which); in resizer_enum_mbus_code()
554 resizer_try_format(resizer, sd_state, fse->pad, &format, fse->which); in resizer_enum_frame_size()
564 resizer_try_format(resizer, sd_state, fse->pad, &format, fse->which); in resizer_enum_frame_size()
587 format = __resizer_get_format(resizer, sd_state, fmt->pad, fmt->which); in resizer_get_format()
611 format = __resizer_get_format(resizer, sd_state, fmt->pad, fmt->which); in resizer_set_format()
616 fmt->which); in resizer_set_format()
[all …]
/drivers/media/v4l2-core/
Dv4l2-ctrls-api.c247 if (cs->which && in prepare_ext_ctrls()
248 (cs->which < V4L2_CTRL_WHICH_DEF_VAL || in prepare_ext_ctrls()
249 cs->which > V4L2_CTRL_WHICH_MAX_VAL) && in prepare_ext_ctrls()
250 V4L2_CTRL_ID2WHICH(id) != cs->which) { in prepare_ext_ctrls()
253 cs->which, id); in prepare_ext_ctrls()
279 (cs->which == V4L2_CTRL_WHICH_MIN_VAL || in prepare_ext_ctrls()
280 cs->which == V4L2_CTRL_WHICH_MAX_VAL)) { in prepare_ext_ctrls()
283 cs->which, id); in prepare_ext_ctrls()
295 if (cs->which == V4L2_CTRL_WHICH_REQUEST_VAL) in prepare_ext_ctrls()
394 static int class_check(struct v4l2_ctrl_handler *hdl, u32 which) in class_check() argument
[all …]
Dv4l2-subdev.c159 static inline int check_which(u32 which) in check_which() argument
161 if (which != V4L2_SUBDEV_FORMAT_TRY && in check_which()
162 which != V4L2_SUBDEV_FORMAT_ACTIVE) in check_which()
184 u32 which, u32 pad, u32 stream) in check_state() argument
199 if (which == V4L2_SUBDEV_FORMAT_TRY && (!state || !state->pads)) in check_state()
212 return check_which(format->which) ? : check_pad(sd, format->pad) ? : in check_format()
213 check_state(sd, state, format->which, format->pad, format->stream); in check_format()
239 return check_which(code->which) ? : check_pad(sd, code->pad) ? : in call_enum_mbus_code()
240 check_state(sd, state, code->which, code->pad, code->stream) ? : in call_enum_mbus_code()
251 return check_which(fse->which) ? : check_pad(sd, fse->pad) ? : in call_enum_frame_size()
[all …]
/drivers/media/platform/ti/omap3isp/
Dispresizer.c119 unsigned int pad, enum v4l2_subdev_format_whence which) in __resizer_get_format() argument
121 if (which == V4L2_SUBDEV_FORMAT_TRY) in __resizer_get_format()
136 enum v4l2_subdev_format_whence which) in __resizer_get_crop() argument
138 if (which == V4L2_SUBDEV_FORMAT_TRY) in __resizer_get_crop()
1237 sel->which); in resizer_get_selection()
1239 sel->which); in resizer_get_selection()
1253 sel->r = *__resizer_get_crop(res, sd_state, sel->which); in resizer_get_selection()
1293 sel->which); in resizer_set_selection()
1295 sel->which); in resizer_set_selection()
1298 __func__, sel->which == V4L2_SUBDEV_FORMAT_TRY ? "try" : "act", in resizer_set_selection()
[all …]
/drivers/mtd/chips/
DKconfig22 This option enables JEDEC-style probing of flash chips which are not
24 CFI-targeted flash drivers for any chips which are identified which
40 configuration options which allow you to do so.
49 This option defines the way in which the CPU attempts to arrange
51 'NO', which is the default when CONFIG_MTD_CFI_ADV_OPTIONS isn't
79 some other configuration options which would allow you to reduce
82 which are supported by the current code will be enabled.
88 If you wish to support CFI devices on a physical bus which is
95 If you wish to support CFI devices on a physical bus which is
102 If you wish to support CFI devices on a physical bus which is
[all …]
/drivers/firmware/arm_scmi/
DKconfig12 it supports, Power domain management which is the ability to place
14 it supports, Performance management which is the ability to control
17 management which is the ability to set and inquire rates on platform
18 managed clocks and Sensor management which is the ability to read
30 which needs debugfs support. When selected causess the creation
55 operate normally, thing which could make an SCMI test suite using the
68 Enable this option to create a new debugfs directory which contains
81 This enables System Power control logic which binds system shutdown or
/drivers/net/dsa/
Dbcm_sf2.h167 #define SWITCH_INTR_L2(which) \ argument
168 static inline void intrl2_##which##_mask_clear(struct bcm_sf2_priv *priv, \
171 priv->irq##which##_mask &= ~(mask); \
172 intrl2_##which##_writel(priv, mask, INTRL2_CPU_MASK_CLEAR); \
174 static inline void intrl2_##which##_mask_set(struct bcm_sf2_priv *priv, \
177 intrl2_## which##_writel(priv, mask, INTRL2_CPU_MASK_SET); \
178 priv->irq##which##_mask |= (mask); \
/drivers/bus/
Dda8xx-mstpri.c148 int which; member
168 .which = DA8XX_MSTPRI_LCDC,
172 .which = DA8XX_MSTPRI_EDMA30TC1,
176 .which = DA8XX_MSTPRI_EDMA30TC0,
231 prio_descr = &da8xx_mstpri_priority_list[prio->which]; in da8xx_mstpri_probe()
/drivers/gpu/drm/i915/
Di915_irq.h53 #define GEN8_IRQ_RESET_NDX(uncore, type, which) \ argument
55 unsigned int which_ = which; \
63 #define GEN8_IRQ_INIT_NDX(uncore, type, which, imr_val, ier_val) \ argument
65 unsigned int which_ = which; \
/drivers/gpu/drm/bridge/synopsys/
DKconfig17 Support the AHB Audio interface which is part of the Synopsys
27 Support the I2S Audio interface which is part of the Synopsys
37 Support the GP Audio interface which is part of the Synopsys
46 Support the CE interface which is part of the Synopsys
/drivers/staging/media/imx/
Dimx-media-csi.c915 if (fi->which != V4L2_SUBDEV_FORMAT_ACTIVE) in csi_get_frame_interval()
942 if (fi->which != V4L2_SUBDEV_FORMAT_ACTIVE) in csi_set_frame_interval()
1164 unsigned int pad, enum v4l2_subdev_format_whence which) in __csi_get_fmt() argument
1166 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csi_get_fmt()
1174 enum v4l2_subdev_format_whence which) in __csi_get_crop() argument
1176 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csi_get_crop()
1184 enum v4l2_subdev_format_whence which) in __csi_get_compose() argument
1186 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csi_get_compose()
1244 infmt = __csi_get_fmt(priv, sd_state, CSI_SINK_PAD, code->which); in csi_enum_mbus_code()
1306 crop = __csi_get_crop(priv, sd_state, fse->which); in csi_enum_frame_size()
[all …]
Dimx-ic-prp.c83 unsigned int pad, enum v4l2_subdev_format_whence which) in __prp_get_fmt() argument
85 if (which == V4L2_SUBDEV_FORMAT_TRY) in __prp_get_fmt()
117 code->which); in prp_enum_mbus_code()
141 fmt = __prp_get_fmt(priv, sd_state, sdformat->pad, sdformat->which); in prp_get_fmt()
173 infmt = __prp_get_fmt(priv, sd_state, PRP_SINK_PAD, sdformat->which); in prp_set_fmt()
203 fmt = __prp_get_fmt(priv, sd_state, sdformat->pad, sdformat->which); in prp_set_fmt()
406 if (fi->which != V4L2_SUBDEV_FORMAT_ACTIVE) in prp_get_frame_interval()
429 if (fi->which != V4L2_SUBDEV_FORMAT_ACTIVE) in prp_set_frame_interval()
/drivers/staging/media/starfive/camss/
Dstf-isp.c162 sel.which = fmt->which; in isp_set_format()
257 crop.which = sel->which; in isp_set_selection()
274 fmt.which = sel->which; in isp_set_selection()
292 .which = V4L2_SUBDEV_FORMAT_ACTIVE, in isp_init_formats()
/drivers/xen/xen-pciback/
Dconf_space_header.c23 int which; member
140 bar->which = 1; in rom_write()
148 bar->which = 0; in rom_write()
182 bar->which = 1; in bar_write()
190 bar->which = 0; in bar_write()
205 *value = bar->which ? bar->len_val : bar->val; in bar_read()
251 bar->which = 0; in bar_reset()
/drivers/gnss/
DKconfig24 Say Y here if you have a Mediatek-based GNSS receiver which uses a
36 Say Y here if you have a SiRFstar-based GNSS receiver which uses a
49 Say Y here if you have a u-blox GNSS receiver which uses a serial
61 Say Y here if you have a GNSS receiver which uses a USB interface.
/drivers/net/ppp/
DKconfig24 synchronous PPP which can be used over digital ISDN lines for
42 Support for the BSD-Compress compression method for PPP, which uses
63 Support for the Deflate compression method for PPP, which uses the
77 PPP interfaces. This allows you to control which packets count as
78 activity (i.e. which packets will reset the idle timer or bring up
79 a demand-dialed link) and which packets are to be dropped entirely.
102 PPP multilink is a protocol (defined in RFC 1990) which allows you
107 version of the pppd daemon which understands the multilink protocol.
117 which can lead to bad results if the ATM peer loses state and
129 which contains instruction on how to use this driver (under

12345678910>>...28