Searched refs:role (Results 76 - 100 of 207) sorted by relevance

123456789

/linux-master/arch/arm/mach-omap2/
H A Domap_hwmod_2420_data.c151 { .role = "pad_fck", .clk = "mcbsp_clks" },
152 { .role = "prcm_fck", .clk = "func_96m_ck" },
H A Domap_hwmod_2xxx_ipblock_data.c411 { .role = "tv_clk", .clk = "dss_54m_fck" },
412 { .role = "sys_clk", .clk = "dss2_fck" },
445 { .role = "ick", .clk = "dss_ick" },
H A Domap_hwmod_81xx_data.c474 { .role = "dbclk", .clk = "sysclk18_ck" },
500 { .role = "dbclk", .clk = "sysclk18_ck" },
526 { .role = "dbclk", .clk = "sysclk18_ck" },
552 { .role = "dbclk", .clk = "sysclk18_ck" },
915 { .role = "dbck", .clk = "sysclk18_ck", },
/linux-master/drivers/scsi/csiostor/
H A Dcsio_attr.c55 * If remote port is Initiator OR Target OR both, change the role appropriately.
72 if (rn->role & CSIO_RNFR_INITIATOR || rn->role & CSIO_RNFR_TARGET) {
98 if (rn->role & CSIO_RNFR_INITIATOR)
100 if (rn->role & CSIO_RNFR_TARGET)
108 csio_ln_dbg(ln, "Remote port x%x role 0x%x registered\n",
126 rn->role &= ~(CSIO_RNFR_INITIATOR | CSIO_RNFR_TARGET);
/linux-master/drivers/usb/typec/
H A Dpd.c417 if (is_source(cap->role))
424 if (is_source(cap->role))
492 cap->role = desc->role;
496 dev_set_name(&cap->dev, "%s", cap_name[cap->role]);
/linux-master/drivers/net/
H A Dgtp.c81 unsigned int role; member in struct:gtp_dev
230 unsigned int hdrlen, unsigned int role)
239 if (role == GTP_ROLE_SGSN)
246 unsigned int hdrlen, unsigned int role)
260 if (role == GTP_ROLE_SGSN) {
273 unsigned int hdrlen, unsigned int role,
278 return gtp_check_ms_ipv4(skb, pctx, hdrlen, role);
280 return gtp_check_ms_ipv6(skb, pctx, hdrlen, role);
310 unsigned int hdrlen, unsigned int role, __u16 inner_proto)
312 if (!gtp_check_ms(skb, pctx, hdrlen, role, inner_prot
229 gtp_check_ms_ipv4(struct sk_buff *skb, struct pdp_ctx *pctx, unsigned int hdrlen, unsigned int role) argument
245 gtp_check_ms_ipv6(struct sk_buff *skb, struct pdp_ctx *pctx, unsigned int hdrlen, unsigned int role) argument
272 gtp_check_ms(struct sk_buff *skb, struct pdp_ctx *pctx, unsigned int hdrlen, unsigned int role, __u16 inner_proto) argument
309 gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb, unsigned int hdrlen, unsigned int role, __u16 inner_proto) argument
1464 unsigned int role = GTP_ROLE_GGSN; local
[all...]
/linux-master/net/bluetooth/
H A Dhci_conn.c190 if (conn->type == ACL_LINK && conn->role == HCI_ROLE_MASTER &&
655 if (conn->role == HCI_ROLE_SLAVE) {
825 if (conn->role == HCI_ROLE_MASTER) {
903 u8 role, u16 handle)
944 conn->role = role;
962 if (conn->role == HCI_ROLE_MASTER)
982 else if (conn->role == HCI_ROLE_MASTER)
1034 bdaddr_t *dst, u8 role)
1044 return hci_conn_add(hdev, type, dst, role, handl
902 hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst, u8 role, u16 handle) argument
1033 hci_conn_add_unset(struct hci_dev *hdev, int type, bdaddr_t *dst, u8 role) argument
1291 hci_connect_le(struct hci_dev *hdev, bdaddr_t *dst, u8 dst_type, bool dst_resolved, u8 sec_level, u16 conn_timeout, u8 role, u8 phy, u8 sec_phy) argument
2525 hci_conn_switch_role(struct hci_conn *conn, __u8 role) argument
[all...]
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-input.c514 while (dev->board.buttons[j].role >= 0 &&
515 dev->board.buttons[j].role < EM28XX_NUM_BUTTON_ROLES) {
543 switch (button->role) {
562 WARN_ONCE(1, "BUG: unhandled button role.");
617 while (dev->board.buttons[i].role >= 0 &&
618 dev->board.buttons[i].role < EM28XX_NUM_BUTTON_ROLES) {
635 /* Button role specific checks and actions */
636 if (button->role == EM28XX_BUTTON_SNAPSHOT) {
640 } else if (button->role == EM28XX_BUTTON_ILLUMINATION) {
H A Dem28xx.h451 enum em28xx_led_role role; member in struct:em28xx_led
464 enum em28xx_button_role role; member in struct:em28xx_button
814 enum em28xx_led_role role);
H A Dem28xx-core.c605 enum em28xx_led_role role)
610 while (dev->board.leds[k].role >= 0 &&
611 dev->board.leds[k].role < EM28XX_NUM_LED_ROLES) {
612 if (dev->board.leds[k].role == role)
604 em28xx_find_led(struct em28xx *dev, enum em28xx_led_role role) argument
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c148 role_t role);
263 role_t role, uint32_t status);
448 * of the target role. Since the parameters for a connection
449 * in the initiator role to a given target are the same as
1267 if (devinfo.role == ROLE_INITIATOR) {
2193 u_int *period, u_int *ppr_options, role_t role)
2222 if (role == ROLE_TARGET)
2366 u_int *offset, int wide, role_t role)
2383 if (role == ROLE_TARGET)
2396 u_int *bus_width, role_t role)
2191 ahc_devlimited_syncrate(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument
2363 ahc_validate_offset(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, const struct ahc_syncrate *syncrate, u_int *offset, int wide, role_t role) argument
2395 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument
2748 role_t role; local
2795 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument
2820 role_t role; local
5691 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument
5798 ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahc_search_action action) argument
6266 ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument
[all...]
H A Daic7xxx.h242 * the initiator role to allow multi-scsi-id target mode
244 * ID as our initiator role if we allow initiator operation.
371 * As initialized by the host driver for the initiator role, this area
375 * For the target role, the contents of this area do not change, but
376 * still serve a different purpose than for the initiator role. See
709 * for each initiator<->target mapping. For the initiator role we pretend
711 * negotiation is the same regardless of role.
1098 role_t role; /* member in struct:ahc_devinfo
1149 u_int tag, role_t role);
1174 role_t role, uint32_
[all...]
H A Daic79xx_core.c119 role_t role);
190 role_t role, uint32_t status,
234 role_t role, uint32_t status);
259 u_int tag, role_t role);
568 * of the target role. Since the parameters for a connection
569 * in the initiator role to a given target are the same as
2080 if (devinfo.role == ROLE_INITIATOR) {
3665 u_int *period, u_int *ppr_options, role_t role)
3688 if (role == ROLE_TARGET)
3754 role_t role)
3663 ahd_devlimited_syncrate(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument
3751 ahd_validate_offset(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int period, u_int *offset, int wide, role_t role) argument
3782 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument
4271 role_t role; local
4327 ahd_compile_devinfo(struct ahd_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument
4345 role_t role; local
7946 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument
8100 ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahd_search_action action) argument
8330 ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahd_search_action action, u_int *list_head, u_int *list_tail, u_int tid) argument
8487 ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument
[all...]
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.c134 brcmf_dbg(EVENT, "action: %u ifidx: %u bsscfgidx: %u flags: %u role: %u\n",
136 ifevent->flags, ifevent->role);
139 * firmware tells us. Older firmware uses p2p noif, with sta role.
144 (ifevent->role == BRCMF_E_IF_ROLE_P2P_CLIENT ||
145 ((ifevent->role == BRCMF_E_IF_ROLE_STA) &&
/linux-master/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dpassobj-attributes.c123 static struct kobj_attribute po_role = __ATTR_RO(role);
/linux-master/net/bluetooth/bnep/
H A Dcore.c602 s->role = req->role;
684 ci->role = s->role;
/linux-master/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.c17 #include <linux/usb/role.h>
/linux-master/drivers/usb/chipidea/
H A Ddebug.c127 if (ci->role != CI_ROLE_GADGET) {
161 if (ci->role != CI_ROLE_GADGET) {
/linux-master/drivers/media/tuners/
H A Dtda18271-fe.c53 (priv->role == TDA18271_SLAVE) ?
133 switch (priv->role) {
156 switch (priv->role) {
1191 priv->role = (cfg) ? cfg->role : TDA18271_MASTER;
1303 if (cfg->role)
1304 priv->role = cfg->role;
/linux-master/arch/x86/kvm/mmu/
H A Dspte.h292 return sp->role.ad_disabled;
496 union kvm_mmu_page_role role, int index);
H A Dpaging_tmpl.h545 pte_access = sp->role.access & FNAME(gpte_access)(gpte);
594 if (sp->role.level > PG_LEVEL_4K)
604 if (sp->role.direct)
859 WARN_ON_ONCE(sp->role.level != PG_LEVEL_4K);
862 offset = sp->role.quadrant << SPTE_LEVEL_BITS;
928 pte_access = sp->role.access;
/linux-master/net/smc/
H A Dsmc_core.c89 (!lgr->is_smcd && lgr->role == SMC_CLNT) ?
136 if (conn->lgr->role == SMC_CLNT) {
351 if (nla_put_u8(skb, SMC_NLA_LGR_R_ROLE, lgr->role))
901 lgr->role = smc->listen_smc ? SMC_SERV : SMC_CLNT;
1739 if (lgr->role == SMC_SERV) {
1867 enum smc_lgr_role role, u32 clcqpn,
1874 lgr->role != role)
1885 if ((lgr->role == SMC_SERV || lnk->peer_qpn == clcqpn) &&
1916 enum smc_lgr_role role; local
1863 smcr_lgr_match(struct smc_link_group *lgr, u8 smcr_version, u8 peer_systemid[], u8 peer_gid[], u8 peer_mac_v1[], enum smc_lgr_role role, u32 clcqpn, struct net *net) argument
[all...]
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Dcoex.c3041 (r->role == RTW89_WIFI_ROLE_P2P_GO ||
3042 r->role == RTW89_WIFI_ROLE_P2P_CLIENT)) {
3047 (r1->role == RTW89_WIFI_ROLE_P2P_GO ||
3048 r1->role == RTW89_WIFI_ROLE_P2P_CLIENT)) {
3053 (r2->role == RTW89_WIFI_ROLE_P2P_GO ||
3054 r2->role == RTW89_WIFI_ROLE_P2P_CLIENT)) {
3059 (rlink->role == RTW89_WIFI_ROLE_P2P_GO ||
3060 rlink->role == RTW89_WIFI_ROLE_P2P_CLIENT)) {
3224 #define _tdma_set_flctrl_role(btc, role) ({(btc)->dm.tdma.rxflctrl_role = role; })
6010 _get_role_link_mode(u8 role) argument
6039 _chk_dbcc(struct rtw89_dev *rtwdev, struct rtw89_btc_chdef *ch, u8 *phy, u8 *role, u8 *dbcc_2g_phy) argument
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Drenesas_usb3.c29 #include <linux/usb/role.h>
351 enum usb_role role; member in struct:renesas_usb3
720 usb_role_switch_set_role(usb3->role_sw, usb3->role);
744 usb3->role = host ? USB_ROLE_HOST : USB_ROLE_DEVICE;
2450 enum usb_role role)
2456 switch (role) {
2518 enum usb_role role)
2524 if (cur_role == USB_ROLE_HOST && role == USB_ROLE_DEVICE) {
2527 } else if (cur_role == USB_ROLE_DEVICE && role == USB_ROLE_HOST) {
2537 enum usb_role role)
2449 handle_ext_role_switch_states(struct device *dev, enum usb_role role) argument
2517 handle_role_switch_states(struct device *dev, enum usb_role role) argument
2536 renesas_usb3_role_switch_set(struct usb_role_switch *sw, enum usb_role role) argument
2544 handle_ext_role_switch_states(usb3_to_dev(usb3), role); local
2546 handle_role_switch_states(usb3_to_dev(usb3), role); local
[all...]
/linux-master/net/batman-adv/
H A Dtp_meter.c814 if (unlikely(tp_vars->role != BATADV_TP_SENDER)) {
984 tp_vars->role = BATADV_TP_SENDER;
1351 tp_vars->role = BATADV_TP_RECEIVER;
1413 if (unlikely(tp_vars->role != BATADV_TP_RECEIVER)) {
1415 "Meter: dropping packet: not expected (role=%u)\n",
1416 tp_vars->role);

Completed in 665 milliseconds

123456789