Searched refs:alt (Results 26 - 50 of 188) sorted by relevance

12345678

/linux-master/arch/x86/kernel/
H A Dmodule.c278 const Elf_Shdr *s, *alt = NULL, *locks = NULL, local
286 alt = s;
329 if (alt) {
331 void *aseg = (void *)alt->sh_addr;
332 apply_alternatives(aseg, aseg + alt->sh_size);
334 if (calls || alt) {
342 if (alt) {
343 cs.alt_start = (void *)alt->sh_addr;
344 cs.alt_end = (void *)alt->sh_addr + alt
[all...]
/linux-master/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c404 struct ucsi_ccg_altmode *alt, *new_alt; local
408 alt = uc->orig;
418 alt[i].svid = orig[i].svid;
419 alt[i].mid = orig[i].mid;
420 if (!alt[i].svid)
425 if (!alt[i].svid)
429 if (alt[i].checked)
432 if (!DP_CONF_GET_PIN_ASSIGN(alt[i].mid)) {
434 new_alt[k].svid = alt[i].svid;
435 new_alt[k].mid |= alt[
480 struct typec_altmode *alt = NULL; local
540 ucsi_ccg_nvidia_altmode(struct ucsi_ccg *uc, struct ucsi_altmode *alt) argument
565 struct ucsi_altmode *alt; local
[all...]
H A Ducsi.c298 static int ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) argument
303 for (i = 0; alt[i]; i++) {
307 if (alt[i]->svid == svid)
314 static int ucsi_next_altmode(struct typec_altmode **alt) argument
319 if (!alt[i])
325 static int ucsi_get_num_altmode(struct typec_altmode **alt) argument
330 if (!alt[i])
340 struct typec_altmode *alt; local
363 alt = ucsi_register_displayport(con, override, i, desc);
367 alt
447 struct ucsi_altmode alt; local
522 struct ucsi_altmode alt[2]; local
[all...]
/linux-master/drivers/platform/chrome/
H A Dcros_typec_switch.c51 static int cros_typec_get_mux_state(unsigned long mode, struct typec_altmode *alt) argument
60 } else if (alt && alt->svid == USB_TYPEC_DP_SID) {
109 unsigned long mode, struct typec_altmode *alt)
116 ret = cros_typec_get_mux_state(mode, alt);
157 return cros_typec_configure_mux(port->sdata, port->port_num, 0, state->mode, state->alt);
165 return cros_typec_configure_mux(port->sdata, port->port_num, 1, state->mode, state->alt);
108 cros_typec_configure_mux(struct cros_typec_switch_data *sdata, int port_num, int index, unsigned long mode, struct typec_altmode *alt) argument
/linux-master/arch/powerpc/perf/
H A Dpower7-pmu.c158 static int power7_get_alternatives(u64 event, unsigned int flags, u64 alt[]) argument
163 alt[0] = event;
170 alt[nalt++] = ae;
175 alt[nalt++] = ae;
188 switch (alt[i]) {
190 alt[j++] = 0x600f4; /* PM_RUN_CYC */
193 alt[j++] = 0x1e;
196 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */
199 alt[j++] = 0x2; /* PM_PPC_CMPL */
H A Dpower5+-pmu.c274 static int power5p_get_alternatives(u64 event, unsigned int flags, u64 alt[]) argument
280 alt[0] = event;
288 alt[nalt++] = ae;
294 alt[nalt++] = ae;
310 switch (alt[i]) {
312 alt[j++] = 0x600005; /* PM_RUN_CYC */
316 alt[j++] = 0xf;
319 alt[j++] = 0x500009; /* PM_RUN_INST_CMPL */
323 alt[j++] = 0x100009; /* PM_INST_CMPL */
324 alt[
[all...]
/linux-master/drivers/infiniband/core/
H A Dsecurity.c135 if (pps->alt.state != IB_PORT_PKEY_NOT_VALID) {
136 ret = get_pkey_and_subnet_prefix(&pps->alt,
358 new_pps->alt.port_num = qp_attr->alt_port_num;
359 new_pps->alt.pkey_index = qp_attr->alt_pkey_index;
360 new_pps->alt.state = IB_PORT_PKEY_VALID;
362 new_pps->alt.port_num = qp_pps->alt.port_num;
363 new_pps->alt.pkey_index = qp_pps->alt.pkey_index;
364 if (qp_pps->alt
[all...]
/linux-master/include/linux/usb/
H A Dtypec_retimer.h15 struct typec_altmode *alt; member in struct:typec_retimer_state
/linux-master/arch/x86/include/asm/
H A Dvdso.h17 unsigned long alt, alt_len; member in struct:vdso_image
/linux-master/arch/riscv/kernel/
H A Dcpufeature.c765 struct alt_entry *alt; local
772 for (alt = begin; alt < end; alt++) {
773 if (alt->vendor_id != 0)
776 id = PATCH_ID_CPUFEATURE_ID(alt->patch_id);
786 value = PATCH_ID_CPUFEATURE_VALUE(alt->patch_id);
790 oldptr = ALT_OLD_PTR(alt);
791 altptr = ALT_ALT_PTR(alt);
794 patch_text_nosync(oldptr, altptr, alt
[all...]
/linux-master/arch/arm/kernel/
H A Dvmlinux.lds.S41 *(.alt.smp.init)
113 *(.alt.smp.init)
/linux-master/drivers/usb/core/
H A Dmessage.c649 * configuration or interface alt setting is selected.
1245 struct usb_host_interface *alt = intf->cur_altsetting; local
1251 for (i = 0; i < alt->desc.bNumEndpoints; ++i)
1252 (void) usb_create_ep_devs(&intf->dev, &alt->endpoint[i], udev);
1259 struct usb_host_interface *alt = intf->cur_altsetting; local
1265 for (i = 0; i < alt->desc.bNumEndpoints; ++i)
1266 usb_remove_ep_devs(&alt->endpoint[i]);
1344 struct usb_host_interface *alt = intf->cur_altsetting; local
1347 for (i = 0; i < alt->desc.bNumEndpoints; ++i) {
1349 alt
1480 struct usb_host_interface *alt = intf->cur_altsetting; local
1530 struct usb_host_interface *alt; local
1742 struct usb_host_interface *alt; local
1825 const struct usb_host_interface *alt; local
2104 struct usb_host_interface *alt; local
[all...]
H A Dconfig.c229 struct usb_host_interface *alt; local
236 alt = &intfc->altsetting[j];
238 if (alt->desc.bInterfaceNumber == inum &&
239 alt->desc.bAlternateSetting != asnum)
242 for (k = 0; k < alt->desc.bNumEndpoints; ++k) {
243 epd = &alt->endpoint[k].desc;
490 struct usb_host_interface *alt = &intfc->altsetting[j]; local
492 kfree(alt->endpoint);
493 kfree(alt->string);
506 struct usb_host_interface *alt; local
[all...]
/linux-master/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx.c274 struct usb_host_interface *alt; local
279 alt = usb_altnum_to_altsetting(intf, sd->gspca_dev.alt);
280 if (!alt) {
285 if (alt->desc.bNumEndpoints < 1)
288 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
313 struct usb_host_interface *alt; local
321 alt = &intfc->altsetting[1];
323 if (alt->desc.bNumEndpoints < 1)
327 alt
336 struct usb_host_interface *alt; local
[all...]
/linux-master/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c163 int i, prev_alt = dev->alt;
174 /* stop when the selected alt setting offers enough bandwidth */
176 dev->alt = i;
183 dev->alt_max_pkt_size[dev->alt])
184 dev->alt = i;
187 stk1160_dbg("setting alternate %d\n", dev->alt);
189 if (dev->alt != prev_alt) {
190 stk1160_dbg("minimum isoc packet size: %u (alt=%d)\n",
191 min_pkt_size, dev->alt);
192 stk1160_dbg("setting alt
[all...]
/linux-master/drivers/input/misc/
H A Dati_remote2.c802 struct usb_host_interface *alt = interface->cur_altsetting; local
806 if (alt->desc.bInterfaceNumber)
816 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) {
823 ar2->ep[0] = &alt->endpoint[0].desc;
839 alt = ar2->intf[1]->cur_altsetting;
840 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) {
846 ar2->ep[1] = &alt->endpoint[0].desc;
893 struct usb_host_interface *alt local
916 struct usb_host_interface *alt = interface->cur_altsetting; local
940 struct usb_host_interface *alt = interface->cur_altsetting; local
966 struct usb_host_interface *alt = interface->cur_altsetting; local
997 struct usb_host_interface *alt = interface->cur_altsetting; local
1017 struct usb_host_interface *alt = interface->cur_altsetting; local
[all...]
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx-core.c37 static int alt = CX231XX_PINOUT; variable
38 module_param(alt, int, 0644);
39 MODULE_PARM_DESC(alt, "alternate setting to use for video endpoint");
456 int errCode, prev_alt = dev->video_mode.alt;
469 dev->video_mode.alt = 3;
472 dev->video_mode.alt = 2;
475 dev->video_mode.alt = 1;
478 dev->video_mode.alt = 0;
482 dev->video_mode.alt = 0;
484 cx231xx_coredbg("dev->video_mode.alt
514 cx231xx_set_alt_setting(struct cx231xx *dev, u8 index, u8 alt) argument
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-radio-common.c62 bool alt = dev->radio_rx_rds_use_alternates; local
83 dev->radio_tx_rds_radiotext->p_cur.p_char + alt * 64,
87 vivid_rds_gen_fill(rds, dev->radio_rx_freq, alt);
/linux-master/arch/sparc/kernel/
H A Ddtlb_prot.S21 rdpr %pstate, %g5 ! Move into alt-globals
/linux-master/include/linux/
H A Dusb.h103 usb_find_common_endpoints(struct usb_host_interface *alt,
110 usb_find_common_endpoints_reverse(struct usb_host_interface *alt,
117 usb_find_bulk_in_endpoint(struct usb_host_interface *alt, argument
120 return usb_find_common_endpoints(alt, bulk_in, NULL, NULL, NULL);
124 usb_find_bulk_out_endpoint(struct usb_host_interface *alt, argument
127 return usb_find_common_endpoints(alt, NULL, bulk_out, NULL, NULL);
131 usb_find_int_in_endpoint(struct usb_host_interface *alt, argument
134 return usb_find_common_endpoints(alt, NULL, NULL, int_in, NULL);
138 usb_find_int_out_endpoint(struct usb_host_interface *alt, argument
141 return usb_find_common_endpoints(alt, NUL
145 usb_find_last_bulk_in_endpoint(struct usb_host_interface *alt, struct usb_endpoint_descriptor **bulk_in) argument
152 usb_find_last_bulk_out_endpoint(struct usb_host_interface *alt, struct usb_endpoint_descriptor **bulk_out) argument
159 usb_find_last_int_in_endpoint(struct usb_host_interface *alt, struct usb_endpoint_descriptor **int_in) argument
166 usb_find_last_int_out_endpoint(struct usb_host_interface *alt, struct usb_endpoint_descriptor **int_out) argument
[all...]
/linux-master/drivers/media/usb/gspca/
H A Dgspca.c498 if (gspca_dev->alt == 0)
502 pr_err("set alt 0 err %d\n", ret);
512 static struct usb_host_endpoint *alt_xfer(struct usb_host_interface *alt, argument
518 for (i = 0; i < alt->desc.bNumEndpoints; i++) {
519 ep = &alt->endpoint[i];
569 u32 alt; member in struct:ep_tb_s
602 pr_err("alt %d iso endp with 0 interval\n", j);
616 ep_tb->alt = j;
622 gspca_dbg(gspca_dev, D_STREAM, "alt %d bandwidth %d\n",
623 ep_tb->alt, ep_t
762 int n, ret, xfer, alt, alt_idx; local
[all...]
H A Dkonica.c173 struct usb_host_interface *alt; local
177 alt = usb_altnum_to_altsetting(intf, sd->gspca_dev.alt);
178 if (!alt) {
183 if (alt->desc.bNumEndpoints < 2)
186 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
204 le16_to_cpu(alt->endpoint[i].desc.wMaxPacketSize);
/linux-master/drivers/usb/atm/
H A Dxusbatm.c40 struct usb_host_interface *alt; local
45 if ((intf = usb_dev->actconfig->interface[i]) && (alt = usb_altnum_to_altsetting(intf, altsetting)))
46 for (j = 0; j < alt->desc.bNumEndpoints; j++)
47 if (alt->endpoint[j].desc.bEndpointAddress == ep)
90 " rx: ep %02x padd %d alt %2d tx: ep %02x padd %d alt %2d\n",
/linux-master/arch/arm64/kvm/
H A Dva_layout.c154 void __init kvm_update_va_mask(struct alt_instr *alt, argument
188 void kvm_patch_vector_branch(struct alt_instr *alt, argument
287 void kvm_get_kimage_voffset(struct alt_instr *alt, argument
293 void kvm_compute_final_ctr_el0(struct alt_instr *alt, argument
/linux-master/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.h72 int pin, u32 *mode, u32 *alt);

Completed in 323 milliseconds

12345678