Home
last modified time | relevance | path

Searched refs:if_type (Results 1 – 36 of 36) sorted by relevance

/linux-4.4.14/drivers/net/wan/lmc/
Dlmc_proto.c53 if (sc->if_type == LMC_NET) { in lmc_proto_attach()
68 if (sc->if_type == LMC_PPP) in lmc_proto_ioctl()
79 if (sc->if_type == LMC_PPP) { in lmc_proto_open()
94 if (sc->if_type == LMC_PPP) in lmc_proto_close()
103 switch(sc->if_type){ in lmc_proto_type()
125 switch(sc->if_type){ in lmc_proto_netif()
Dlmc_var.h349 u16 if_type; /* HDLC/PPP or NET */ member
Dlmc_main.c171 u16 old_type = sc->if_type; in lmc_ioctl()
194 sc->if_type = new_type; in lmc_ioctl()
866 sc->if_type = LMC_PPP; in lmc_init_one()
/linux-4.4.14/drivers/media/platform/davinci/
Ddm644x_ccdc.c57 enum vpfe_hw_if_type if_type; member
336 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_open()
352 if (ccdc_cfg.if_type != VPFE_RAW_BAYER) in ccdc_set_params()
406 if (ccdc_cfg.if_type == VPFE_BT656_10BIT) in ccdc_config_ycbcr()
428 if (ccdc_cfg.if_type == VPFE_BT656_10BIT) in ccdc_config_ycbcr()
687 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_configure()
696 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_set_buftype()
705 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_get_buftype()
713 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) { in ccdc_enum_pix()
729 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) { in ccdc_set_pixel_format()
[all …]
Ddm355_ccdc.c56 enum vpfe_hw_if_type if_type; member
332 if (ccdc_cfg.if_type != VPFE_RAW_BAYER) in ccdc_set_params()
779 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_configure()
788 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_set_buftype()
796 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_get_buftype()
804 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) { in ccdc_enum_pix()
822 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) { in ccdc_set_pixel_format()
843 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_get_pixel_format()
858 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_set_image_window()
867 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_get_image_window()
[all …]
Disif.c86 enum vpfe_hw_if_type if_type; member
708 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_set_buftype()
718 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_get_buftype()
728 if (isif_cfg.if_type == VPFE_RAW_BAYER) { in isif_enum_pix()
745 if (isif_cfg.if_type == VPFE_RAW_BAYER) { in isif_set_pixel_format()
779 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_get_pixel_format()
796 if (isif_cfg.if_type == VPFE_RAW_BAYER) { in isif_set_image_window()
812 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_get_image_window()
822 if (isif_cfg.if_type == VPFE_RAW_BAYER) { in isif_get_line_length()
837 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_set_frame_format()
[all …]
Dvpif_capture.c518 if (ch->vpifparams.iface.if_type == VPIF_IF_RAW_BAYER) in vpif_update_std_info()
606 return (iface->if_type == VPIF_IF_RAW_BAYER) ? V4L2_FIELD_NONE : in vpif_get_default_field()
912 if (ch->vpifparams.iface.if_type == VPIF_IF_RAW_BAYER) { in vpif_enum_fmt_vid_cap()
943 if (vpif_params->iface.if_type == VPIF_IF_RAW_BAYER) { in vpif_try_fmt_vid_cap()
/linux-4.4.14/drivers/media/platform/am437x/
Dam437x-vpfe.h59 enum vpfe_hw_if_type if_type; member
209 enum vpfe_hw_if_type if_type; member
Dam437x-vpfe.c502 if (ccdc->ccdc_cfg.if_type != VPFE_RAW_BAYER) in vpfe_ccdc_set_params()
559 if (ccdc->ccdc_cfg.if_type == VPFE_BT656_10BIT) in vpfe_ccdc_config_ycbcr()
582 if (ccdc->ccdc_cfg.if_type == VPFE_BT656_10BIT) in vpfe_ccdc_config_ycbcr()
745 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_set_buftype()
755 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_get_buftype()
766 ccdc->ccdc_cfg.if_type, print_fourcc(pixfmt)); in vpfe_ccdc_set_pixel_format()
768 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) { in vpfe_ccdc_set_pixel_format()
814 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) { in vpfe_ccdc_get_pixel_format()
830 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) { in vpfe_ccdc_set_image_window()
847 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_get_image_window()
[all …]
/linux-4.4.14/include/media/davinci/
Dvpfe_types.h45 enum vpfe_hw_if_type if_type; member
Dvpbe_venc.h33 int (*setup_pinmux)(u32 if_type, int field);
Dvpif_types.h32 enum vpif_if_type if_type; member
/linux-4.4.14/drivers/bus/
Darm-cci.c364 int if_type; in cci400_validate_hw_event() local
379 if_type = CCI_IF_SLAVE; in cci400_validate_hw_event()
385 if_type = CCI_IF_MASTER; in cci400_validate_hw_event()
391 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event()
392 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event()
566 int if_type; in cci500_validate_hw_event() local
579 if_type = CCI_IF_SLAVE; in cci500_validate_hw_event()
587 if_type = CCI_IF_MASTER; in cci500_validate_hw_event()
590 if_type = CCI_IF_GLOBAL; in cci500_validate_hw_event()
596 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event()
[all …]
/linux-4.4.14/drivers/hv/
Dchannel_mgmt.c256 if (!uuid_le_cmp(channel->offermsg.offer.if_type, in vmbus_process_offer()
257 newchannel->offermsg.offer.if_type) && in vmbus_process_offer()
288 init_vp_index(newchannel, &newchannel->offermsg.offer.if_type); in vmbus_process_offer()
319 &newchannel->offermsg.offer.if_type, in vmbus_process_offer()
Dvmbus_drv.c198 hv_dev->channel->offermsg.offer.if_type.b); in class_id_show()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dp2p.h159 enum brcmf_fil_p2p_if_types if_type);
Dp2p.c1957 enum brcmf_fil_p2p_if_types if_type) in brcmf_p2p_ifchange() argument
1985 if_request.type = cpu_to_le16((u16)if_type); in brcmf_p2p_ifchange()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dcnic.c3189 static void cnic_ulp_stop_one(struct cnic_local *cp, int if_type) in cnic_ulp_stop_one() argument
3193 if (if_type == CNIC_ULP_ISCSI) in cnic_ulp_stop_one()
3197 ulp_ops = rcu_dereference_protected(cp->ulp_ops[if_type], in cnic_ulp_stop_one()
3203 set_bit(ULP_F_CALL_PENDING, &cp->ulp_flags[if_type]); in cnic_ulp_stop_one()
3206 if (test_and_clear_bit(ULP_F_START, &cp->ulp_flags[if_type])) in cnic_ulp_stop_one()
3207 ulp_ops->cnic_stop(cp->ulp_handle[if_type]); in cnic_ulp_stop_one()
3209 clear_bit(ULP_F_CALL_PENDING, &cp->ulp_flags[if_type]); in cnic_ulp_stop_one()
3215 int if_type; in cnic_ulp_stop() local
3217 for (if_type = 0; if_type < MAX_CNIC_ULP_TYPE; if_type++) in cnic_ulp_stop()
3218 cnic_ulp_stop_one(cp, if_type); in cnic_ulp_stop()
[all …]
/linux-4.4.14/drivers/net/wireless/b43legacy/
Db43legacy.h598 int if_type; member
796 wl->if_type == type); in b43legacy_is_mode()
Dmain.c3433 wl->if_type = vif->type; in b43legacy_op_add_interface()
/linux-4.4.14/arch/arm/mach-davinci/
Dboard-dm646x-evm.c679 .if_type = VPIF_IF_BT656,
689 .if_type = VPIF_IF_BT656,
Dboard-dm355-evm.c228 .if_type = VPFE_BT656,
Ddm355.c786 static int dm355_vpbe_setup_pinmux(u32 if_type, int field) in dm355_vpbe_setup_pinmux() argument
788 switch (if_type) { in dm355_vpbe_setup_pinmux()
Dboard-da850-evm.c1236 .if_type = VPIF_IF_BT656,
1246 .if_type = VPIF_IF_BT656,
Dboard-dm365-evm.c359 .if_type = VPFE_BT656,
Dboard-dm644x-evm.c243 .if_type = VPFE_BT656,
Ddm365.c1305 static int dm365_vpbe_setup_pinmux(u32 if_type, int field) in dm365_vpbe_setup_pinmux() argument
1307 switch (if_type) { in dm365_vpbe_setup_pinmux()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_init.c1629 uint32_t if_type; in lpfc_handle_eratt_s4() local
1644 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_handle_eratt_s4()
1645 switch (if_type) { in lpfc_handle_eratt_s4()
6490 uint32_t if_type; in lpfc_sli4_post_status_check() local
6552 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_post_status_check()
6554 switch (if_type) { in lpfc_sli4_post_status_check()
6621 lpfc_sli4_bar0_register_memmap(struct lpfc_hba *phba, uint32_t if_type) in lpfc_sli4_bar0_register_memmap() argument
6623 switch (if_type) { in lpfc_sli4_bar0_register_memmap()
6671 if_type); in lpfc_sli4_bar0_register_memmap()
7033 uint32_t if_type, rc = 0; in lpfc_setup_endian_order() local
[all …]
Dlpfc_debugfs.c1716 uint32_t if_type; in lpfc_idiag_baracc_read() local
1747 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_read()
1748 if (if_type == LPFC_SLI_INTF_IF_TYPE_0) { in lpfc_idiag_baracc_read()
1757 } else if (if_type == LPFC_SLI_INTF_IF_TYPE_2) { in lpfc_idiag_baracc_read()
1866 uint32_t if_type; in lpfc_idiag_baracc_write() local
1881 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_write()
1884 if (if_type == LPFC_SLI_INTF_IF_TYPE_0) { in lpfc_idiag_baracc_write()
1889 } else if (if_type == LPFC_SLI_INTF_IF_TYPE_2) { in lpfc_idiag_baracc_write()
1895 if (if_type == LPFC_SLI_INTF_IF_TYPE_0) { in lpfc_idiag_baracc_write()
1910 } else if (if_type == LPFC_SLI_INTF_IF_TYPE_2) { in lpfc_idiag_baracc_write()
Dlpfc_sli4.h391 uint32_t if_type; member
Dlpfc_attr.c354 uint32_t if_type; in lpfc_fwrev_show() local
360 if_type = phba->sli4_hba.pc_sli4_params.if_type; in lpfc_fwrev_show()
368 fwrev, phba->sli_rev, if_type, sli_family); in lpfc_fwrev_show()
Dlpfc_sli.c8173 uint32_t if_type; in lpfc_sli4_iocb2wqe() local
8251 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_iocb2wqe()
8253 if (if_type == LPFC_SLI_INTF_IF_TYPE_2) { in lpfc_sli4_iocb2wqe()
8458 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_iocb2wqe()
8460 if (if_type == LPFC_SLI_INTF_IF_TYPE_2) { in lpfc_sli4_iocb2wqe()
10702 uint32_t if_type, portsmphr; in lpfc_sli4_eratt_read() local
10709 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_sli4_eratt_read()
10710 switch (if_type) { in lpfc_sli4_eratt_read()
10771 "if type %d.", if_type); in lpfc_sli4_eratt_read()
16663 uint32_t if_type, data_size, sub_tlv_len, tlv_offset; in lpfc_sli_read_link_ste() local
[all …]
Dlpfc_hbadisc.c1778 uint32_t shdr_status, shdr_add_status, if_type; in lpfc_sli4_fcf_rec_mbox_parse() local
1798 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_sli4_fcf_rec_mbox_parse()
1802 if_type == LPFC_SLI_INTF_IF_TYPE_2) in lpfc_sli4_fcf_rec_mbox_parse()
/linux-4.4.14/drivers/net/wireless/b43/
Db43.h923 int if_type; member
990 return (wl->operating && wl->if_type == type); in b43_is_mode()
Dmain.c5015 wl->if_type = vif->type; in b43_op_add_interface()
/linux-4.4.14/include/linux/
Dhyperv.h195 uuid_le if_type; member