Searched refs:alt (Results 51 - 75 of 188) sorted by relevance

12345678

/linux-master/drivers/pinctrl/bcm/
H A Dpinctrl-nsp-mux.c44 * @alt: alternate function to set to
50 unsigned int alt; member in struct:nsp_mux
230 .alt = al, \
406 if (mux_log[i].mux.alt != mux->alt) {
420 mux_log[i].mux.alt = mux->alt;
443 val |= grp->mux.alt << grp->mux.shift;
467 dev_dbg(pctrl_dev->dev, "shift:%u alt:%u\n", grp->mux.shift,
468 grp->mux.alt);
[all...]
H A Dpinctrl-ns2-mux.c48 * @alt: alternate function to set to
55 unsigned int alt; member in struct:ns2_mux
376 .alt = al, \
590 if (mux_log[i].mux.alt != mux->alt) {
604 mux_log[i].mux.alt = mux->alt;
623 val |= grp->mux.alt << grp->mux.shift;
647 dev_dbg(pctrl_dev->dev, "offset:0x%08x shift:%u alt:%u\n",
648 grp->mux.offset, grp->mux.shift, grp->mux.alt);
[all...]
/linux-master/drivers/media/i2c/
H A Dov9640.c372 struct ov9640_reg_alt *alt)
377 alt->com12 = OV9640_COM12_YUV_AVG;
378 alt->com13 = OV9640_COM13_Y_DELAY_EN |
382 alt->com7 = OV9640_COM7_RGB;
383 alt->com13 = OV9640_COM13_RGB_AVG;
384 alt->com15 = OV9640_COM15_RGB_555;
387 alt->com7 = OV9640_COM7_RGB;
388 alt->com13 = OV9640_COM13_RGB_AVG;
389 alt->com15 = OV9640_COM15_RGB_565;
371 ov9640_alter_regs(u32 code, struct ov9640_reg_alt *alt) argument
/linux-master/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_pb0100.c178 struct usb_host_interface *alt; local
185 alt = usb_altnum_to_altsetting(intf, sd->gspca_dev.alt);
186 if (!alt)
189 if (alt->desc.bNumEndpoints < 1)
192 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
/linux-master/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h216 * layer autoconf doesn't choose the usb_ep endpoint on (config, interface, alt)
221 * the udc talks on (config=3, interface=0, alt=0)
223 * the udc talks on (config=3, interface=0, alt=1)
225 * the udc talks on (config=2, interface=0, alt=0)
272 #define PXA_EP_BULK(_idx, addr, dir, config, iface, alt) \
274 config, iface, alt)
275 #define PXA_EP_ISO(_idx, addr, dir, config, iface, alt) \
277 config, iface, alt)
278 #define PXA_EP_INT(_idx, addr, dir, config, iface, alt) \
280 config, iface, alt)
[all...]
/linux-master/drivers/usb/misc/
H A Dusbtest.c19 module_param_named(alt, override_alt, int, 0644);
20 MODULE_PARM_DESC(alt, ">= 0 to override altsetting selection");
84 int alt; member in struct:usbtest_info
146 struct usb_host_interface *alt; local
158 alt = intf->altsetting + tmp;
161 override_alt != alt->desc.bAlternateSetting)
167 for (ep = 0; ep < alt->desc.bNumEndpoints; ep++) {
171 e = alt->endpoint + ep;
197 dev->info->alt = alt
830 int i, alt, retval; local
[all...]
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-audio.c243 if (!dev->alt || dev->is_audio_only) {
250 dev->alt = 1;
253 dev->alt = 7;
256 * the alt setting with the largest
258 * At least dev->alt should be used instead, but
264 dev->ifnum, dev->alt);
265 usb_set_interface(udev, dev->ifnum, dev->alt);
665 u8 alt; local
668 alt = 1;
670 alt
[all...]
/linux-master/arch/powerpc/perf/
H A Disa207-common.c755 int isa207_get_alternatives(u64 event, u64 alt[], int size, unsigned int flags, argument
761 alt[num_alt++] = event;
764 /* Filter out the original event, it's already in alt[0] */
768 alt[num_alt++] = alt_event;
779 switch (alt[i]) {
781 alt[j++] = 0x600f4; /* PM_RUN_CYC */
784 alt[j++] = 0x1e;
787 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */
790 alt[j++] = 0x2;
H A Dppc970-pmu.c244 static int p970_get_alternatives(u64 event, unsigned int flags, u64 alt[]) argument
246 alt[0] = event;
250 alt[1] = event ^ 0x1000;
/linux-master/arch/arm/boot/dts/renesas/
H A DMakefile30 r8a7794-alt.dtb \
/linux-master/scripts/dtc/include-prefixes/arm/renesas/
H A DMakefile30 r8a7794-alt.dtb \
/linux-master/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.c165 u32 mode, u32 alt)
170 bank->pin_backup[offset] |= alt << STM32_GPIO_BKP_ALT_SHIFT;
266 u32 mode, alt; local
268 stm32_pmx_get_mode(bank, pin, &mode, &alt);
269 if ((alt == 0) && (mode == 0))
271 else if ((alt == 0) && (mode == 1))
758 int pin, u32 mode, u32 alt)
780 val |= (alt << alt_shift);
791 stm32_gpio_backup_mode(bank, pin, mode, alt);
800 u32 *alt)
164 stm32_gpio_backup_mode(struct stm32_gpio_bank *bank, u32 offset, u32 mode, u32 alt) argument
757 stm32_pmx_set_mode(struct stm32_gpio_bank *bank, int pin, u32 mode, u32 alt) argument
799 stm32_pmx_get_mode(struct stm32_gpio_bank *bank, int pin, u32 *mode, u32 *alt) argument
829 u32 mode, alt; local
1191 u32 mode, alt, drive, speed, bias; local
1664 u32 val, alt, mode, offset = stm32_gpio_pin(pin); local
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dmpc5121.h56 u32 alt; /* Address Latch Timing Register */ member in struct:mpc512x_lpc
/linux-master/include/linux/usb/
H A Dtypec_mux.h46 struct typec_altmode *alt; member in struct:typec_mux_state
/linux-master/drivers/ata/
H A Dpata_sc1200.c180 struct ata_port *alt = host->ports[1 ^ qc->ap->port_no]; local
190 if (alt && alt->qc_active)
H A Dpata_sl82c105.c215 struct ata_port *alt = host->ports[1 ^ qc->ap->port_no]; local
225 if (alt && alt->qc_active)
H A Dpata_artop.c280 struct ata_port *alt = host->ports[1 ^ qc->ap->port_no]; local
290 if (alt && alt->qc_active)
/linux-master/drivers/usb/gadget/function/
H A Df_obex.c189 static int obex_set_alt(struct usb_function *f, unsigned intf, unsigned alt) argument
195 if (alt != 0)
202 if (alt > 1)
224 if (alt == 1) {
233 obex->cur_alt = alt;
H A Df_phonet.c397 static int pn_set_alt(struct usb_function *f, unsigned intf, unsigned alt) argument
404 return (alt > 0) ? -EINVAL : 0;
411 if (alt > 1)
419 if (alt == 1) {
456 u8 alt; local
459 alt = port->usb != NULL;
461 return alt;
/linux-master/arch/arm64/kernel/
H A Dproton-pack.c568 void __init spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, argument
588 void __init smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, argument
1064 void noinstr spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, argument
1075 void noinstr spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, argument
1086 void noinstr spectre_bhb_patch_loop_iter(struct alt_instr *alt, argument
1107 void noinstr spectre_bhb_patch_wa3(struct alt_instr *alt, argument
1133 void __init spectre_bhb_patch_clearbhb(struct alt_instr *alt, argument
/linux-master/drivers/infiniband/hw/mlx4/
H A Dqp.c768 qp->alt.vid = 0xFFFF;
1417 if (qp->alt.smac) {
1418 mlx4_unregister_mac(dev->dev, qp->alt.smac_port, qp->alt.smac);
1419 qp->alt.smac = 0;
1427 if (qp->alt.vid < 0x1000) {
1428 mlx4_unregister_vlan(dev->dev, qp->alt.vlan_port, qp->alt.vid);
1429 qp->alt.vid = 0xFFFF;
1430 qp->alt
[all...]
/linux-master/drivers/media/usb/b2c2/
H A Dflexcop-usb.c428 struct usb_host_interface *alt = fc_usb->uintf->cur_altsetting; local
433 frame_size = usb_endpoint_maxp(&alt->endpoint[0].desc);
506 struct usb_host_interface *alt; local
516 alt = fc_usb->uintf->cur_altsetting;
518 if (alt->desc.bNumEndpoints < 1)
520 if (!usb_endpoint_is_isoc_in(&alt->endpoint[0].desc))
/linux-master/drivers/soc/qcom/
H A Dpmic_glink_altmode.c157 port->state.alt = &port->dp_alt;
165 port->retimer_state.alt = &port->dp_alt;
179 port->state.alt = NULL;
187 port->retimer_state.alt = NULL;
201 port->state.alt = NULL;
209 port->retimer_state.alt = NULL;
/linux-master/drivers/usb/core/
H A Dusb.c120 * @alt: alternate setting to search
135 int usb_find_common_endpoints(struct usb_host_interface *alt, argument
153 for (i = 0; i < alt->desc.bNumEndpoints; ++i) {
154 epd = &alt->endpoint[i].desc;
166 * @alt: alternate setting to search
181 int usb_find_common_endpoints_reverse(struct usb_host_interface *alt, argument
199 for (i = alt->desc.bNumEndpoints - 1; i >= 0; --i) {
200 epd = &alt->endpoint[i].desc;
293 * Search the configuration's interface cache for the given alt setting.
320 printk(KERN_DEBUG "Did not find alt settin
[all...]
/linux-master/arch/loongarch/kernel/
H A Dmodule.c520 const Elf_Shdr *s, *alt = NULL, *orc = NULL, *orc_ip = NULL, *ftrace = NULL; local
524 alt = s;
533 if (alt)
534 apply_alternatives((void *)alt->sh_addr, (void *)alt->sh_addr + alt->sh_size);

Completed in 323 milliseconds

12345678