Searched refs:mode_flag (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Ddiag.c588 dd->hfi1_snoop.mode_flag = 0; hfi1_snoop_add()
634 dd->hfi1_snoop.mode_flag != HFI1_PORT_SNOOP_MODE; adjust_integrity_checks()
647 int mode_flag = 0; hfi1_snoop_open() local
669 mode_flag = HFI1_PORT_CAPTURE_MODE; hfi1_snoop_open()
672 mode_flag = HFI1_PORT_SNOOP_MODE; hfi1_snoop_open()
684 if (dd->hfi1_snoop.mode_flag) { hfi1_snoop_open()
690 dd->hfi1_snoop.mode_flag = mode_flag; hfi1_snoop_open()
700 if (mode_flag == HFI1_PORT_SNOOP_MODE) { hfi1_snoop_open()
739 int mode_flag; hfi1_snoop_release() local
748 mode_flag = dd->hfi1_snoop.mode_flag; hfi1_snoop_release()
749 dd->hfi1_snoop.mode_flag = 0; hfi1_snoop_release()
756 if (mode_flag == HFI1_PORT_SNOOP_MODE) { hfi1_snoop_release()
975 int mode_flag = 0; hfi1_ioctl() local
986 mode_flag = dd->hfi1_snoop.mode_flag; hfi1_ioctl()
995 } else if ((mode_flag & HFI1_PORT_CAPTURE_MODE) && hfi1_ioctl()
1219 if (likely((dd->hfi1_snoop.mode_flag & HFI1_PORT_SNOOP_MODE) || snoop_list_add_tail()
1220 (dd->hfi1_snoop.mode_flag & HFI1_PORT_CAPTURE_MODE))) { snoop_list_add_tail()
1227 * on the above lock and it is gone now. The snoop mode_flag will snoop_list_add_tail()
1539 if (ppd->dd->hfi1_snoop.mode_flag & HFI1_PORT_SNOOP_MODE) snoop_recv_handler()
1591 if (ppd->dd->hfi1_snoop.mode_flag & HFI1_PORT_SNOOP_MODE) { snoop_recv_handler()
1660 if (ppd->dd->hfi1_snoop.mode_flag & HFI1_PORT_SNOOP_MODE) snoop_send_pio_handler()
1761 (ppd->dd->hfi1_snoop.mode_flag & snoop_send_pio_handler()
1831 if (dd->hfi1_snoop.mode_flag & HFI1_PORT_SNOOP_MODE) snoop_inline_pio_send()
H A Dhfi.h356 int mode_flag; member in struct:hfi1_snoop_data
367 /* snoop mode_flag values */
H A Dpio.c657 dd->hfi1_snoop.mode_flag != HFI1_PORT_SNOOP_MODE) set_pio_integrity()
H A Dchip.c2895 if (unlikely(dd->hfi1_snoop.mode_flag == HFI1_PORT_SNOOP_MODE)) { set_up_vl15()
6200 if (dd->hfi1_snoop.mode_flag) set_lidlmc()
/linux-4.4.14/drivers/media/usb/go7007/
H A Dgo7007-fw.c1554 int mode_flag; go7007_construct_fw_image() local
1559 mode_flag = FLAG_MODE_MJPEG; go7007_construct_fw_image()
1562 mode_flag = FLAG_MODE_MPEG1; go7007_construct_fw_image()
1565 mode_flag = FLAG_MODE_MPEG2; go7007_construct_fw_image()
1568 mode_flag = FLAG_MODE_MPEG4; go7007_construct_fw_image()
1594 if (chunk_flags & mode_flag) { go7007_construct_fw_image()
/linux-4.4.14/drivers/net/wireless/zd1211rw/
H A Dzd_chip.c899 u32 b_interval, mode_flag; set_beacon_interval() local
907 mode_flag = BCN_MODE_IBSS; set_beacon_interval()
910 mode_flag = BCN_MODE_AP; set_beacon_interval()
913 mode_flag = 0; set_beacon_interval()
918 mode_flag = 0; set_beacon_interval()
921 b_interval = mode_flag | (dtim_period << 16) | interval; set_beacon_interval()
/linux-4.4.14/include/uapi/sound/
H A Dsfnt_info.h139 unsigned short sample_mode; /* sample mode_flag (set by driver) */
/linux-4.4.14/drivers/target/
H A Dtarget_core_pscsi.c108 static int pscsi_pmode_enable_hba(struct se_hba *hba, unsigned long mode_flag) pscsi_pmode_enable_hba() argument
115 if (!mode_flag) { pscsi_pmode_enable_hba()
H A Dtarget_core_configfs.c2955 unsigned long mode_flag; target_hba_mode_store() local
2961 ret = kstrtoul(page, 0, &mode_flag); target_hba_mode_store()
2972 ret = hba->backend->ops->pmode_enable_hba(hba, mode_flag); target_hba_mode_store()

Completed in 753 milliseconds