Home
last modified time | relevance | path

Searched refs:mode_data (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c49 u32 mode_data; member
295 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_dp()
296 req.mode_data |= (port->role - 1) << PMC_USB_ALTMODE_UFP_SHIFT; in pmc_usb_mux_dp()
298 req.mode_data |= (state->mode - TYPEC_STATE_MODAL) << in pmc_usb_mux_dp()
308 req.mode_data |= PMC_USB_ALTMODE_CABLE_SPD(cable_speed); in pmc_usb_mux_dp()
311 req.mode_data |= PMC_USB_ALTMODE_CABLE_TYPE; in pmc_usb_mux_dp()
313 req.mode_data |= PMC_USB_ALTMODE_ACTIVE_CABLE | in pmc_usb_mux_dp()
316 req.mode_data |= PMC_USB_ALTMODE_ACTIVE_CABLE; in pmc_usb_mux_dp()
345 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_tbt()
346 req.mode_data |= (port->role - 1) << PMC_USB_ALTMODE_UFP_SHIFT; in pmc_usb_mux_tbt()
[all …]
/linux/net/xfrm/
H A Dxfrm_iptfs.c958 xtfs = x->mode_data; in __input_process_payload()
1227 xtfs = x->mode_data; in iptfs_input_ordered()
1717 struct xfrm_iptfs_data *xtfs = x->mode_data; in iptfs_input()
1834 struct xfrm_iptfs_data *xtfs = x->mode_data; in iptfs_output_collect()
2183 struct xfrm_iptfs_data *xtfs = x->mode_data; in iptfs_output_queued()
2502 struct xfrm_iptfs_data *xtfs = x->mode_data; in iptfs_get_inner_mtu()
2523 struct xfrm_iptfs_data *xtfs = x->mode_data; in iptfs_user_init()
2578 struct xfrm_iptfs_data *xtfs = x->mode_data; in iptfs_sa_len()
2598 struct xfrm_iptfs_data *xtfs = x->mode_data; in iptfs_copy_to_user()
2655 x->mode_data = xtfs; in __iptfs_init_state()
[all …]
H A Dxfrm_state.c759 x->mode_data = NULL; in xfrm_state_alloc()
/linux/drivers/scsi/
H A Dscsi_transport_sas.c1269 struct scsi_mode_data mode_data; in sas_read_port_mode_page() local
1276 &mode_data, NULL); in sas_read_port_mode_page()
1281 msdata = buffer + mode_data.header_length + in sas_read_port_mode_page()
1282 mode_data.block_descriptor_length; in sas_read_port_mode_page()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c602 struct pd_mode_data mode_data; member
1858 memset(&port->mode_data, 0, sizeof(port->mode_data)); in svdm_consume_identity()
1933 &port->mode_data_prime : &port->mode_data; in svdm_consume_svids()
1982 struct pd_mode_data *pmdata = &port->mode_data; in svdm_consume_modes()
1995 pmdata = &port->mode_data; in svdm_consume_modes()
2023 struct pd_mode_data *modep = &port->mode_data; in tcpm_register_partner_altmodes()
2188 modep = &port->mode_data; in tcpm_pd_svdm()
2198 modep = &port->mode_data; in tcpm_pd_svdm()
4863 struct pd_mode_data *modep = &port->mode_data; in tcpm_unregister_altmodes()