Home
last modified time | relevance | path

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

12

/drivers/net/wan/lmc/
Dlmc_proto.c50 if (sc->if_type == LMC_NET) { in lmc_proto_attach()
65 if (sc->if_type == LMC_PPP) { in lmc_proto_open()
76 if (sc->if_type == LMC_PPP) in lmc_proto_close()
82 switch(sc->if_type){ in lmc_proto_type()
97 switch(sc->if_type){ in lmc_proto_netif()
Dlmc_var.h347 u16 if_type; /* HDLC/PPP or NET */ member
Dlmc_main.c167 u16 old_type = sc->if_type; in lmc_siocdevprivate()
190 sc->if_type = new_type; in lmc_siocdevprivate()
838 sc->if_type = LMC_PPP; in lmc_init_one()
/drivers/media/platform/davinci/
Ddm644x_ccdc.c40 enum vpfe_hw_if_type if_type; member
231 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_open()
278 if (ccdc_cfg.if_type == VPFE_BT656_10BIT) in ccdc_config_ycbcr()
300 if (ccdc_cfg.if_type == VPFE_BT656_10BIT) in ccdc_config_ycbcr()
530 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_configure()
539 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_set_buftype()
548 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_get_buftype()
556 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) { in ccdc_enum_pix()
572 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) { in ccdc_set_pixel_format()
594 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_get_pixel_format()
[all …]
Ddm355_ccdc.c38 enum vpfe_hw_if_type if_type; member
677 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_configure()
686 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_set_buftype()
694 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_get_buftype()
702 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) { in ccdc_enum_pix()
720 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) { in ccdc_set_pixel_format()
741 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_get_pixel_format()
756 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_set_image_window()
765 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) in ccdc_get_image_window()
777 if (ccdc_cfg.if_type == VPFE_RAW_BAYER) { in ccdc_get_line_length()
[all …]
Disif.c71 enum vpfe_hw_if_type if_type; member
693 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_set_buftype()
703 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_get_buftype()
713 if (isif_cfg.if_type == VPFE_RAW_BAYER) { in isif_enum_pix()
730 if (isif_cfg.if_type == VPFE_RAW_BAYER) { in isif_set_pixel_format()
764 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_get_pixel_format()
781 if (isif_cfg.if_type == VPFE_RAW_BAYER) { in isif_set_image_window()
797 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_get_image_window()
807 if (isif_cfg.if_type == VPFE_RAW_BAYER) { in isif_get_line_length()
822 if (isif_cfg.if_type == VPFE_RAW_BAYER) in isif_set_frame_format()
[all …]
Dvpif_capture.c480 vpifparams->iface.if_type = VPIF_IF_BT656; in vpif_update_std_info()
483 vpifparams->iface.if_type = VPIF_IF_RAW_BAYER; in vpif_update_std_info()
492 if (vpifparams->iface.if_type == VPIF_IF_RAW_BAYER) { in vpif_update_std_info()
540 if (ch->vpifparams.iface.if_type == VPIF_IF_RAW_BAYER) in vpif_update_std_info()
628 return (iface->if_type == VPIF_IF_RAW_BAYER) ? V4L2_FIELD_NONE : in vpif_get_default_field()
941 if (ch->vpifparams.iface.if_type == VPIF_IF_RAW_BAYER) in vpif_enum_fmt_vid_cap()
/drivers/mtd/spi-nor/controllers/
Dhisi-sfc.c113 enum hifmc_iftype if_type; in hisi_spi_nor_get_if_type() local
117 if_type = IF_TYPE_DUAL; in hisi_spi_nor_get_if_type()
120 if_type = IF_TYPE_DIO; in hisi_spi_nor_get_if_type()
123 if_type = IF_TYPE_QUAD; in hisi_spi_nor_get_if_type()
126 if_type = IF_TYPE_QIO; in hisi_spi_nor_get_if_type()
130 if_type = IF_TYPE_STD; in hisi_spi_nor_get_if_type()
134 return if_type; in hisi_spi_nor_get_if_type()
234 u8 if_type = 0; in hisi_spi_nor_dma_transfer() local
250 if_type = hisi_spi_nor_get_if_type(nor->read_proto); in hisi_spi_nor_dma_transfer()
252 if_type = hisi_spi_nor_get_if_type(nor->write_proto); in hisi_spi_nor_dma_transfer()
[all …]
/drivers/perf/
Darm-cci.c338 int if_type; in cci400_validate_hw_event() local
353 if_type = CCI_IF_SLAVE; in cci400_validate_hw_event()
359 if_type = CCI_IF_MASTER; in cci400_validate_hw_event()
365 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event()
366 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event()
546 int if_type; in cci500_validate_hw_event() local
559 if_type = CCI_IF_SLAVE; in cci500_validate_hw_event()
567 if_type = CCI_IF_MASTER; in cci500_validate_hw_event()
570 if_type = CCI_IF_GLOBAL; in cci500_validate_hw_event()
576 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event()
[all …]
/drivers/media/platform/am437x/
Dam437x-vpfe.c357 if (ccdc->ccdc_cfg.if_type != VPFE_RAW_BAYER) in vpfe_ccdc_set_params()
412 if (ccdc->ccdc_cfg.if_type == VPFE_BT656_10BIT) in vpfe_ccdc_config_ycbcr()
435 if (ccdc->ccdc_cfg.if_type == VPFE_BT656_10BIT) in vpfe_ccdc_config_ycbcr()
596 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_set_buftype()
606 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_get_buftype()
617 __func__, ccdc->ccdc_cfg.if_type, print_fourcc(pixfmt)); in vpfe_ccdc_set_pixel_format()
619 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) { in vpfe_ccdc_set_pixel_format()
665 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) { in vpfe_ccdc_get_pixel_format()
681 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) { in vpfe_ccdc_set_image_window()
698 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_get_image_window()
[all …]
Dam437x-vpfe.h48 enum vpfe_hw_if_type if_type; member
192 enum vpfe_hw_if_type if_type; member
/drivers/hv/
Dhv_trace.h37 __array(char, if_type, 16)
47 export_guid(__entry->if_type, &offer->offer.if_type);
58 __entry->if_type, __entry->if_instance,
Dchannel_mgmt.c192 const guid_t *guid = &channel->offermsg.offer.if_type; in hv_get_dev_type()
523 &newchannel->offermsg.offer.if_type, in vmbus_add_channel_work()
613 if (guid_equal(&channel->offermsg.offer.if_type, in vmbus_process_offer()
614 &newchannel->offermsg.offer.if_type) && in vmbus_process_offer()
1026 if (!vmbus_is_valid_device(&offer->offer.if_type)) { in vmbus_onoffer()
/drivers/net/ethernet/broadcom/
Dcnic.c3186 static void cnic_ulp_stop_one(struct cnic_local *cp, int if_type) in cnic_ulp_stop_one() argument
3190 if (if_type == CNIC_ULP_ISCSI) in cnic_ulp_stop_one()
3194 ulp_ops = rcu_dereference_protected(cp->ulp_ops[if_type], in cnic_ulp_stop_one()
3200 set_bit(ULP_F_CALL_PENDING, &cp->ulp_flags[if_type]); in cnic_ulp_stop_one()
3203 if (test_and_clear_bit(ULP_F_START, &cp->ulp_flags[if_type])) in cnic_ulp_stop_one()
3204 ulp_ops->cnic_stop(cp->ulp_handle[if_type]); in cnic_ulp_stop_one()
3206 clear_bit(ULP_F_CALL_PENDING, &cp->ulp_flags[if_type]); in cnic_ulp_stop_one()
3212 int if_type; in cnic_ulp_stop() local
3214 for (if_type = 0; if_type < MAX_CNIC_ULP_TYPE; if_type++) in cnic_ulp_stop()
3215 cnic_ulp_stop_one(cp, if_type); in cnic_ulp_stop()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.h151 enum brcmf_fil_p2p_if_types if_type);
Dp2p.c2046 enum brcmf_fil_p2p_if_types if_type) in brcmf_p2p_ifchange() argument
2075 if_request.type = cpu_to_le16((u16)if_type); in brcmf_p2p_ifchange()
/drivers/scsi/lpfc/
Dlpfc_init.c1937 uint32_t if_type; in lpfc_handle_eratt_s4() local
1957 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_handle_eratt_s4()
1958 switch (if_type) { in lpfc_handle_eratt_s4()
7752 u32 if_type; in lpfc_sli4_driver_resource_setup() local
7997 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_driver_resource_setup()
8006 if (if_type == LPFC_SLI_INTF_IF_TYPE_0 && in lpfc_sli4_driver_resource_setup()
8013 if (!(if_type == LPFC_SLI_INTF_IF_TYPE_0 && in lpfc_sli4_driver_resource_setup()
9211 uint32_t if_type; in lpfc_sli4_post_status_check() local
9273 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_post_status_check()
9275 switch (if_type) { in lpfc_sli4_post_status_check()
[all …]
Dlpfc_attr.c977 uint32_t if_type; in lpfc_fwrev_show() local
983 if_type = phba->sli4_hba.pc_sli4_params.if_type; in lpfc_fwrev_show()
991 fwrev, phba->sli_rev, if_type, sli_family); in lpfc_fwrev_show()
4237 u8 sli_family, if_type; in lpfc_topology_store() local
4265 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_topology_store()
4270 if_type == LPFC_SLI_INTF_IF_TYPE_6))) && in lpfc_topology_store()
4694 uint32_t prev_val, if_type; in lpfc_link_speed_store() local
4696 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_link_speed_store()
4697 if (if_type >= LPFC_SLI_INTF_IF_TYPE_2 && in lpfc_link_speed_store()
Dlpfc_debugfs.c3595 uint32_t if_type; in lpfc_idiag_baracc_read() local
3626 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_read()
3627 if (if_type == LPFC_SLI_INTF_IF_TYPE_0) { in lpfc_idiag_baracc_read()
3636 } else if (if_type == LPFC_SLI_INTF_IF_TYPE_2) { in lpfc_idiag_baracc_read()
3745 uint32_t if_type; in lpfc_idiag_baracc_write() local
3760 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_write()
3763 if (if_type == LPFC_SLI_INTF_IF_TYPE_0) { in lpfc_idiag_baracc_write()
3768 } else if (if_type == LPFC_SLI_INTF_IF_TYPE_2) { in lpfc_idiag_baracc_write()
3774 if (if_type == LPFC_SLI_INTF_IF_TYPE_0) { in lpfc_idiag_baracc_write()
3789 } else if (if_type == LPFC_SLI_INTF_IF_TYPE_2) { in lpfc_idiag_baracc_write()
Dlpfc_sli.c274 u32 if_type; in lpfc_sli4_wq_put() local
333 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_wq_put()
335 if (if_type != LPFC_SLI_INTF_IF_TYPE_6) in lpfc_sli4_wq_put()
7863 uint32_t if_type; in lpfc_sli4_dip() local
7865 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_sli4_dip()
7866 if (if_type == LPFC_SLI_INTF_IF_TYPE_2 || in lpfc_sli4_dip()
7867 if_type == LPFC_SLI_INTF_IF_TYPE_6) { in lpfc_sli4_dip()
10538 uint32_t if_type; in lpfc_sli4_iocb2wqe() local
10620 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_iocb2wqe()
10622 if (if_type >= LPFC_SLI_INTF_IF_TYPE_2) { in lpfc_sli4_iocb2wqe()
[all …]
/drivers/scsi/elx/libefc_sli/
Dsli4.c159 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in sli_cmd_common_create_cq()
192 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in sli_cmd_common_create_eq()
222 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in sli_cmd_common_create_eq()
611 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in sli_fc_rq_set_alloc()
698 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in __sli_create_queue()
704 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in __sli_create_queue()
710 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in __sli_create_queue()
716 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in __sli_create_queue()
722 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in __sli_create_queue()
890 if (sli4->if_type == SLI4_INTF_IF_TYPE_6) in sli_cmd_cq_set_create()
[all …]
/drivers/net/wireless/broadcom/b43legacy/
Db43legacy.h599 int if_type; member
797 wl->if_type == type); in b43legacy_is_mode()
/drivers/net/wireless/broadcom/b43/
Db43.h924 int if_type; member
991 return (wl->operating && wl->if_type == type); in b43_is_mode()
/drivers/net/wireless/quantenna/qtnfmac/
Dqlink.h117 __le16 if_type; member
523 __le16 if_type; member
Dcommands.c769 cmd->intf_info.if_type = cpu_to_le16(QLINK_IFTYPE_AP); in qtnf_cmd_send_add_change_intf()
772 cmd->intf_info.if_type = cpu_to_le16(QLINK_IFTYPE_STATION); in qtnf_cmd_send_add_change_intf()
852 cmd->intf_info.if_type = cpu_to_le16(QLINK_IFTYPE_AP); in qtnf_cmd_send_del_intf()
855 cmd->intf_info.if_type = cpu_to_le16(QLINK_IFTYPE_STATION); in qtnf_cmd_send_del_intf()
1894 cmd->if_type = cpu_to_le16(QLINK_IFTYPE_AP); in qtnf_cmd_send_change_sta()
1897 cmd->if_type = cpu_to_le16(QLINK_IFTYPE_STATION); in qtnf_cmd_send_change_sta()

12