/linux-master/arch/x86/kernel/ |
H A D | module.c | 278 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 D | ucsi_ccg.c | 404 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 D | ucsi.c | 298 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 D | cros_typec_switch.c | 51 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 D | power7-pmu.c | 158 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 D | power5+-pmu.c | 274 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 D | security.c | 135 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 D | typec_retimer.h | 15 struct typec_altmode *alt; member in struct:typec_retimer_state
|
/linux-master/arch/x86/include/asm/ |
H A D | vdso.h | 17 unsigned long alt, alt_len; member in struct:vdso_image
|
/linux-master/arch/riscv/kernel/ |
H A D | cpufeature.c | 765 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 D | vmlinux.lds.S | 41 *(.alt.smp.init) 113 *(.alt.smp.init)
|
/linux-master/drivers/usb/core/ |
H A D | message.c | 649 * 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 D | config.c | 229 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 D | stv06xx.c | 274 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 D | stk1160-v4l.c | 163 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 D | ati_remote2.c | 802 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 D | cx231xx-core.c | 37 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 D | vivid-radio-common.c | 62 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 D | dtlb_prot.S | 21 rdpr %pstate, %g5 ! Move into alt-globals
|
/linux-master/include/linux/ |
H A D | usb.h | 103 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 D | gspca.c | 498 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 D | konica.c | 173 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 D | xusbatm.c | 40 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 D | va_layout.c | 154 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 D | pinctrl-stm32.h | 72 int pin, u32 *mode, u32 *alt);
|