Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 200 of 313) sorted by relevance

12

/linux-4.1.27/drivers/media/common/b2c2/
Dflexcop.c61 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_start_feed() local
62 return flexcop_pid_feed_control(fc, dvbdmxfeed, 1); in flexcop_dvb_start_feed()
67 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_stop_feed() local
68 return flexcop_pid_feed_control(fc, dvbdmxfeed, 0); in flexcop_dvb_stop_feed()
71 static int flexcop_dvb_init(struct flexcop_device *fc) in flexcop_dvb_init() argument
73 int ret = dvb_register_adapter(&fc->dvb_adapter, in flexcop_dvb_init()
74 "FlexCop Digital TV device", fc->owner, in flexcop_dvb_init()
75 fc->dev, adapter_nr); in flexcop_dvb_init()
80 fc->dvb_adapter.priv = fc; in flexcop_dvb_init()
82 fc->demux.dmx.capabilities = (DMX_TS_FILTERING | DMX_SECTION_FILTERING in flexcop_dvb_init()
[all …]
Dflexcop-hw-filter.c8 static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff) in flexcop_rcv_data_ctrl() argument
14 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff) in flexcop_smc_ctrl() argument
19 static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_null_filter_ctrl() argument
24 void flexcop_set_mac_filter(struct flexcop_device *fc, u8 mac[6]) in flexcop_set_mac_filter() argument
27 v41c = fc->read_ibi_reg(fc, mac_address_41c); in flexcop_set_mac_filter()
36 fc->write_ibi_reg(fc, mac_address_418, v418); in flexcop_set_mac_filter()
37 fc->write_ibi_reg(fc, mac_address_41c, v41c); in flexcop_set_mac_filter()
40 void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_mac_filter_ctrl() argument
45 static void flexcop_pid_group_filter(struct flexcop_device *fc, in flexcop_pid_group_filter() argument
52 fc->write_ibi_reg(fc, pid_filter_30c, v30c); in flexcop_pid_group_filter()
[all …]
Dflexcop-fe-tuner.c33 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_voltage() local
37 v = fc->read_ibi_reg(fc, misc_204); in flexcop_set_voltage()
54 return fc->write_ibi_reg(fc, misc_204, v); in flexcop_set_voltage()
61 struct flexcop_device *fc = fe->dvb->priv; in flexcop_sleep() local
62 if (fc->fe_sleep) in flexcop_sleep()
63 return fc->fe_sleep(fe); in flexcop_sleep()
73 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_tone() local
94 return fc->write_ibi_reg(fc,lnb_switch_freq_200,v); in flexcop_set_tone()
158 static int skystar2_rev23_attach(struct flexcop_device *fc, in skystar2_rev23_attach() argument
163 fc->fe = dvb_attach(mt312_attach, &skystar23_samsung_tbdu18132_config, i2c); in skystar2_rev23_attach()
[all …]
Dflexcop-i2c.c10 static int flexcop_i2c_operation(struct flexcop_device *fc, in flexcop_i2c_operation() argument
19 fc->write_ibi_reg(fc, tw_sm_c_100, ibi_zero); in flexcop_i2c_operation()
20 fc->write_ibi_reg(fc, tw_sm_c_100, *r100); /* initiating i2c operation */ in flexcop_i2c_operation()
23 r = fc->read_ibi_reg(fc, tw_sm_c_100); in flexcop_i2c_operation()
58 if (i2c->fc->dev_type == FC_SKY_REV27) in flexcop_i2c_read4()
61 ret = flexcop_i2c_operation(i2c->fc, &r100); in flexcop_i2c_read4()
65 ret = flexcop_i2c_operation(i2c->fc, &r100); in flexcop_i2c_read4()
75 r104 = i2c->fc->read_ibi_reg(i2c->fc, tw_sm_c_104); in flexcop_i2c_read4()
86 static int flexcop_i2c_write4(struct flexcop_device *fc, in flexcop_i2c_write4() argument
102 fc->write_ibi_reg(fc, tw_sm_c_104, r104); in flexcop_i2c_write4()
[all …]
Dflexcop-common.h50 struct flexcop_device *fc; member
103 int (*get_mac_addr) (struct flexcop_device *fc, int extended);
110 void flexcop_pass_dmx_data(struct flexcop_device *fc, u8 *buf, u32 len);
111 void flexcop_pass_dmx_packets(struct flexcop_device *fc, u8 *buf, u32 no);
117 void flexcop_device_exit(struct flexcop_device *fc);
118 void flexcop_reset_block_300(struct flexcop_device *fc);
125 int flexcop_dma_control_timer_irq(struct flexcop_device *fc,
127 int flexcop_dma_control_size_irq(struct flexcop_device *fc,
129 int flexcop_dma_config(struct flexcop_device *fc, struct flexcop_dma *dma,
131 int flexcop_dma_xfer_control(struct flexcop_device *fc,
[all …]
Dflexcop-misc.c8 void flexcop_determine_revision(struct flexcop_device *fc) in flexcop_determine_revision() argument
10 flexcop_ibi_value v = fc->read_ibi_reg(fc,misc_204); in flexcop_determine_revision()
15 fc->rev = FLEXCOP_II; in flexcop_determine_revision()
19 fc->rev = FLEXCOP_IIB; in flexcop_determine_revision()
23 fc->rev = FLEXCOP_III; in flexcop_determine_revision()
32 if ((fc->has_32_hw_pid_filter = v.misc_204.Rev_N_sig_caps)) in flexcop_determine_revision()
66 void flexcop_device_name(struct flexcop_device *fc, in flexcop_device_name() argument
70 prefix, flexcop_device_names[fc->dev_type], in flexcop_device_name()
71 flexcop_bus_names[fc->bus_type], in flexcop_device_name()
72 flexcop_revision_names[fc->rev], suffix); in flexcop_device_name()
[all …]
Dflexcop-sram.c8 static void flexcop_sram_set_chip(struct flexcop_device *fc, in flexcop_sram_set_chip() argument
14 int flexcop_sram_init(struct flexcop_device *fc) in flexcop_sram_init() argument
16 switch (fc->rev) { in flexcop_sram_init()
19 flexcop_sram_set_chip(fc, FC_SRAM_1_32KB); in flexcop_sram_init()
22 flexcop_sram_set_chip(fc, FC_SRAM_1_48KB); in flexcop_sram_init()
30 int flexcop_sram_set_dest(struct flexcop_device *fc, flexcop_sram_dest_t dest, in flexcop_sram_set_dest() argument
34 v = fc->read_ibi_reg(fc, sram_dest_reg_714); in flexcop_sram_set_dest()
36 if (fc->rev != FLEXCOP_III && target == FC_SRAM_DEST_TARGET_FC3_CA) { in flexcop_sram_set_dest()
51 fc->write_ibi_reg(fc,sram_dest_reg_714,v); in flexcop_sram_set_dest()
58 void flexcop_wan_set_speed(struct flexcop_device *fc, flexcop_wan_speed_t s) in flexcop_wan_set_speed() argument
[all …]
Dflexcop-eeprom.c89 static int flexcop_eeprom_read(struct flexcop_device *fc,
92 return fc->i2c_request(fc,FC_READ,FC_I2C_PORT_EEPROM,0x50,addr,buf,len);
106 static int flexcop_eeprom_request(struct flexcop_device *fc, in flexcop_eeprom_request() argument
112 ret = fc->i2c_request(&fc->fc_i2c_adap[1], op, chipaddr, in flexcop_eeprom_request()
120 static int flexcop_eeprom_lrc_read(struct flexcop_device *fc, u16 addr, in flexcop_eeprom_lrc_read() argument
123 int ret = flexcop_eeprom_request(fc, FC_READ, addr, buf, len, retries); in flexcop_eeprom_lrc_read()
132 int flexcop_eeprom_check_mac_addr(struct flexcop_device *fc, int extended) in flexcop_eeprom_check_mac_addr() argument
137 if ((ret = flexcop_eeprom_lrc_read(fc,0x3f8,buf,8,4)) == 0) { in flexcop_eeprom_check_mac_addr()
143 memcpy(fc->dvb_adapter.proposed_mac,buf,6); in flexcop_eeprom_check_mac_addr()
Dflexcop-reg.h161 flexcop_ibi_value v = fc->read_ibi_reg(fc,reg); \
163 fc->write_ibi_reg(fc,reg,v); \
/linux-4.1.27/drivers/isdn/hardware/mISDN/
Davmfritz.c185 struct fritzcard *fc = p; in ReadISAC_V1() local
188 outb(idx, fc->addr + CHIP_INDEX); in ReadISAC_V1()
189 return inb(fc->addr + CHIP_WINDOW + (offset & 0xf)); in ReadISAC_V1()
195 struct fritzcard *fc = p; in WriteISAC_V1() local
198 outb(idx, fc->addr + CHIP_INDEX); in WriteISAC_V1()
199 outb(value, fc->addr + CHIP_WINDOW + (offset & 0xf)); in WriteISAC_V1()
205 struct fritzcard *fc = p; in ReadFiFoISAC_V1() local
207 outb(AVM_ISAC_FIFO, fc->addr + CHIP_INDEX); in ReadFiFoISAC_V1()
208 insb(fc->addr + CHIP_WINDOW, data, size); in ReadFiFoISAC_V1()
214 struct fritzcard *fc = p; in WriteFiFoISAC_V1() local
[all …]
/linux-4.1.27/drivers/md/
Ddm-flakey.c18 #define all_corrupt_bio_flags_match(bio, fc) \ argument
19 (((bio)->bi_rw & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags)
46 static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, in parse_features() argument
76 if (test_and_set_bit(DROP_WRITES, &fc->flags)) { in parse_features()
93 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); in parse_features()
103 fc->corrupt_bio_rw = WRITE; in parse_features()
105 fc->corrupt_bio_rw = READ; in parse_features()
115 r = dm_read_arg(_args + 2, as, &fc->corrupt_bio_value, &ti->error); in parse_features()
123 r = dm_read_arg(_args + 3, as, &fc->corrupt_bio_flags, &ti->error); in parse_features()
135 if (test_bit(DROP_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features()
[all …]
/linux-4.1.27/fs/fuse/
Ddev.c133 void fuse_set_initialized(struct fuse_conn *fc) in fuse_set_initialized() argument
137 fc->initialized = 1; in fuse_set_initialized()
140 static bool fuse_block_alloc(struct fuse_conn *fc, bool for_background) in fuse_block_alloc() argument
142 return !fc->initialized || (for_background && fc->blocked); in fuse_block_alloc()
145 static struct fuse_req *__fuse_get_req(struct fuse_conn *fc, unsigned npages, in __fuse_get_req() argument
150 atomic_inc(&fc->num_waiting); in __fuse_get_req()
152 if (fuse_block_alloc(fc, for_background)) { in __fuse_get_req()
157 intr = wait_event_interruptible_exclusive(fc->blocked_waitq, in __fuse_get_req()
158 !fuse_block_alloc(fc, for_background)); in __fuse_get_req()
168 if (!fc->connected) in __fuse_get_req()
[all …]
Dcontrol.c24 struct fuse_conn *fc; in fuse_ctl_file_conn_get() local
26 fc = file_inode(file)->i_private; in fuse_ctl_file_conn_get()
27 if (fc) in fuse_ctl_file_conn_get()
28 fc = fuse_conn_get(fc); in fuse_ctl_file_conn_get()
30 return fc; in fuse_ctl_file_conn_get()
36 struct fuse_conn *fc = fuse_ctl_file_conn_get(file); in fuse_conn_abort_write() local
37 if (fc) { in fuse_conn_abort_write()
38 fuse_abort_conn(fc); in fuse_conn_abort_write()
39 fuse_conn_put(fc); in fuse_conn_abort_write()
52 struct fuse_conn *fc = fuse_ctl_file_conn_get(file); in fuse_conn_waiting_read() local
[all …]
Dinode.c129 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_evict_inode() local
131 fuse_queue_forget(fc, fi->forget, fi->nodeid, fi->nlookup); in fuse_evict_inode()
160 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_change_attributes_common() local
163 fi->attr_version = ++fc->attr_version; in fuse_change_attributes_common()
175 if (!fc->writeback_cache || !S_ISREG(inode->i_mode)) { in fuse_change_attributes_common()
193 if (!(fc->flags & FUSE_DEFAULT_PERMISSIONS)) in fuse_change_attributes_common()
202 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_change_attributes() local
204 bool is_wb = fc->writeback_cache; in fuse_change_attributes()
208 spin_lock(&fc->lock); in fuse_change_attributes()
211 spin_unlock(&fc->lock); in fuse_change_attributes()
[all …]
Dfile.c23 static int fuse_send_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_send_open() argument
31 if (!fc->atomic_o_trunc) in fuse_send_open()
42 return fuse_simple_request(fc, &args); in fuse_send_open()
45 struct fuse_file *fuse_file_alloc(struct fuse_conn *fc) in fuse_file_alloc() argument
53 ff->fc = fc; in fuse_file_alloc()
65 spin_lock(&fc->lock); in fuse_file_alloc()
66 ff->kh = ++fc->khctr; in fuse_file_alloc()
67 spin_unlock(&fc->lock); in fuse_file_alloc()
84 static void fuse_release_end(struct fuse_conn *fc, struct fuse_req *req) in fuse_release_end() argument
94 if (ff->fc->no_open) { in fuse_file_put()
[all …]
Ddir.c19 struct fuse_conn *fc = get_fuse_conn(dir); in fuse_use_readdirplus() local
22 if (!fc->do_readdirplus) in fuse_use_readdirplus()
24 if (!fc->readdirplus_auto) in fuse_use_readdirplus()
148 static void fuse_lookup_init(struct fuse_conn *fc, struct fuse_args *args, in fuse_lookup_init() argument
163 u64 fuse_get_attr_version(struct fuse_conn *fc) in fuse_get_attr_version() argument
171 spin_lock(&fc->lock); in fuse_get_attr_version()
172 curr_version = fc->attr_version; in fuse_get_attr_version()
173 spin_unlock(&fc->lock); in fuse_get_attr_version()
191 struct fuse_conn *fc; in fuse_dentry_revalidate() local
213 fc = get_fuse_conn(inode); in fuse_dentry_revalidate()
[all …]
Dcuse.c58 struct fuse_conn fc; /* fuse connection */ member
70 static struct cuse_conn *fc_to_cc(struct fuse_conn *fc) in fc_to_cc() argument
72 return container_of(fc, struct cuse_conn, fc); in fc_to_cc()
121 fuse_conn_get(&pos->fc); in cuse_open()
135 rc = fuse_do_open(&cc->fc, 0, file, 0); in cuse_open()
137 fuse_conn_put(&cc->fc); in cuse_open()
144 struct fuse_conn *fc = ff->fc; in cuse_release() local
147 fuse_conn_put(fc); in cuse_release()
156 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_ioctl()
169 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_compat_ioctl()
[all …]
Dfuse_i.h130 struct fuse_conn *fc; member
671 void fuse_queue_forget(struct fuse_conn *fc, struct fuse_forget_link *forget,
690 struct fuse_file *fuse_file_alloc(struct fuse_conn *fc);
711 int fuse_notify_poll_wakeup(struct fuse_conn *fc,
772 struct fuse_req *fuse_get_req(struct fuse_conn *fc, unsigned npages);
773 struct fuse_req *fuse_get_req_for_background(struct fuse_conn *fc,
784 struct fuse_req *fuse_get_req_nofail_nopages(struct fuse_conn *fc,
791 void fuse_put_request(struct fuse_conn *fc, struct fuse_req *req);
796 void fuse_request_send(struct fuse_conn *fc, struct fuse_req *req);
801 ssize_t fuse_simple_request(struct fuse_conn *fc, struct fuse_args *args);
[all …]
/linux-4.1.27/drivers/media/pci/b2c2/
Dflexcop-dma.c40 int flexcop_dma_config(struct flexcop_device *fc, in flexcop_dma_config() argument
52 fc->write_ibi_reg(fc,dma1_000,v0x0); in flexcop_dma_config()
53 fc->write_ibi_reg(fc,dma1_004,v0x4); in flexcop_dma_config()
54 fc->write_ibi_reg(fc,dma1_00c,v0xc); in flexcop_dma_config()
56 fc->write_ibi_reg(fc,dma2_010,v0x0); in flexcop_dma_config()
57 fc->write_ibi_reg(fc,dma2_014,v0x4); in flexcop_dma_config()
58 fc->write_ibi_reg(fc,dma2_01c,v0xc); in flexcop_dma_config()
70 int flexcop_dma_xfer_control(struct flexcop_device *fc, in flexcop_dma_xfer_control() argument
90 v0x0 = fc->read_ibi_reg(fc,r0x0); in flexcop_dma_xfer_control()
91 v0xc = fc->read_ibi_reg(fc,r0xc); in flexcop_dma_xfer_control()
[all …]
Dflexcop-pci.c75 static flexcop_ibi_value flexcop_pci_read_ibi_reg(struct flexcop_device *fc, in flexcop_pci_read_ibi_reg() argument
78 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_read_ibi_reg()
90 static int flexcop_pci_write_ibi_reg(struct flexcop_device *fc, in flexcop_pci_write_ibi_reg() argument
93 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_write_ibi_reg()
108 struct flexcop_device *fc = fc_pci->fc_dev; in flexcop_pci_irq_check_work() local
110 if (fc->feedcount) { in flexcop_pci_irq_check_work()
118 spin_lock_irq(&fc->demux.lock); in flexcop_pci_irq_check_work()
119 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work()
121 flexcop_pid_feed_control(fc, feed, 0); in flexcop_pci_irq_check_work()
124 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work()
[all …]
/linux-4.1.27/Documentation/
Dkasan.txt108 ffff8800693bc300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
109 ffff8800693bc380: fc fc 00 00 00 00 00 00 00 00 00 00 00 00 00 fc
110 ffff8800693bc400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
111 ffff8800693bc480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
112 ffff8800693bc500: fc fc fc fc fc fc fc fc fc fc fc 00 00 00 00 00
113 >ffff8800693bc580: 00 00 00 00 00 00 00 00 00 00 03 fc fc fc fc fc
115 ffff8800693bc600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
116 ffff8800693bc680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
117 ffff8800693bc700: fc fc fc fc fb fb fb fb fb fb fb fb fb fb fb fb
Dmagic-number.txt95 LSEMAGIC 0x05091998 lse drivers/fc4/fc.c
104 LSOMAGIC 0x27091997 lso drivers/fc4/fc.c
105 LSMAGIC 0x2a3b4d2a ls drivers/fc4/fc.c
/linux-4.1.27/drivers/scsi/esas2r/
Desas2r_flash.c137 struct esas2r_flash_context *fc = in esas2r_fmapi_callback() local
144 if (fc->sgc.cur_offset == NULL) in esas2r_fmapi_callback()
155 rq->interrupt_cb = fc->interrupt_cb; in esas2r_fmapi_callback()
169 (*fc->interrupt_cb)(a, rq); in esas2r_fmapi_callback()
179 struct esas2r_flash_context *fc = in build_flash_msg() local
181 struct esas2r_sg_context *sgc = &fc->sgc; in build_flash_msg()
185 if (fc->func == VDA_FLASH_BEGINW) { in build_flash_msg()
192 rq->interrupt_cb = fc->interrupt_cb; in build_flash_msg()
196 fc->func, in build_flash_msg()
198 fc->flsh_addr, in build_flash_msg()
[all …]
/linux-4.1.27/drivers/fmc/
Dfmc-chardev.c33 struct fc_instance *fc; in fc_open() local
36 list_for_each_entry(fc, &fc_devices, list) in fc_open()
37 if (fc->misc.minor == minor) in fc_open()
39 if (fc->misc.minor != minor) in fc_open()
41 fmc = fc->fmc; in fc_open()
130 struct fc_instance *fc; in fc_probe() local
138 fc = kzalloc(sizeof(*fc), GFP_KERNEL); in fc_probe()
139 if (!fc) in fc_probe()
141 fc->fmc = fmc; in fc_probe()
142 fc->misc.minor = MISC_DYNAMIC_MINOR; in fc_probe()
[all …]
/linux-4.1.27/net/core/
Dflow.c55 struct flow_cache *fc = (void *) arg; in flow_cache_new_hashrnd() local
59 per_cpu_ptr(fc->percpu, i)->hash_rnd_recalc = 1; in flow_cache_new_hashrnd()
61 fc->rnd_timer.expires = jiffies + FLOW_HASH_RND_PERIOD; in flow_cache_new_hashrnd()
62 add_timer(&fc->rnd_timer); in flow_cache_new_hashrnd()
112 static void __flow_cache_shrink(struct flow_cache *fc, in __flow_cache_shrink() argument
120 struct netns_xfrm *xfrm = container_of(fc, struct netns_xfrm, in __flow_cache_shrink()
123 for (i = 0; i < flow_cache_hash_size(fc); i++) { in __flow_cache_shrink()
142 static void flow_cache_shrink(struct flow_cache *fc, in flow_cache_shrink() argument
145 int shrink_to = fc->low_watermark / flow_cache_hash_size(fc); in flow_cache_shrink()
147 __flow_cache_shrink(fc, fcp, shrink_to); in flow_cache_shrink()
[all …]
/linux-4.1.27/include/linux/
Dieee80211.h253 static inline int ieee80211_has_tods(__le16 fc) in ieee80211_has_tods() argument
255 return (fc & cpu_to_le16(IEEE80211_FCTL_TODS)) != 0; in ieee80211_has_tods()
262 static inline int ieee80211_has_fromds(__le16 fc) in ieee80211_has_fromds() argument
264 return (fc & cpu_to_le16(IEEE80211_FCTL_FROMDS)) != 0; in ieee80211_has_fromds()
271 static inline int ieee80211_has_a4(__le16 fc) in ieee80211_has_a4() argument
274 return (fc & tmp) == tmp; in ieee80211_has_a4()
281 static inline int ieee80211_has_morefrags(__le16 fc) in ieee80211_has_morefrags() argument
283 return (fc & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)) != 0; in ieee80211_has_morefrags()
290 static inline int ieee80211_has_retry(__le16 fc) in ieee80211_has_retry() argument
292 return (fc & cpu_to_le16(IEEE80211_FCTL_RETRY)) != 0; in ieee80211_has_retry()
[all …]
/linux-4.1.27/net/ieee802154/
Dheader_ops.c91 struct ieee802154_hdr_fc fc = hdr->fc; in ieee802154_hdr_push() local
95 fc.dest_addr_mode = hdr->dest.mode; in ieee802154_hdr_push()
102 fc.source_addr_mode = hdr->source.mode; in ieee802154_hdr_push()
106 fc.intra_pan = true; in ieee802154_hdr_push()
108 rc = ieee802154_hdr_push_addr(buf + pos, &hdr->source, fc.intra_pan); in ieee802154_hdr_push()
113 if (fc.security_enabled) { in ieee802154_hdr_push()
114 fc.version = 1; in ieee802154_hdr_push()
123 memcpy(buf, &fc, 2); in ieee802154_hdr_push()
215 dlen = ieee802154_hdr_addr_len(hdr->fc.dest_addr_mode, false); in ieee802154_hdr_minlen()
216 slen = ieee802154_hdr_addr_len(hdr->fc.source_addr_mode, in ieee802154_hdr_minlen()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
Dixgb_param.c343 unsigned int fc = FlowControl[bd]; in ixgb_check_options() local
344 ixgb_validate_option(&fc, &opt); in ixgb_check_options()
345 adapter->hw.fc.type = fc; in ixgb_check_options()
347 adapter->hw.fc.type = opt.def; in ixgb_check_options()
361 adapter->hw.fc.high_water = RxFCHighThresh[bd]; in ixgb_check_options()
362 ixgb_validate_option(&adapter->hw.fc.high_water, &opt); in ixgb_check_options()
364 adapter->hw.fc.high_water = opt.def; in ixgb_check_options()
366 if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) ) in ixgb_check_options()
380 adapter->hw.fc.low_water = RxFCLowThresh[bd]; in ixgb_check_options()
381 ixgb_validate_option(&adapter->hw.fc.low_water, &opt); in ixgb_check_options()
[all …]
Dixgb_hw.c661 switch (hw->fc.type) { in ixgb_setup_fc()
677 pap_reg = hw->fc.pause_time; in ixgb_setup_fc()
684 pap_reg = hw->fc.pause_time; in ixgb_setup_fc()
705 if (!(hw->fc.type & ixgb_fc_tx_pause)) { in ixgb_setup_fc()
712 if (hw->fc.send_xon) { in ixgb_setup_fc()
714 (hw->fc.low_water | IXGB_FCRTL_XONE)); in ixgb_setup_fc()
716 IXGB_WRITE_REG(hw, FCRTL, hw->fc.low_water); in ixgb_setup_fc()
718 IXGB_WRITE_REG(hw, FCRTH, hw->fc.high_water); in ixgb_setup_fc()
Dixgb_ethtool.c158 if (hw->fc.type == ixgb_fc_rx_pause) in ixgb_get_pauseparam()
160 else if (hw->fc.type == ixgb_fc_tx_pause) in ixgb_get_pauseparam()
162 else if (hw->fc.type == ixgb_fc_full) { in ixgb_get_pauseparam()
179 hw->fc.type = ixgb_fc_full; in ixgb_set_pauseparam()
181 hw->fc.type = ixgb_fc_rx_pause; in ixgb_set_pauseparam()
183 hw->fc.type = ixgb_fc_tx_pause; in ixgb_set_pauseparam()
185 hw->fc.type = ixgb_fc_none; in ixgb_set_pauseparam()
/linux-4.1.27/sound/isa/gus/
Dgus_volume.c196 unsigned int fc;
203 fc = (freq << 10) / rate;
204 if (fc > 97391L) {
205 fc = 97391;
206 snd_printk(KERN_ERR "patch: (1) fc frequency overflow - %u\n", fc);
208 fc = (fc * 44100UL) / mix_rate;
210 fc <<= 1;
211 if (fc > 65535L) {
212 fc = 65535;
213 snd_printk(KERN_ERR "patch: (2) fc frequency overflow - %u\n", fc);
[all …]
/linux-4.1.27/drivers/media/usb/b2c2/
Dflexcop-usb.c69 static int flexcop_usb_readwrite_dw(struct flexcop_device *fc, u16 wRegOffsPCI, u32 *val, u8 read) in flexcop_usb_readwrite_dw() argument
71 struct flexcop_usb *fc_usb = fc->bus_specific; in flexcop_usb_readwrite_dw()
192 static int flexcop_usb_get_mac_addr(struct flexcop_device *fc, int extended) in flexcop_usb_get_mac_addr() argument
194 return flexcop_usb_memory_req(fc->bus_specific, B2C2_USB_READ_V8_MEM, in flexcop_usb_get_mac_addr()
196 fc->dvb_adapter.proposed_mac, 6); in flexcop_usb_get_mac_addr()
227 struct flexcop_usb *fc_usb = i2c->fc->bus_specific; in flexcop_usb_i2c_req()
273 static flexcop_ibi_value flexcop_usb_read_ibi_reg(struct flexcop_device *fc, in flexcop_usb_read_ibi_reg() argument
278 flexcop_usb_readwrite_dw(fc, reg, &val.raw, 1); in flexcop_usb_read_ibi_reg()
282 static int flexcop_usb_write_ibi_reg(struct flexcop_device *fc, in flexcop_usb_write_ibi_reg() argument
285 return flexcop_usb_readwrite_dw(fc, reg, &val.raw, 0); in flexcop_usb_write_ibi_reg()
[all …]
/linux-4.1.27/drivers/net/wireless/hostap/
Dhostap_80211_tx.c23 u16 fc; in hostap_dump_tx_80211() local
33 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_tx_80211()
35 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2, in hostap_dump_tx_80211()
36 (fc & IEEE80211_FCTL_STYPE) >> 4, in hostap_dump_tx_80211()
37 fc & IEEE80211_FCTL_TODS ? " [ToDS]" : "", in hostap_dump_tx_80211()
38 fc & IEEE80211_FCTL_FROMDS ? " [FromDS]" : ""); in hostap_dump_tx_80211()
67 u16 fc, ethertype = 0; in hostap_data_start_xmit() local
139 fc = IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA; in hostap_data_start_xmit()
152 fc |= IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS; in hostap_data_start_xmit()
161 fc |= IEEE80211_FCTL_TODS; in hostap_data_start_xmit()
[all …]
Dhostap_80211_rx.c24 u16 fc; in hostap_dump_rx_80211() local
36 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_rx_80211()
38 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2, in hostap_dump_rx_80211()
39 (fc & IEEE80211_FCTL_STYPE) >> 4, in hostap_dump_rx_80211()
40 fc & IEEE80211_FCTL_TODS ? " [ToDS]" : "", in hostap_dump_rx_80211()
41 fc & IEEE80211_FCTL_FROMDS ? " [FromDS]" : ""); in hostap_dump_rx_80211()
68 u16 fc; in prism2_rx_80211() local
92 fc = le16_to_cpu(fhdr->frame_control); in prism2_rx_80211()
94 if (type == PRISM2_RX_MGMT && (fc & IEEE80211_FCTL_VERS)) { in prism2_rx_80211()
96 "version %d\n", dev->name, fc & IEEE80211_FCTL_VERS); in prism2_rx_80211()
[all …]
Dhostap_main.c524 u16 status, fc; in hostap_dump_rx_header() local
534 fc = __le16_to_cpu(rx->frame_control); in hostap_dump_rx_header()
537 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2, in hostap_dump_rx_header()
538 (fc & IEEE80211_FCTL_STYPE) >> 4, in hostap_dump_rx_header()
541 fc & IEEE80211_FCTL_TODS ? " [ToDS]" : "", in hostap_dump_rx_header()
542 fc & IEEE80211_FCTL_FROMDS ? " [FromDS]" : ""); in hostap_dump_rx_header()
555 u16 fc; in hostap_dump_tx_header() local
562 fc = __le16_to_cpu(tx->frame_control); in hostap_dump_tx_header()
565 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2, in hostap_dump_tx_header()
566 (fc & IEEE80211_FCTL_STYPE) >> 4, in hostap_dump_tx_header()
[all …]
Dhostap_ap.c976 u16 fc; in prism2_send_mgmt() local
999 fc = type_subtype; in prism2_send_mgmt()
1013 fc |= IEEE80211_FCTL_FROMDS; in prism2_send_mgmt()
1025 hdr->frame_control = cpu_to_le16(fc); in prism2_send_mgmt()
2205 u16 fc, type, stype; in handle_ap_item() local
2211 fc = le16_to_cpu(hdr->frame_control); in handle_ap_item()
2212 type = fc & IEEE80211_FCTL_FTYPE; in handle_ap_item()
2213 stype = fc & IEEE80211_FCTL_STYPE; in handle_ap_item()
2219 if (!(fc & IEEE80211_FCTL_TODS) || in handle_ap_item()
2220 (fc & IEEE80211_FCTL_FROMDS)) { in handle_ap_item()
[all …]
Dhostap.h34 int hostap_80211_get_hdrlen(__le16 fc);
/linux-4.1.27/drivers/net/ethernet/atheros/alx/
Dethtool.c215 u8 fc = 0; in alx_set_pauseparam() local
218 fc |= ALX_FC_TX; in alx_set_pauseparam()
220 fc |= ALX_FC_RX; in alx_set_pauseparam()
222 fc |= ALX_FC_ANEG; in alx_set_pauseparam()
228 if (!((fc ^ hw->flowctrl) & ALX_FC_ANEG)) in alx_set_pauseparam()
230 if (fc & hw->flowctrl & ALX_FC_ANEG && in alx_set_pauseparam()
231 (fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX)) in alx_set_pauseparam()
236 err = alx_setup_speed_duplex(hw, hw->adv_cfg, fc); in alx_set_pauseparam()
242 if ((fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX)) in alx_set_pauseparam()
243 alx_cfg_mac_flowcontrol(hw, fc); in alx_set_pauseparam()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/igb/
De1000_mac.c606 if (hw->fc.requested_mode == e1000_fc_default) { in igb_setup_link()
616 hw->fc.current_mode = hw->fc.requested_mode; in igb_setup_link()
618 hw_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in igb_setup_link()
635 wr32(E1000_FCTTV, hw->fc.pause_time); in igb_setup_link()
684 if (hw->fc.current_mode & e1000_fc_tx_pause) { in igb_set_fc_watermarks()
689 fcrtl = hw->fc.low_water; in igb_set_fc_watermarks()
690 if (hw->fc.send_xon) in igb_set_fc_watermarks()
693 fcrth = hw->fc.high_water; in igb_set_fc_watermarks()
737 hw->fc.requested_mode = e1000_fc_none; in igb_set_default_fc()
740 hw->fc.requested_mode = e1000_fc_tx_pause; in igb_set_default_fc()
[all …]
Digb_ethtool.c201 switch (hw->fc.requested_mode) { in igb_get_settings()
319 hw->fc.requested_mode = e1000_fc_default; in igb_set_settings()
377 if (hw->fc.current_mode == e1000_fc_rx_pause) in igb_get_pauseparam()
379 else if (hw->fc.current_mode == e1000_fc_tx_pause) in igb_get_pauseparam()
381 else if (hw->fc.current_mode == e1000_fc_full) { in igb_get_pauseparam()
404 hw->fc.requested_mode = e1000_fc_default; in igb_set_pauseparam()
413 hw->fc.requested_mode = e1000_fc_full; in igb_set_pauseparam()
415 hw->fc.requested_mode = e1000_fc_rx_pause; in igb_set_pauseparam()
417 hw->fc.requested_mode = e1000_fc_tx_pause; in igb_set_pauseparam()
419 hw->fc.requested_mode = e1000_fc_none; in igb_set_pauseparam()
[all …]
/linux-4.1.27/drivers/staging/wlan-ng/
Dp80211conv.c110 __le16 fc; in skb_ether_to_p80211() local
176 fc = cpu_to_le16(WLAN_SET_FC_FTYPE(WLAN_FTYPE_DATA) | in skb_ether_to_p80211()
186 fc |= cpu_to_le16(WLAN_SET_FC_TODS(1)); in skb_ether_to_p80211()
192 fc |= cpu_to_le16(WLAN_SET_FC_FROMDS(1)); in skb_ether_to_p80211()
220 fc |= cpu_to_le16(WLAN_SET_FC_ISWEP(1)); in skb_ether_to_p80211()
225 p80211_hdr->a3.fc = fc; in skb_ether_to_p80211()
279 u16 fc; in skb_p80211_to_ether() local
297 fc = le16_to_cpu(w_hdr->a3.fc); in skb_p80211_to_ether()
298 if ((WLAN_GET_FC_TODS(fc) == 0) && (WLAN_GET_FC_FROMDS(fc) == 0)) { in skb_p80211_to_ether()
301 } else if ((WLAN_GET_FC_TODS(fc) == 0) in skb_p80211_to_ether()
[all …]
Dp80211hdr.h151 __le16 fc; member
160 u16 fc; member
Dp80211netdev.c104 static int p80211_rx_typedrop(wlandevice_t *wlandev, u16 fc);
235 if (p80211_rx_typedrop(wlandev, hdr->fc)) in p80211_convert_to_ether()
915 static int p80211_rx_typedrop(wlandevice_t *wlandev, u16 fc) in p80211_rx_typedrop() argument
921 ftype = WLAN_GET_FC_FTYPE(fc); in p80211_rx_typedrop()
922 fstype = WLAN_GET_FC_FSTYPE(fc); in p80211_rx_typedrop()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dcommon.c40 __le16 fc; in ath9k_cmn_rx_accept() local
42 fc = hdr->frame_control; in ath9k_cmn_rx_accept()
47 strip_mic = is_valid_tkip && ieee80211_is_data(fc) && in ath9k_cmn_rx_accept()
48 ieee80211_has_protected(fc) && in ath9k_cmn_rx_accept()
62 mic_error = is_valid_tkip && !ieee80211_is_ctl(fc) && in ath9k_cmn_rx_accept()
63 !ieee80211_has_morefrags(fc) && in ath9k_cmn_rx_accept()
128 __le16 fc; in ath9k_cmn_rx_skb_postprocess() local
133 fc = hdr->frame_control; in ath9k_cmn_rx_skb_postprocess()
134 padpos = ieee80211_hdrlen(fc); in ath9k_cmn_rx_skb_postprocess()
153 ieee80211_has_protected(fc)) { in ath9k_cmn_rx_skb_postprocess()
[all …]
/linux-4.1.27/Documentation/video4linux/
DCARDLIST.ivtv6 6 -> Yuan MPG160/Kuroutoshikou iTVC15-STVLP [12ab:0000,10fc:40a0]
13 13 -> I/O Data GV-MVP/RX [10fc:d01e,10fc:d038,10fc:d039]
14 14 -> I/O Data GV-MVP/RX2E [10fc:d025]
Dgspca.txt147 spca561 04fc:0561 Flexcam 100
148 spca1528 04fc:1528 Sunplus MD80 clone
149 sunplus 04fc:500c Sunplus CA500C
150 sunplus 04fc:504a Aiptek Mini PenCam 1.3
151 sunplus 04fc:504b Maxell MaxPocket LE 1.3
152 sunplus 04fc:5330 Digitrex 2110
153 sunplus 04fc:5360 Sunplus Generic
154 spca500 04fc:7333 PalmPixDC85
155 sunplus 04fc:ffff Pure DigitalDakota
322 sonixj 0c45:60fc LG-LIC300
DCARDLIST.bttv50 49 -> IODATA GV-BCTV3/PCI [10fc:4020]
68 67 -> IODATA GV-BCTV4/PCI [10fc:4050]
82 81 -> IODATA GV-BCTV5/PCI [10fc:4070,10fc:d018]
DCARDLIST.cx8811 10 -> IODATA GV-VCP3/PCI [10fc:d003]
27 26 -> IODATA GV/BCTV7E [10fc:d035]
/linux-4.1.27/drivers/crypto/nx/
Dnx.c395 if (msc->fc > NX_MAX_FC || msc->mode > NX_MAX_MODE) { in nx_of_update_msc()
397 "combo: %d/%d (ignored)\n", msc->fc, in nx_of_update_msc()
405 props->ap[msc->fc][msc->mode][0].databytelen = in nx_of_update_msc()
407 props->ap[msc->fc][msc->mode][0].sglen = in nx_of_update_msc()
411 props->ap[msc->fc][msc->mode][1].databytelen = in nx_of_update_msc()
413 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
417 if (msc->fc == NX_FC_AES) { in nx_of_update_msc()
418 props->ap[msc->fc][msc->mode][2]. in nx_of_update_msc()
420 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
422 } else if (msc->fc == NX_FC_AES_HMAC || in nx_of_update_msc()
[all …]
Dnx.h39 u32 fc; member
/linux-4.1.27/arch/ia64/kernel/
Dmca_asm.S633 fc r17
634 fc r1
635 fc r2
636 fc r3
637 fc r4
638 fc r5
639 fc r6
640 fc r7
650 fc r17
651 fc r1
[all …]
Dparavirtentry.S78 fc.i r32
Dparavirt.c104 DEFINE_VOID_FUNC1_VOID(fc);
339 DEFINE_VOID_FUNC1_VOID(fc,
556 .fc = ia64_native_fc_func,
761 IA64_NATIVE_PATCH_BUNDLE_ELEM(fc, FC),
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dmac.c667 hw->fc.requested_mode = e1000_fc_none; in e1000_set_default_fc_generic()
669 hw->fc.requested_mode = e1000_fc_tx_pause; in e1000_set_default_fc_generic()
671 hw->fc.requested_mode = e1000_fc_full; in e1000_set_default_fc_generic()
699 if (hw->fc.requested_mode == e1000_fc_default) { in e1000e_setup_link_generic()
708 hw->fc.current_mode = hw->fc.requested_mode; in e1000e_setup_link_generic()
710 e_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in e1000e_setup_link_generic()
727 ew32(FCTTV, hw->fc.pause_time); in e1000e_setup_link_generic()
760 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic()
932 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000e_set_fc_watermarks()
937 fcrtl = hw->fc.low_water; in e1000e_set_fc_watermarks()
[all …]
Dethtool.c307 hw->fc.requested_mode = e1000_fc_default; in e1000_set_settings()
351 if (hw->fc.current_mode == e1000_fc_rx_pause) { in e1000_get_pauseparam()
353 } else if (hw->fc.current_mode == e1000_fc_tx_pause) { in e1000_get_pauseparam()
355 } else if (hw->fc.current_mode == e1000_fc_full) { in e1000_get_pauseparam()
376 hw->fc.requested_mode = e1000_fc_default; in e1000_set_pauseparam()
385 hw->fc.requested_mode = e1000_fc_full; in e1000_set_pauseparam()
387 hw->fc.requested_mode = e1000_fc_rx_pause; in e1000_set_pauseparam()
389 hw->fc.requested_mode = e1000_fc_tx_pause; in e1000_set_pauseparam()
391 hw->fc.requested_mode = e1000_fc_none; in e1000_set_pauseparam()
393 hw->fc.current_mode = hw->fc.requested_mode; in e1000_set_pauseparam()
Dnetdev.c3801 struct e1000_fc_info *fc = &adapter->hw.fc; in e1000e_reset() local
3862 fc->pause_time = 0xFFFF; in e1000e_reset()
3864 fc->pause_time = E1000_FC_PAUSE_TIME; in e1000e_reset()
3865 fc->send_xon = true; in e1000e_reset()
3866 fc->current_mode = fc->requested_mode; in e1000e_reset()
3874 fc->high_water = 0x2800; in e1000e_reset()
3875 fc->low_water = fc->high_water - 8; in e1000e_reset()
3883 fc->high_water = hwm & E1000_FCRTH_RTH; /* 8-byte granularity */ in e1000e_reset()
3884 fc->low_water = fc->high_water - 8; in e1000e_reset()
3891 fc->high_water = 0x3500; in e1000e_reset()
[all …]
/linux-4.1.27/net/mac80211/
Dled.h58 ieee80211_tpt_led_trig_tx(struct ieee80211_local *local, __le16 fc, int bytes) in ieee80211_tpt_led_trig_tx() argument
61 if (local->tpt_led_trigger && ieee80211_is_data(fc)) in ieee80211_tpt_led_trig_tx()
67 ieee80211_tpt_led_trig_rx(struct ieee80211_local *local, __le16 fc, int bytes) in ieee80211_tpt_led_trig_rx() argument
70 if (local->tpt_led_trigger && ieee80211_is_data(fc)) in ieee80211_tpt_led_trig_rx()
Drx.c678 __le16 fc; in iwl80211_get_cs_keyid() local
682 fc = hdr->frame_control; in iwl80211_get_cs_keyid()
683 hdrlen = ieee80211_hdrlen(fc); in iwl80211_get_cs_keyid()
1490 __le16 fc; in ieee80211_rx_h_decrypt() local
1529 fc = hdr->frame_control; in ieee80211_rx_h_decrypt()
1534 if (ieee80211_has_protected(fc) && rx->sta->cipher_scheme) { in ieee80211_rx_h_decrypt()
1543 if (!ieee80211_has_protected(fc)) in ieee80211_rx_h_decrypt()
1552 if (!ieee80211_has_protected(fc)) in ieee80211_rx_h_decrypt()
1567 } else if (!ieee80211_has_protected(fc)) { in ieee80211_rx_h_decrypt()
1578 if (ieee80211_is_mgmt(fc) && in ieee80211_rx_h_decrypt()
[all …]
Dstatus.c653 __le16 fc; in ieee80211_tx_status() local
674 fc = hdr->frame_control; in ieee80211_tx_status()
701 ieee80211_is_data_qos(fc)) in ieee80211_tx_status()
712 (ieee80211_is_data_qos(fc))) { in ieee80211_tx_status()
722 } else if (ieee80211_is_data_qos(fc)) { in ieee80211_tx_status()
728 if (!acked && ieee80211_is_back_req(fc)) { in ieee80211_tx_status()
758 if (ieee80211_is_data_present(fc)) { in ieee80211_tx_status()
819 ieee80211_is_data(fc) || in ieee80211_tx_status()
820 ieee80211_is_mgmt(fc)) in ieee80211_tx_status()
827 if (ieee80211_is_nullfunc(fc) && ieee80211_has_pm(fc) && in ieee80211_tx_status()
[all …]
Dwep.c280 __le16 fc = hdr->frame_control; in ieee80211_crypto_wep_decrypt() local
282 if (!ieee80211_is_data(fc) && !ieee80211_is_auth(fc)) in ieee80211_crypto_wep_decrypt()
291 if (!pskb_may_pull(rx->skb, ieee80211_hdrlen(fc) + in ieee80211_crypto_wep_decrypt()
Dmesh_ps.c26 __le16 fc; in mps_qos_null_get() local
34 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_QOS_NULLFUNC); in mps_qos_null_get()
35 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get()
37 nullfunc->frame_control = fc; in mps_qos_null_get()
Dtx.c450 static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta, in ieee80211_use_mfp() argument
453 if (!ieee80211_is_mgmt(fc)) in ieee80211_use_mfp()
1392 __le16 fc; in __ieee80211_tx() local
1398 fc = ((struct ieee80211_hdr *)skb->data)->frame_control; in __ieee80211_tx()
1438 ieee80211_tpt_led_trig_tx(local, fc, led_len); in __ieee80211_tx()
1996 __le16 fc; in ieee80211_build_hdr() local
2018 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA); in ieee80211_build_hdr()
2023 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS); in ieee80211_build_hdr()
2051 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS); in ieee80211_build_hdr()
2060 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS); in ieee80211_build_hdr()
[all …]
Ddebugfs_netdev.c298 __le16 fc; in ieee80211_if_parse_tkip_mic_test() local
313 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA); in ieee80211_if_parse_tkip_mic_test()
317 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS); in ieee80211_if_parse_tkip_mic_test()
324 fc |= cpu_to_le16(IEEE80211_FCTL_TODS); in ieee80211_if_parse_tkip_mic_test()
341 hdr->frame_control = fc; in ieee80211_if_parse_tkip_mic_test()
Drate.c190 __le16 fc; in rc_no_data_or_no_ack_use_min() local
192 fc = hdr->frame_control; in rc_no_data_or_no_ack_use_min()
196 !ieee80211_is_data(fc); in rc_no_data_or_no_ack_use_min()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dtx.c53 __le16 fc, __le32 *tx_flags) in iwlagn_tx_cmd_protection() argument
70 __le16 fc = hdr->frame_control; in iwlagn_tx_cmd_build_basic() local
80 if (ieee80211_is_probe_resp(fc)) in iwlagn_tx_cmd_build_basic()
82 else if (ieee80211_is_back_req(fc)) in iwlagn_tx_cmd_build_basic()
87 (ieee80211_is_auth(fc) || ieee80211_is_assoc_req(fc) || in iwlagn_tx_cmd_build_basic()
88 ieee80211_is_reassoc_req(fc) || in iwlagn_tx_cmd_build_basic()
94 if (ieee80211_has_morefrags(fc)) in iwlagn_tx_cmd_build_basic()
97 if (ieee80211_is_data_qos(fc)) { in iwlagn_tx_cmd_build_basic()
109 iwlagn_tx_cmd_protection(priv, info, fc, &tx_flags); in iwlagn_tx_cmd_build_basic()
112 if (ieee80211_is_mgmt(fc)) { in iwlagn_tx_cmd_build_basic()
[all …]
Drx.c678 u16 fc = le16_to_cpu(hdr->frame_control); in iwlagn_set_decrypted_flag() local
688 if (!(fc & IEEE80211_FCTL_PROTECTED)) in iwlagn_set_decrypted_flag()
730 __le16 fc = hdr->frame_control; in iwlagn_pass_packet_to_mac80211() local
778 if (unlikely(ieee80211_is_beacon(fc) && priv->passive_no_rx)) { in iwlagn_pass_packet_to_mac80211()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/
Dtrx.c221 u16 rtl8192cu_mq_to_hwq(__le16 fc, u16 mac80211_queue_index) in rtl8192cu_mq_to_hwq() argument
225 if (unlikely(ieee80211_is_beacon(fc))) { in rtl8192cu_mq_to_hwq()
229 if (ieee80211_is_mgmt(fc)) { in rtl8192cu_mq_to_hwq()
257 __le16 fc, u16 mac80211_queue_index) in _rtl8192cu_mq_to_descq() argument
262 if (unlikely(ieee80211_is_beacon(fc))) { in _rtl8192cu_mq_to_descq()
266 if (ieee80211_is_mgmt(fc)) { in _rtl8192cu_mq_to_descq()
371 __le16 fc; in _rtl_rx_process() local
419 fc = hdr->frame_control; in _rtl_rx_process()
420 bv = ieee80211_is_probe_resp(fc); in _rtl_rx_process()
424 if (ieee80211_is_beacon(fc)) in _rtl_rx_process()
[all …]
Dmac.c919 __le16 fc; in rtl92c_translate_rx_signal_stuff() local
925 fc = hdr->frame_control; in rtl92c_translate_rx_signal_stuff()
926 cpu_fc = le16_to_cpu(fc); in rtl92c_translate_rx_signal_stuff()
927 type = WLAN_FC_GET_TYPE(fc); in rtl92c_translate_rx_signal_stuff()
939 if (ieee80211_is_beacon(fc)) in rtl92c_translate_rx_signal_stuff()
Dmac.h159 enum rtl_desc_qsel rtl92c_map_hwqueue_to_fwqueue(u16 fc,
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/
Dtrx.c38 __le16 fc = rtl_get_fc(skb); in _rtl8723e_map_hwqueue_to_fwqueue() local
40 if (unlikely(ieee80211_is_beacon(fc))) in _rtl8723e_map_hwqueue_to_fwqueue()
42 if (ieee80211_is_mgmt(fc) || ieee80211_is_ctl(fc)) in _rtl8723e_map_hwqueue_to_fwqueue()
250 u16 fc, type; in translate_rx_signal_stuff() local
256 fc = le16_to_cpu(hdr->frame_control); in translate_rx_signal_stuff()
261 (ether_addr_equal(mac->bssid, (fc & IEEE80211_FCTL_TODS) ? in translate_rx_signal_stuff()
262 hdr->addr1 : (fc & IEEE80211_FCTL_FROMDS) ? in translate_rx_signal_stuff()
377 __le16 fc = hdr->frame_control; in rtl8723e_tx_fill_desc() local
410 if (ieee80211_is_nullfunc(fc) || ieee80211_is_ctl(fc)) { in rtl8723e_tx_fill_desc()
498 if (ieee80211_is_data_qos(fc)) { in rtl8723e_tx_fill_desc()
[all …]
/linux-4.1.27/drivers/staging/rtl8192e/
Drtllib_rx.c95 u16 fc = le16_to_cpu(hdr->frame_ctl); in rtllib_frag_cache_get() local
104 if (((fc & RTLLIB_FCTL_DSTODS) == RTLLIB_FCTL_DSTODS) && RTLLIB_QOS_HAS_SEQ(fc)) { in rtllib_frag_cache_get()
109 } else if (RTLLIB_QOS_HAS_SEQ(fc)) { in rtllib_frag_cache_get()
126 (RTLLIB_QOS_HAS_SEQ(fc) ? 2 : 0) /* QOS Control */); in rtllib_frag_cache_get()
164 u16 fc = le16_to_cpu(hdr->frame_ctl); in rtllib_frag_cache_invalidate() local
172 if (((fc & RTLLIB_FCTL_DSTODS) == RTLLIB_FCTL_DSTODS) && RTLLIB_QOS_HAS_SEQ(fc)) { in rtllib_frag_cache_invalidate()
177 } else if (RTLLIB_QOS_HAS_SEQ(fc)) { in rtllib_frag_cache_invalidate()
246 u16 fc, ethertype; in rtllib_is_eapol_frame() local
254 fc = le16_to_cpu(hdr->frame_ctl); in rtllib_is_eapol_frame()
257 if ((fc & (RTLLIB_FCTL_TODS | RTLLIB_FCTL_FROMDS)) == in rtllib_is_eapol_frame()
[all …]
Drtllib.h791 #define WLAN_FC_GET_VERS(fc) ((fc) & RTLLIB_FCTL_VERS) argument
792 #define WLAN_FC_GET_TYPE(fc) ((fc) & RTLLIB_FCTL_FTYPE) argument
793 #define WLAN_FC_GET_STYPE(fc) ((fc) & RTLLIB_FCTL_STYPE) argument
794 #define WLAN_FC_MORE_DATA(fc) ((fc) & RTLLIB_FCTL_MOREDATA) argument
796 #define WLAN_FC_GET_FRAMETYPE(fc) ((fc) & RTLLIB_FCTL_FRAMETYPE) argument
897 #define RTLLIB_QOS_HAS_SEQ(fc) \ argument
898 (((fc) & (RTLLIB_FC0_TYPE_MASK | RTLLIB_FC0_SUBTYPE_MASK)) == \
1429 u16 fc; in Frame_QoSTID() local
1432 fc = le16_to_cpu(hdr->frame_ctl); in Frame_QoSTID()
1433 return (u8)((union frameqos *)(buf + (((fc & RTLLIB_FCTL_TODS) && in Frame_QoSTID()
[all …]
Drtllib_crypt_ccmp.c116 u16 fc; in ccmp_init_blocks() local
120 fc = le16_to_cpu(hdr->frame_ctl); in ccmp_init_blocks()
121 a4_included = ((fc & (RTLLIB_FCTL_TODS | RTLLIB_FCTL_FROMDS)) == in ccmp_init_blocks()
124 qc_included = ((WLAN_FC_GET_TYPE(fc) == RTLLIB_FTYPE_DATA) && in ccmp_init_blocks()
125 (WLAN_FC_GET_STYPE(fc) & 0x80)); in ccmp_init_blocks()
Drtllib_tx.c575 int bytes, fc, qos_ctl = 0, hdr_len; in rtllib_xmit_inter() local
683 fc = RTLLIB_FTYPE_DATA | RTLLIB_FCTL_WEP; in rtllib_xmit_inter()
685 fc = RTLLIB_FTYPE_DATA; in rtllib_xmit_inter()
688 fc |= RTLLIB_STYPE_QOS_DATA; in rtllib_xmit_inter()
690 fc |= RTLLIB_STYPE_DATA; in rtllib_xmit_inter()
693 fc |= RTLLIB_FCTL_TODS; in rtllib_xmit_inter()
717 header.frame_ctl = cpu_to_le16(fc); in rtllib_xmit_inter()
827 fc | RTLLIB_FCTL_MOREFRAGS); in rtllib_xmit_inter()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtx.c81 __le16 fc = hdr->frame_control; in iwl_mvm_set_tx_cmd() local
91 if (ieee80211_is_probe_resp(fc)) in iwl_mvm_set_tx_cmd()
94 if (ieee80211_has_morefrags(fc)) in iwl_mvm_set_tx_cmd()
97 if (ieee80211_is_data_qos(fc)) { in iwl_mvm_set_tx_cmd()
101 } else if (ieee80211_is_back_req(fc)) { in iwl_mvm_set_tx_cmd()
127 if (ieee80211_is_mgmt(fc)) { in iwl_mvm_set_tx_cmd()
128 if (ieee80211_is_assoc_req(fc) || ieee80211_is_reassoc_req(fc)) in iwl_mvm_set_tx_cmd()
143 if (ieee80211_is_data(fc) && len > mvm->rts_threshold && in iwl_mvm_set_tx_cmd()
165 struct ieee80211_sta *sta, __le16 fc) in iwl_mvm_set_tx_cmd_rate() argument
175 if (ieee80211_is_probe_resp(fc)) { in iwl_mvm_set_tx_cmd_rate()
[all …]
Dcoex.c966 __le16 fc = hdr->frame_control; in iwl_mvm_bt_coex_tx_prio() local
977 ieee80211_is_ctl(fc) || ieee80211_is_mgmt(fc) || in iwl_mvm_bt_coex_tx_prio()
978 ieee80211_is_nullfunc(fc) || ieee80211_is_qos_nullfunc(fc)) in iwl_mvm_bt_coex_tx_prio()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dlibipw_rx.c44 u16 fc = le16_to_cpu(hdr->frame_control); in libipw_monitor_rx() local
48 skb_pull(skb, libipw_get_hdrlen(fc)); in libipw_monitor_rx()
235 u16 fc, ethertype; in libipw_is_eapol_frame() local
243 fc = le16_to_cpu(hdr->frame_ctl); in libipw_is_eapol_frame()
246 if ((fc & (IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS)) == in libipw_is_eapol_frame()
251 } else if ((fc & (IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS)) == in libipw_is_eapol_frame()
338 u16 fc, type, stype, sc; in libipw_rx() local
362 fc = le16_to_cpu(hdr->frame_ctl); in libipw_rx()
363 type = WLAN_FC_GET_TYPE(fc); in libipw_rx()
364 stype = WLAN_FC_GET_STYPE(fc); in libipw_rx()
[all …]
Dlibipw_tx.c265 int bytes, fc, hdr_len; in libipw_xmit() local
316 fc = IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA | in libipw_xmit()
319 fc = IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA; in libipw_xmit()
322 fc |= IEEE80211_FCTL_TODS; in libipw_xmit()
336 fc |= IEEE80211_STYPE_QOS_DATA; in libipw_xmit()
342 header.frame_ctl = cpu_to_le16(fc); in libipw_xmit()
455 header.frame_ctl = cpu_to_le16(fc); in libipw_xmit()
481 cpu_to_le16(fc | IEEE80211_FCTL_MOREFRAGS); in libipw_xmit()
Dlibipw.h153 #define WLAN_FC_GET_VERS(fc) ((fc) & IEEE80211_FCTL_VERS) argument
154 #define WLAN_FC_GET_TYPE(fc) ((fc) & IEEE80211_FCTL_FTYPE) argument
155 #define WLAN_FC_GET_STYPE(fc) ((fc) & IEEE80211_FCTL_STYPE) argument
877 static inline int libipw_get_hdrlen(u16 fc) in libipw_get_hdrlen() argument
880 u16 stype = WLAN_FC_GET_STYPE(fc); in libipw_get_hdrlen()
882 switch (WLAN_FC_GET_TYPE(fc)) { in libipw_get_hdrlen()
884 if ((fc & IEEE80211_FCTL_FROMDS) && (fc & IEEE80211_FCTL_TODS)) in libipw_get_hdrlen()
890 switch (WLAN_FC_GET_STYPE(fc)) { in libipw_get_hdrlen()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/
Dtrx.c42 __le16 fc = rtl_get_fc(skb); in _rtl92ce_map_hwqueue_to_fwqueue() local
44 if (unlikely(ieee80211_is_beacon(fc))) in _rtl92ce_map_hwqueue_to_fwqueue()
46 if (ieee80211_is_mgmt(fc) || ieee80211_is_ctl(fc)) in _rtl92ce_map_hwqueue_to_fwqueue()
305 __le16 fc; in _rtl92ce_translate_rx_signal_stuff() local
312 fc = hdr->frame_control; in _rtl92ce_translate_rx_signal_stuff()
313 c_fc = le16_to_cpu(fc); in _rtl92ce_translate_rx_signal_stuff()
314 type = WLAN_FC_GET_TYPE(fc); in _rtl92ce_translate_rx_signal_stuff()
328 if (ieee80211_is_beacon(fc)) in _rtl92ce_translate_rx_signal_stuff()
436 __le16 fc = hdr->frame_control; in rtl92ce_tx_fill_desc() local
472 if (ieee80211_is_nullfunc(fc) || ieee80211_is_ctl(fc)) { in rtl92ce_tx_fill_desc()
[all …]
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
Dtrx.c40 __le16 fc = rtl_get_fc(skb); in _rtl88ee_map_hwqueue_to_fwqueue() local
42 if (unlikely(ieee80211_is_beacon(fc))) in _rtl88ee_map_hwqueue_to_fwqueue()
44 if (ieee80211_is_mgmt(fc) || ieee80211_is_ctl(fc)) in _rtl88ee_map_hwqueue_to_fwqueue()
306 __le16 fc; in _rtl88ee_translate_rx_signal_stuff() local
312 fc = hdr->frame_control; in _rtl88ee_translate_rx_signal_stuff()
317 packet_matchbssid = ((!ieee80211_is_ctl(fc)) && in _rtl88ee_translate_rx_signal_stuff()
318 (ether_addr_equal(mac->bssid, ieee80211_has_tods(fc) ? in _rtl88ee_translate_rx_signal_stuff()
319 hdr->addr1 : ieee80211_has_fromds(fc) ? in _rtl88ee_translate_rx_signal_stuff()
511 __le16 fc = hdr->frame_control; in rtl88ee_tx_fill_desc() local
547 if (ieee80211_is_nullfunc(fc) || ieee80211_is_ctl(fc)) { in rtl88ee_tx_fill_desc()
[all …]
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/
Dtrx.c43 __le16 fc = rtl_get_fc(skb); in _rtl92se_map_hwqueue_to_fwqueue() local
45 if (unlikely(ieee80211_is_beacon(fc))) in _rtl92se_map_hwqueue_to_fwqueue()
47 if (ieee80211_is_mgmt(fc) || ieee80211_is_ctl(fc)) in _rtl92se_map_hwqueue_to_fwqueue()
49 if (ieee80211_is_nullfunc(fc)) in _rtl92se_map_hwqueue_to_fwqueue()
230 __le16 fc; in _rtl92se_translate_rx_signal_stuff() local
237 fc = hdr->frame_control; in _rtl92se_translate_rx_signal_stuff()
238 cfc = le16_to_cpu(fc); in _rtl92se_translate_rx_signal_stuff()
239 type = WLAN_FC_GET_TYPE(fc); in _rtl92se_translate_rx_signal_stuff()
252 if (ieee80211_is_beacon(fc)) in _rtl92se_translate_rx_signal_stuff()
351 __le16 fc = hdr->frame_control; in rtl92se_tx_fill_desc() local
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c131 int *speed, int *duplex, int *fc) in vsc8211_get_link_status() argument
177 if (fc && dplx == DUPLEX_FULL) { in vsc8211_get_link_status()
201 if (fc) in vsc8211_get_link_status()
202 *fc = pause; in vsc8211_get_link_status()
207 int *speed, int *duplex, int *fc) in vsc8211_get_link_status_fiber() argument
254 if (fc && dplx == DUPLEX_FULL) { in vsc8211_get_link_status_fiber()
269 if (fc) in vsc8211_get_link_status_fiber()
270 *fc = pause; in vsc8211_get_link_status_fiber()
Dt3_hw.c1208 int link_ok, speed, duplex, fc; in t3_link_changed() local
1214 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in t3_link_changed()
1234 fc &= lc->requested_fc; in t3_link_changed()
1236 fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t3_link_changed()
1239 duplex == lc->duplex && fc == lc->fc) in t3_link_changed()
1255 t3_mac_set_speed_duplex_fc(mac, speed, duplex, fc); in t3_link_changed()
1256 lc->fc = fc; in t3_link_changed()
1260 speed, duplex, fc); in t3_link_changed()
1269 int link_ok, speed, duplex, fc, link_fault; in t3_link_fault() local
1289 fc = lc->fc; in t3_link_fault()
[all …]
Dael1002.c177 int *duplex, int *fc) in get_link_status_r() argument
835 int *duplex, int *fc) in get_link_status_x() argument
896 int *speed, int *duplex, int *fc) in xaui_direct_get_link_status() argument
Dcommon.h434 unsigned char fc; /* actual link flow control */ member
532 int *duplex, int *fc);
716 int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc);
Dxgmac.c428 int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) in t3_mac_set_speed_duplex_fc() argument
454 if (fc & PAUSE_TX) { in t3_mac_set_speed_duplex_fc()
463 (fc & PAUSE_RX) ? F_TXPAUSEEN : 0); in t3_mac_set_speed_duplex_fc()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c93 u8 fc; member
273 if (cmac->instance->fc & PAUSE_RX) in pm3393_enable()
275 if (cmac->instance->fc & PAUSE_TX) in pm3393_enable()
404 int *duplex, int *fc) in pm3393_get_speed_duplex_fc() argument
410 if (fc) in pm3393_get_speed_duplex_fc()
411 *fc = cmac->instance->fc; in pm3393_get_speed_duplex_fc()
416 int fc) in pm3393_set_speed_duplex_fc() argument
422 if (fc & ~(PAUSE_TX | PAUSE_RX)) in pm3393_set_speed_duplex_fc()
425 if (fc != cmac->instance->fc) { in pm3393_set_speed_duplex_fc()
426 cmac->instance->fc = (u8) fc; in pm3393_set_speed_duplex_fc()
[all …]
Dsubr.c152 int link_ok, speed, duplex, fc; in t1_link_changed() local
156 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in t1_link_changed()
161 fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t1_link_changed()
167 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc); in t1_link_changed()
168 lc->fc = (unsigned char)fc; in t1_link_changed()
170 t1_link_negotiated(adapter, port_id, link_ok, speed, duplex, fc); in t1_link_changed()
625 unsigned int fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t1_link_start() local
629 if (fc) { in t1_link_start()
630 if (fc == ((PAUSE_RX | PAUSE_TX) & in t1_link_start()
635 if (fc == PAUSE_RX) in t1_link_start()
[all …]
Dmv88x201x.c172 int *speed, int *duplex, int *fc) in mv88x201x_get_link_status() argument
188 if (fc) in mv88x201x_get_link_status()
189 *fc = PAUSE_RX | PAUSE_TX; in mv88x201x_get_link_status()
Dmy3126.c110 int *link_ok, int *speed, int *duplex, int *fc) in my3126_get_link_status() argument
146 if (fc) in my3126_get_link_status()
147 *fc = PAUSE_RX | PAUSE_TX; in my3126_get_link_status()
Dgmac.h113 int (*set_speed_duplex_fc)(struct cmac *, int speed, int duplex, int fc);
115 int *fc);
Dmv88e1xxx.c241 int *speed, int *duplex, int *fc) in mv88e1xxx_get_link_status() argument
268 if (fc) in mv88e1xxx_get_link_status()
269 *fc = pause; in mv88e1xxx_get_link_status()
Dvsc7326.c464 int fc) in mac_set_speed_duplex_fc() argument
522 if (fc & PAUSE_RX) in mac_set_speed_duplex_fc()
524 if (fc & PAUSE_TX) in mac_set_speed_duplex_fc()
526 if (fc == (PAUSE_RX | PAUSE_TX)) in mac_set_speed_duplex_fc()
Dcphy.h85 int *duplex, int *fc);
/linux-4.1.27/drivers/staging/rtl8712/
Dieee80211.h293 #define WLAN_FC_GET_TYPE(fc) ((fc) & IEEE80211_FCTL_FTYPE) argument
294 #define WLAN_FC_GET_STYPE(fc) ((fc) & IEEE80211_FCTL_STYPE) argument
751 static inline int ieee80211_get_hdrlen(u16 fc) in ieee80211_get_hdrlen() argument
755 switch (WLAN_FC_GET_TYPE(fc)) { in ieee80211_get_hdrlen()
757 if (fc & IEEE80211_QOS_DATAGRP) in ieee80211_get_hdrlen()
759 if ((fc & IEEE80211_FCTL_FROMDS) && (fc & IEEE80211_FCTL_TODS)) in ieee80211_get_hdrlen()
763 switch (WLAN_FC_GET_STYPE(fc)) { in ieee80211_get_hdrlen()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c334 if (!hw->fc.pause_time) in ixgbe_fc_enable_82598()
339 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
340 hw->fc.high_water[i]) { in ixgbe_fc_enable_82598()
341 if (!hw->fc.low_water[i] || in ixgbe_fc_enable_82598()
342 hw->fc.low_water[i] >= hw->fc.high_water[i]) { in ixgbe_fc_enable_82598()
356 switch (hw->fc.requested_mode) { in ixgbe_fc_enable_82598()
358 hw->fc.requested_mode = ixgbe_fc_tx_pause; in ixgbe_fc_enable_82598()
361 hw->fc.requested_mode = ixgbe_fc_none; in ixgbe_fc_enable_82598()
389 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598()
431 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
[all …]
Dixgbe_dcb_82598.c219 fcrtl = (hw->fc.low_water[i] << 10) | IXGBE_FCRTL_XONE; in ixgbe_dcb_config_pfc_82598()
220 reg = (hw->fc.high_water[i] << 10) | IXGBE_FCRTH_FCEN; in ixgbe_dcb_config_pfc_82598()
226 reg = hw->fc.pause_time * 0x00010001; in ixgbe_dcb_config_pfc_82598()
231 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_config_pfc_82598()
Dixgbe_dcb_82599.c258 reg = (hw->fc.high_water[i] << 10) | IXGBE_FCRTH_FCEN; in ixgbe_dcb_config_pfc_82599()
259 fcrtl = (hw->fc.low_water[i] << 10) | IXGBE_FCRTL_XONE; in ixgbe_dcb_config_pfc_82599()
275 reg = hw->fc.pause_time * 0x00010001; in ixgbe_dcb_config_pfc_82599()
280 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_config_pfc_82599()
Dixgbe_common.c123 if (hw->fc.strict_ieee && hw->fc.requested_mode == ixgbe_fc_rx_pause) { in ixgbe_setup_fc()
132 if (hw->fc.requested_mode == ixgbe_fc_default) in ixgbe_setup_fc()
133 hw->fc.requested_mode = ixgbe_fc_full; in ixgbe_setup_fc()
170 switch (hw->fc.requested_mode) { in ixgbe_setup_fc()
228 if (hw->fc.strict_ieee) in ixgbe_setup_fc()
2073 if (!hw->fc.pause_time) in ixgbe_fc_enable_generic()
2078 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2079 hw->fc.high_water[i]) { in ixgbe_fc_enable_generic()
2080 if (!hw->fc.low_water[i] || in ixgbe_fc_enable_generic()
2081 hw->fc.low_water[i] >= hw->fc.high_water[i]) { in ixgbe_fc_enable_generic()
[all …]
Dixgbe_ethtool.c374 !hw->fc.disable_fc_autoneg) in ixgbe_get_pauseparam()
379 if (hw->fc.current_mode == ixgbe_fc_rx_pause) { in ixgbe_get_pauseparam()
381 } else if (hw->fc.current_mode == ixgbe_fc_tx_pause) { in ixgbe_get_pauseparam()
383 } else if (hw->fc.current_mode == ixgbe_fc_full) { in ixgbe_get_pauseparam()
394 struct ixgbe_fc_info fc = hw->fc; in ixgbe_set_pauseparam() local
406 fc.disable_fc_autoneg = (pause->autoneg != AUTONEG_ENABLE); in ixgbe_set_pauseparam()
409 fc.requested_mode = ixgbe_fc_full; in ixgbe_set_pauseparam()
411 fc.requested_mode = ixgbe_fc_rx_pause; in ixgbe_set_pauseparam()
413 fc.requested_mode = ixgbe_fc_tx_pause; in ixgbe_set_pauseparam()
415 fc.requested_mode = ixgbe_fc_none; in ixgbe_set_pauseparam()
[all …]
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c51 u16 fc = le16_to_cpu(hdr->frame_ctl); in ieee80211_monitor_rx() local
56 skb_pull(skb, ieee80211_get_hdrlen(fc)); in ieee80211_monitor_rx()
100 u16 fc = le16_to_cpu(hdr->frame_ctl); in ieee80211_frag_cache_get() local
109 if (((fc & IEEE80211_FCTL_DSTODS) == IEEE80211_FCTL_DSTODS)&&IEEE80211_QOS_HAS_SEQ(fc)) { in ieee80211_frag_cache_get()
114 } else if (IEEE80211_QOS_HAS_SEQ(fc)) { in ieee80211_frag_cache_get()
131 (IEEE80211_QOS_HAS_SEQ(fc)?2:0) /* QOS Control */); in ieee80211_frag_cache_get()
168 u16 fc = le16_to_cpu(hdr->frame_ctl); in ieee80211_frag_cache_invalidate() local
176 if(((fc & IEEE80211_FCTL_DSTODS) == IEEE80211_FCTL_DSTODS)&&IEEE80211_QOS_HAS_SEQ(fc)) { in ieee80211_frag_cache_invalidate()
181 } else if (IEEE80211_QOS_HAS_SEQ(fc)) { in ieee80211_frag_cache_invalidate()
300 u16 fc, ethertype; in ieee80211_is_eapol_frame() local
[all …]
Dieee80211.h641 #define WLAN_FC_GET_VERS(fc) ((fc) & IEEE80211_FCTL_VERS) argument
642 #define WLAN_FC_GET_TYPE(fc) ((fc) & IEEE80211_FCTL_FTYPE) argument
643 #define WLAN_FC_GET_STYPE(fc) ((fc) & IEEE80211_FCTL_STYPE) argument
645 #define WLAN_FC_GET_FRAMETYPE(fc) ((fc) & IEEE80211_FCTL_FRAMETYPE) argument
809 #define IEEE80211_QOS_HAS_SEQ(fc) \ argument
810 (((fc) & (IEEE80211_FC0_TYPE_MASK | IEEE80211_FC0_SUBTYPE_MASK)) == \
1333 u16 fc; in Frame_QoSTID() local
1335 fc = le16_to_cpu(hdr->frame_ctl); in Frame_QoSTID()
1336 …return (u8)((frameqos *)(buf + (((fc & IEEE80211_FCTL_TODS)&&(fc & IEEE80211_FCTL_FROMDS))? 30 : 2… in Frame_QoSTID()
2238 static inline int ieee80211_get_hdrlen(u16 fc) in ieee80211_get_hdrlen() argument
[all …]
Dieee80211_tx.c606 int bytes, fc, qos_ctl = 0, hdr_len; in ieee80211_xmit() local
672 fc = IEEE80211_FTYPE_DATA | IEEE80211_FCTL_WEP; in ieee80211_xmit()
675 fc = IEEE80211_FTYPE_DATA; in ieee80211_xmit()
679 fc |= IEEE80211_STYPE_QOS_DATA; in ieee80211_xmit()
681 fc |= IEEE80211_STYPE_DATA; in ieee80211_xmit()
684 fc |= IEEE80211_FCTL_TODS; in ieee80211_xmit()
698 header.frame_ctl = cpu_to_le16(fc); in ieee80211_xmit()
797 fc | IEEE80211_FCTL_MOREFRAGS); in ieee80211_xmit()
Dieee80211_crypt_ccmp.c121 u16 fc; in ccmp_init_blocks() local
125 fc = le16_to_cpu(hdr->frame_ctl); in ccmp_init_blocks()
126 a4_included = ((fc & (IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS)) == in ccmp_init_blocks()
133 qc_included = (WLAN_FC_GET_TYPE(fc) == IEEE80211_FTYPE_DATA) && in ccmp_init_blocks()
134 (WLAN_FC_GET_STYPE(fc) & 0x80); in ccmp_init_blocks()
/linux-4.1.27/drivers/tty/serial/
Dsprd_serial.c318 unsigned int ien, fc; in sprd_startup() local
349 fc = serial_in(port, SPRD_CTL1); in sprd_startup()
350 fc |= RX_TOUT_THLD_DEF | RX_HFC_THLD_DEF; in sprd_startup()
351 serial_out(port, SPRD_CTL1, fc); in sprd_startup()
375 unsigned int lcr = 0, fc; in sprd_set_termios() local
444 fc = serial_in(port, SPRD_CTL1); in sprd_set_termios()
445 fc &= ~(RX_HW_FLOW_CTL_THLD | RX_HW_FLOW_CTL_EN | TX_HW_FLOW_CTL_EN); in sprd_set_termios()
447 fc |= RX_HW_FLOW_CTL_THLD; in sprd_set_termios()
448 fc |= RX_HW_FLOW_CTL_EN; in sprd_set_termios()
449 fc |= TX_HW_FLOW_CTL_EN; in sprd_set_termios()
[all …]
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
Dtx.c84 struct ieee80211_tx_info *control, u16 fc) in wl1251_tx_control() argument
102 if ((fc & IEEE80211_FTYPE_DATA) && in wl1251_tx_control()
103 ((fc & IEEE80211_STYPE_QOS_DATA) || in wl1251_tx_control()
104 (fc & IEEE80211_STYPE_QOS_NULLFUNC))) in wl1251_tx_control()
154 u16 fc; in wl1251_tx_fill_hdr() local
163 fc = *(u16 *)skb->data; in wl1251_tx_fill_hdr()
175 wl1251_tx_control(tx_hdr, control, fc); in wl1251_tx_fill_hdr()
197 __le16 fc; in wl1251_tx_send_packet() local
201 fc = *(__le16 *)(skb->data + sizeof(*tx_hdr)); in wl1251_tx_send_packet()
205 hdrlen = ieee80211_hdrlen(fc); in wl1251_tx_send_packet()
Drx.c153 u16 length, *fc; in wl1251_rx_body() local
185 fc = (u16 *)skb->data; in wl1251_rx_body()
187 if ((*fc & IEEE80211_FCTL_STYPE) == IEEE80211_STYPE_BEACON) in wl1251_rx_body()
Dwl12xx_80211.h124 __le16 fc; member
/linux-4.1.27/arch/powerpc/math-emu/
Dmath_efp.c185 unsigned long type, func, fc, fa, fb, src, speinsn; in do_spe_mathemu() local
198 fc = (speinsn >> 21) & 0x1f; in do_spe_mathemu()
203 vc.wp[0] = current->thread.evr[fc]; in do_spe_mathemu()
204 vc.wp[1] = regs->gpr[fc]; in do_spe_mathemu()
685 current->thread.evr[fc] = vc.wp[0]; in do_spe_mathemu()
686 regs->gpr[fc] = vc.wp[1]; in do_spe_mathemu()
732 unsigned long speinsn, type, fb, fc, fptype, func; in speround_handler() local
754 fc = (speinsn >> 21) & 0x1f; in speround_handler()
755 s_lo = regs->gpr[fc] & SIGN_BIT_S; in speround_handler()
756 s_hi = current->thread.evr[fc] & SIGN_BIT_S; in speround_handler()
[all …]
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/
Dtrx.c41 __le16 fc = rtl_get_fc(skb); in _rtl92de_map_hwqueue_to_fwqueue() local
43 if (unlikely(ieee80211_is_beacon(fc))) in _rtl92de_map_hwqueue_to_fwqueue()
45 if (ieee80211_is_mgmt(fc)) in _rtl92de_map_hwqueue_to_fwqueue()
454 __le16 fc; in _rtl92de_translate_rx_signal_stuff() local
459 fc = hdr->frame_control; in _rtl92de_translate_rx_signal_stuff()
460 cfc = le16_to_cpu(fc); in _rtl92de_translate_rx_signal_stuff()
461 type = WLAN_FC_GET_TYPE(fc); in _rtl92de_translate_rx_signal_stuff()
471 if (ieee80211_is_beacon(fc)) in _rtl92de_translate_rx_signal_stuff()
559 __le16 fc = hdr->frame_control; in rtl92de_tx_fill_desc() local
593 if (ieee80211_is_nullfunc(fc) || ieee80211_is_ctl(fc)) { in rtl92de_tx_fill_desc()
[all …]
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
Dtrx.c40 __le16 fc = rtl_get_fc(skb); in _rtl8723be_map_hwqueue_to_fwqueue() local
42 if (unlikely(ieee80211_is_beacon(fc))) in _rtl8723be_map_hwqueue_to_fwqueue()
44 if (ieee80211_is_mgmt(fc) || ieee80211_is_ctl(fc)) in _rtl8723be_map_hwqueue_to_fwqueue()
223 u16 fc, type; in _rtl8723be_translate_rx_signal_stuff() local
229 fc = le16_to_cpu(hdr->frame_control); in _rtl8723be_translate_rx_signal_stuff()
236 (ether_addr_equal(mac->bssid, (fc & IEEE80211_FCTL_TODS) ? in _rtl8723be_translate_rx_signal_stuff()
237 hdr->addr1 : (fc & IEEE80211_FCTL_FROMDS) ? in _rtl8723be_translate_rx_signal_stuff()
436 __le16 fc = hdr->frame_control; in rtl8723be_tx_fill_desc() local
471 if (ieee80211_is_nullfunc(fc) || ieee80211_is_ctl(fc)) { in rtl8723be_tx_fill_desc()
570 if (ieee80211_is_data_qos(fc)) { in rtl8723be_tx_fill_desc()
[all …]
/linux-4.1.27/arch/s390/kvm/
Dtrace.h391 TP_PROTO(VCPU_PROTO_COMMON, int fc, int sel1, int sel2, u64 addr),
392 TP_ARGS(VCPU_ARGS_COMMON, fc, sel1, sel2, addr),
396 __field(int, fc)
404 __entry->fc = fc;
411 __entry->fc, __entry->sel1, __entry->sel2,
Dpriv.c503 u8 fc, u8 sel1, u16 sel2) in insert_stsi_usr_data() argument
508 vcpu->run->s390_stsi.fc = fc; in insert_stsi_usr_data()
515 int fc = (vcpu->run->s.regs.gprs[0] & 0xf0000000) >> 28; in handle_stsi() local
524 VCPU_EVENT(vcpu, 4, "stsi: fc: %x sel1: %x sel2: %x", fc, sel1, sel2); in handle_stsi()
529 if (fc > 3) { in handle_stsi()
538 if (fc == 0) { in handle_stsi()
549 switch (fc) { in handle_stsi()
555 if (stsi((void *) mem, fc, sel1, sel2)) in handle_stsi()
574 insert_stsi_usr_data(vcpu, operand2, ar, fc, sel1, sel2); in handle_stsi()
577 trace_kvm_s390_handle_stsi(vcpu, fc, sel1, sel2, operand2); in handle_stsi()
Dgaccess.c71 unsigned long fc : 1; /* Format-Control */ member
87 unsigned long fc : 1; /* Format-Control */ member
103 unsigned long fc : 1; /* Format-Control */ member
114 unsigned long fc : 1; /* Format-Control */ member
129 unsigned long fc : 1; /* Format-Control */ member
145 unsigned long fc : 1; /* Format-Control */ member
635 if (rtte.fc && edat2) { in guest_translate()
662 if (ste.fc && edat1) { in guest_translate()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Drc.c152 __le16 fc = rtl_get_fc(skb); in rtl_get_rate() local
154 bool not_data = !ieee80211_is_data(fc); in rtl_get_rate()
199 __le16 fc = rtl_get_fc(skb); in rtl_tx_status() local
202 if (!priv_sta || !ieee80211_is_data(fc)) in rtl_tx_status()
217 if (ieee80211_is_data_qos(fc)) { in rtl_tx_status()
Dusb.c454 __le16 fc; in _rtl_usb_rx_process_agg() local
465 fc = hdr->frame_control; in _rtl_usb_rx_process_agg()
478 if (ieee80211_is_data(fc)) { in _rtl_usb_rx_process_agg()
496 __le16 fc; in _rtl_usb_rx_process_noagg() local
507 fc = hdr->frame_control; in _rtl_usb_rx_process_noagg()
520 if (ieee80211_is_data(fc)) { in _rtl_usb_rx_process_noagg()
968 __le16 fc = hdr->frame_control; in _rtl_usb_tx_preprocess() local
976 if (ieee80211_is_auth(fc)) { in _rtl_usb_tx_preprocess()
982 if (ieee80211_is_data(fc) && !ieee80211_is_nullfunc(fc) && in _rtl_usb_tx_preprocess()
983 !ieee80211_has_pm(fc)) in _rtl_usb_tx_preprocess()
[all …]
Dpci.c65 __le16 fc = rtl_get_fc(skb); in _rtl_mac_to_hwqueue() local
68 if (unlikely(ieee80211_is_beacon(fc))) in _rtl_mac_to_hwqueue()
70 if (ieee80211_is_mgmt(fc) || ieee80211_is_ctl(fc)) in _rtl_mac_to_hwqueue()
73 if (ieee80211_is_nullfunc(fc)) in _rtl_mac_to_hwqueue()
572 __le16 fc; in _rtl_pci_tx_isr() local
619 fc = rtl_get_fc(skb); in _rtl_pci_tx_isr()
620 if (ieee80211_is_nullfunc(fc)) { in _rtl_pci_tx_isr()
621 if (ieee80211_has_pm(fc)) { in _rtl_pci_tx_isr()
628 if (ieee80211_is_action(fc)) { in _rtl_pci_tx_isr()
787 __le16 fc; in _rtl_pci_rx_interrupt() local
[all …]
Dbase.c1104 __le16 fc = rtl_get_fc(skb); in rtl_get_tcb_desc() local
1110 if (ieee80211_is_data(fc)) { in rtl_get_tcb_desc()
1122 ieee80211_is_nullfunc(fc)) { in rtl_get_tcb_desc()
1178 __le16 fc = rtl_get_fc(skb); in rtl_tx_mgmt_proc() local
1182 (ieee80211_is_auth(fc) || ieee80211_is_probe_req(fc))) { in rtl_tx_mgmt_proc()
1186 if (ieee80211_is_auth(fc)) { in rtl_tx_mgmt_proc()
1233 __le16 fc = rtl_get_fc(skb); in rtl_action_proc() local
1237 if (!ieee80211_is_action(fc)) in rtl_action_proc()
1323 __le16 fc = rtl_get_fc(skb); in rtl_is_special_data() local
1330 if (!ieee80211_is_data(fc)) in rtl_is_special_data()
Dusb.h118 u16 (*usb_mq_to_hwq)(__le16 fc, u16 mac80211_queue_index);
Dwifi.h2264 u16 (*usb_mq_to_hwq)(__le16 fc, u16 mac80211_queue_index);
2835 #define WLAN_FC_GET_VERS(fc) (le16_to_cpu(fc) & IEEE80211_FCTL_VERS) argument
2836 #define WLAN_FC_GET_TYPE(fc) (le16_to_cpu(fc) & IEEE80211_FCTL_FTYPE) argument
2837 #define WLAN_FC_GET_STYPE(fc) (le16_to_cpu(fc) & IEEE80211_FCTL_STYPE) argument
2838 #define WLAN_FC_MORE_DATA(fc) (le16_to_cpu(fc) & IEEE80211_FCTL_MOREDATA) argument
/linux-4.1.27/drivers/net/fddi/skfp/
Dhwmtm.c131 extern int mac_drv_rx_init(struct s_smc *smc, int len, int fc, char *look_ahead,
153 int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, int frame_len,
1056 u_char fc ; /* Frame control */ in process_receive() local
1287 fc = *(char *)mb->sm_data = *data ; in process_receive()
1294 switch(fc) { in process_receive()
1352 if ((fc & 0xf0) == FC_MAC) in process_receive()
1382 u_char fc ; in smt_to_llc() local
1387 fc = *smc->os.hwm.r.mb_pos ; in smt_to_llc()
1388 (void)mac_drv_rx_init(smc,(int)mb->sm_len,(int)fc, in smt_to_llc()
1550 int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, int frame_len, in hwm_tx_init() argument
[all …]
Dskfddi.c134 int mac_drv_rx_init(struct s_smc *smc, int len, int fc, char *look_ahead,
143 extern int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count,
1108 unsigned char fc; in send_queued_packets() local
1127 fc = skb->data[0]; in send_queued_packets()
1128 queue = (fc & FC_SYNC_BIT) ? QUEUE_S : QUEUE_A0; in send_queued_packets()
1132 if ((fc & ~(FC_SYNC_BIT | FC_LLC_PRIOR)) == FC_ASYNC_LLC) { in send_queued_packets()
1135 fc &= ~FC_SYNC_BIT; // No bandwidth available. in send_queued_packets()
1141 fc |= FC_SYNC_BIT; in send_queued_packets()
1146 frame_status = hwm_tx_init(smc, fc, 1, skb->len, queue); in send_queued_packets()
1893 int mac_drv_rx_init(struct s_smc *smc, int len, int fc, in mac_drv_rx_init() argument
Dsmt.c67 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason,
70 int fc, u_long tid, int type, int local);
71 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc,
833 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) in smt_send_frame() argument
850 smt_send_mbuf(smc,mb,local ? FC_SMT_LOC : fc) ; in smt_send_frame()
856 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, in smt_send_rdf() argument
914 rdf->refused.ref_fc = fc ; in smt_send_rdf()
934 int fc, u_long tid, int type, int local) in smt_send_nif() argument
955 smt_send_frame(smc,mb,fc,local) ; in smt_send_nif()
999 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, in smt_send_ecf() argument
[all …]
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c386 if (hw->mac.fc == PCH_GBE_FC_RX_PAUSE) { in pch_gbe_get_pauseparam()
388 } else if (hw->mac.fc == PCH_GBE_FC_TX_PAUSE) { in pch_gbe_get_pauseparam()
390 } else if (hw->mac.fc == PCH_GBE_FC_FULL) { in pch_gbe_get_pauseparam()
413 hw->mac.fc = PCH_GBE_FC_FULL; in pch_gbe_set_pauseparam()
415 hw->mac.fc = PCH_GBE_FC_RX_PAUSE; in pch_gbe_set_pauseparam()
417 hw->mac.fc = PCH_GBE_FC_TX_PAUSE; in pch_gbe_set_pauseparam()
419 hw->mac.fc = PCH_GBE_FC_NONE; in pch_gbe_set_pauseparam()
/linux-4.1.27/net/mac802154/
Drx.c149 pr_debug("fc: %04x dsn: %02x\n", le16_to_cpup((__le16 *)&hdr->fc), in ieee802154_parse_frame_start()
152 cb->type = hdr->fc.type; in ieee802154_parse_frame_start()
153 cb->ackreq = hdr->fc.ack_request; in ieee802154_parse_frame_start()
154 cb->secen = hdr->fc.security_enabled; in ieee802154_parse_frame_start()
162 if (hdr->fc.security_enabled) { in ieee802154_parse_frame_start()
Diface.c345 hdr->fc.security_enabled = 1; in mac802154_set_header_security()
373 memset(&hdr.fc, 0, sizeof(hdr.fc)); in mac802154_header_create()
374 hdr.fc.type = cb->type; in mac802154_header_create()
375 hdr.fc.security_enabled = cb->secen; in mac802154_header_create()
376 hdr.fc.ack_request = cb->ackreq; in mac802154_header_create()
Dllsec.c558 if (hdr->fc.type == IEEE802154_FC_TYPE_BEACON) { in llsec_lookup_key()
569 if (!(key_entry->key->frame_types & BIT(hdr->fc.type))) in llsec_lookup_key()
714 if (hlen < 0 || hdr.fc.type != IEEE802154_FC_TYPE_DATA) in mac802154_llsec_encrypt()
717 if (!hdr.fc.security_enabled || hdr.sec.level == 0) { in mac802154_llsec_encrypt()
994 if (!hdr.fc.security_enabled) in mac802154_llsec_decrypt()
996 if (hdr.fc.version == 0) in mac802154_llsec_decrypt()
1020 if (llsec_lookup_seclevel(sec, hdr.fc.type, 0, &seclevel) < 0) { in mac802154_llsec_decrypt()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
Dtrx.c40 __le16 fc = rtl_get_fc(skb); in _rtl92ee_map_hwqueue_to_fwqueue() local
42 if (unlikely(ieee80211_is_beacon(fc))) in _rtl92ee_map_hwqueue_to_fwqueue()
44 if (ieee80211_is_mgmt(fc) || ieee80211_is_ctl(fc)) in _rtl92ee_map_hwqueue_to_fwqueue()
247 __le16 fc; in _rtl92ee_translate_rx_signal_stuff() local
254 fc = hdr->frame_control; in _rtl92ee_translate_rx_signal_stuff()
259 packet_matchbssid = (!ieee80211_is_ctl(fc) && in _rtl92ee_translate_rx_signal_stuff()
261 ieee80211_has_tods(fc) ? in _rtl92ee_translate_rx_signal_stuff()
263 ieee80211_has_fromds(fc) ? in _rtl92ee_translate_rx_signal_stuff()
271 if (ieee80211_is_beacon(fc)) in _rtl92ee_translate_rx_signal_stuff()
675 __le16 fc = hdr->frame_control; in rtl92ee_tx_fill_desc() local
[all …]
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dtrx.c41 __le16 fc = rtl_get_fc(skb); in _rtl8821ae_map_hwqueue_to_fwqueue() local
43 if (unlikely(ieee80211_is_beacon(fc))) in _rtl8821ae_map_hwqueue_to_fwqueue()
45 if (ieee80211_is_mgmt(fc) || ieee80211_is_ctl(fc)) in _rtl8821ae_map_hwqueue_to_fwqueue()
309 __le16 fc; in translate_rx_signal_stuff() local
316 fc = hdr->frame_control; in translate_rx_signal_stuff()
322 packet_matchbssid = (!ieee80211_is_ctl(fc) && in translate_rx_signal_stuff()
324 ieee80211_has_tods(fc) ? in translate_rx_signal_stuff()
326 ieee80211_has_fromds(fc) ? in translate_rx_signal_stuff()
696 __le16 fc = hdr->frame_control; in rtl8821ae_tx_fill_desc() local
723 if (ieee80211_is_nullfunc(fc) || ieee80211_is_ctl(fc)) { in rtl8821ae_tx_fill_desc()
[all …]
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_attr.c291 hstats->seconds_since_last_reset = fcstats->fc.secs_reset; in bfad_im_get_stats()
292 hstats->tx_frames = fcstats->fc.tx_frames; in bfad_im_get_stats()
293 hstats->tx_words = fcstats->fc.tx_words; in bfad_im_get_stats()
294 hstats->rx_frames = fcstats->fc.rx_frames; in bfad_im_get_stats()
295 hstats->rx_words = fcstats->fc.rx_words; in bfad_im_get_stats()
296 hstats->lip_count = fcstats->fc.lip_count; in bfad_im_get_stats()
297 hstats->nos_count = fcstats->fc.nos_count; in bfad_im_get_stats()
298 hstats->error_frames = fcstats->fc.error_frames; in bfad_im_get_stats()
299 hstats->dumped_frames = fcstats->fc.dropped_frames; in bfad_im_get_stats()
300 hstats->link_failure_count = fcstats->fc.link_failures; in bfad_im_get_stats()
[all …]
/linux-4.1.27/drivers/staging/vt6655/
Ddpc.c45 __le16 fc; in vnt_rx_data() local
115 fc = hdr->frame_control; in vnt_rx_data()
119 if (ieee80211_has_protected(fc)) { in vnt_rx_data()
/linux-4.1.27/drivers/staging/vt6656/
Ddpc.c47 __le16 fc; in vnt_rx_data() local
165 fc = hdr->frame_control; in vnt_rx_data()
169 if (ieee80211_has_protected(fc)) { in vnt_rx_data()
/linux-4.1.27/include/net/phonet/
Dpep.h159 #define pn_flow_safe(fc) ((fc) >> 1) argument
/linux-4.1.27/arch/alpha/math-emu/
Dmath.c104 unsigned long fa, fb, fc, func, mode, src; in alpha_fp_emul() local
110 fc = (insn >> 0) & 0x1f; /* destination register */ in alpha_fp_emul()
274 alpha_write_fp_reg_s(fc, vc); in alpha_fp_emul()
282 alpha_write_fp_reg(fc, vc); in alpha_fp_emul()
/linux-4.1.27/include/uapi/linux/
Dif_hippi.h111 __u8 fc:3; member
117 __u8 fc:3;
Dif_fddi.h95 __u8 fc; /* frame control */ member
/linux-4.1.27/net/wireless/
Dutil.c340 unsigned int __attribute_const__ ieee80211_hdrlen(__le16 fc) in ieee80211_hdrlen() argument
344 if (ieee80211_is_data(fc)) { in ieee80211_hdrlen()
345 if (ieee80211_has_a4(fc)) in ieee80211_hdrlen()
347 if (ieee80211_is_data_qos(fc)) { in ieee80211_hdrlen()
349 if (ieee80211_has_order(fc)) in ieee80211_hdrlen()
355 if (ieee80211_is_mgmt(fc)) { in ieee80211_hdrlen()
356 if (ieee80211_has_order(fc)) in ieee80211_hdrlen()
361 if (ieee80211_is_ctl(fc)) { in ieee80211_hdrlen()
371 if ((fc & cpu_to_le16(0x00E0)) == cpu_to_le16(0x00C0)) in ieee80211_hdrlen()
536 __le16 fc; in ieee80211_data_from_8023() local
[all …]
/linux-4.1.27/drivers/net/dsa/
Dmv88e6060.c238 int fc; in mv88e6060_poll_link() local
263 fc = ((port_status & 0xc000) == 0xc000) ? 1 : 0; in mv88e6060_poll_link()
270 fc ? "en" : "dis"); in mv88e6060_poll_link()
/linux-4.1.27/lib/zlib_deflate/
Ddefutil.h44 } fc; member
51 #define Freq fc.freq
52 #define Code fc.code
/linux-4.1.27/sound/aoa/soundbus/i2sbus/
Dpcm.c623 u32 fc; in i2sbus_pcm_pointer() local
627 fc = in_le32(&i2sdev->intfregs->frame_count); in i2sbus_pcm_pointer()
628 fc = fc - pi->frame_count; in i2sbus_pcm_pointer()
630 if (fc >= pi->substream->runtime->buffer_size) in i2sbus_pcm_pointer()
631 fc %= pi->substream->runtime->buffer_size; in i2sbus_pcm_pointer()
632 return fc; in i2sbus_pcm_pointer()
638 u32 fc, nframes; in handle_interrupt() local
671 fc = in_le32(&i2sdev->intfregs->frame_count); in handle_interrupt()
673 if (fc < pi->frame_count + nframes) in handle_interrupt()
674 pi->frame_count = fc - nframes; in handle_interrupt()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Drx.c623 __le16 fc; in carl9170_ampdu_check() local
645 fc = ((struct ieee80211_hdr *)buf)->frame_control; in carl9170_ampdu_check()
646 if (ieee80211_is_data_qos(fc) && ieee80211_is_data_present(fc)) in carl9170_ampdu_check()
649 if (ieee80211_is_ack(fc) || ieee80211_is_back(fc) || in carl9170_ampdu_check()
650 ieee80211_is_back_req(fc)) in carl9170_ampdu_check()
653 if (ieee80211_is_action(fc)) in carl9170_ampdu_check()
Ddebug.c303 int cnt = 0, fc; in carl9170_debugfs_ampdu_state_read() local
335 fc = 0; in carl9170_debugfs_ampdu_state_read()
339 snprintf(prefix, sizeof(prefix), "\t\t%3d :", fc); in carl9170_debugfs_ampdu_state_read()
343 fc++; in carl9170_debugfs_ampdu_state_read()
359 int fc = 0; in carl9170_debugfs_queue_dump() local
363 snprintf(prefix, sizeof(prefix), "%3d :", fc); in carl9170_debugfs_queue_dump()
366 fc++; in carl9170_debugfs_queue_dump()
/linux-4.1.27/drivers/s390/cio/
Dqdio_main.c34 unsigned int fc) in do_siga_sync() argument
36 register unsigned long __fc asm ("0") = fc; in do_siga_sync()
52 unsigned int fc) in do_siga_input() argument
54 register unsigned long __fc asm ("0") = fc; in do_siga_input()
79 unsigned int *bb, unsigned int fc, in do_siga_output() argument
82 register unsigned long __fc asm("0") = fc; in do_siga_output()
288 unsigned int fc = QDIO_SIGA_SYNC; in qdio_siga_sync() local
296 fc |= QDIO_SIGA_QEBSM_FLAG; in qdio_siga_sync()
299 cc = do_siga_sync(schid, output, input, fc); in qdio_siga_sync()
317 unsigned int fc = QDIO_SIGA_WRITE; in qdio_siga_output() local
[all …]
Dcss.h50 __u8 fc; /* SPID function code */ member
/linux-4.1.27/arch/ia64/lib/
Dflush.S51 .Loop: fc.i r24 // issuable on M0 only
106 fc r24 // issuable on M0 only
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Dtxrx.c31 u16 fc, sn; in wcn36xx_rx_skb() local
65 fc = __le16_to_cpu(hdr->frame_control); in wcn36xx_rx_skb()
70 skb, skb->len, fc, sn); in wcn36xx_rx_skb()
75 skb, skb->len, fc, sn); in wcn36xx_rx_skb()
/linux-4.1.27/sound/soc/codecs/
Dab8500-codec.c1280 struct filter_control *fc = in filter_control_info() local
1284 uinfo->count = fc->count; in filter_control_info()
1285 uinfo->value.integer.min = fc->min; in filter_control_info()
1286 uinfo->value.integer.max = fc->max; in filter_control_info()
1296 struct filter_control *fc = in filter_control_get() local
1301 for (i = 0; i < fc->count; i++) in filter_control_get()
1302 ucontrol->value.integer.value[i] = fc->value[i]; in filter_control_get()
1313 struct filter_control *fc = in filter_control_put() local
1318 for (i = 0; i < fc->count; i++) in filter_control_put()
1319 fc->value[i] = ucontrol->value.integer.value[i]; in filter_control_put()
[all …]
/linux-4.1.27/Documentation/filesystems/
Dfuse.txt325 | | [sleep on fc->waitq]
330 | fc->unused_list] |
332 | [queue req on fc->pending] |
333 | [wake up fc->waitq] | [woken up]
337 | | [remove req from fc->pending]
339 | | [add req to fc->processing]
347 | | [look up req in fc->processing]
348 | | [remove from fc->processing]
356 | fc->unused_list] |
405 | | [look up req in fc->processing]
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
De1000_param.c373 unsigned int fc = FlowControl[bd]; in e1000_check_options() local
374 e1000_validate_option(&fc, &opt, adapter); in e1000_check_options()
375 adapter->hw.fc = adapter->hw.original_fc = fc; in e1000_check_options()
377 adapter->hw.fc = adapter->hw.original_fc = opt.def; in e1000_check_options()
De1000_hw.c727 if (hw->fc == E1000_FC_DEFAULT) { in e1000_setup_link()
735 hw->fc = E1000_FC_NONE; in e1000_setup_link()
738 hw->fc = E1000_FC_TX_PAUSE; in e1000_setup_link()
740 hw->fc = E1000_FC_FULL; in e1000_setup_link()
748 hw->fc &= (~E1000_FC_TX_PAUSE); in e1000_setup_link()
751 hw->fc &= (~E1000_FC_RX_PAUSE); in e1000_setup_link()
753 hw->original_fc = hw->fc; in e1000_setup_link()
755 e_dbg("After fix-ups FlowControl is now = %x\n", hw->fc); in e1000_setup_link()
799 if (!(hw->fc & E1000_FC_TX_PAUSE)) { in e1000_setup_link()
875 switch (hw->fc) { in e1000_setup_fiber_serdes_link()
[all …]
De1000_ethtool.c277 if (hw->fc == E1000_FC_RX_PAUSE) { in e1000_get_pauseparam()
279 } else if (hw->fc == E1000_FC_TX_PAUSE) { in e1000_get_pauseparam()
281 } else if (hw->fc == E1000_FC_FULL) { in e1000_get_pauseparam()
300 hw->fc = E1000_FC_FULL; in e1000_set_pauseparam()
302 hw->fc = E1000_FC_RX_PAUSE; in e1000_set_pauseparam()
304 hw->fc = E1000_FC_TX_PAUSE; in e1000_set_pauseparam()
306 hw->fc = E1000_FC_NONE; in e1000_set_pauseparam()
308 hw->original_fc = hw->fc; in e1000_set_pauseparam()
/linux-4.1.27/include/uapi/scsi/
DKbuild2 header-y += fc/
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/engine/
Dfifo.h92 #define nvkm_fifo_create(o,e,c,fc,lc,d) \ argument
93 nvkm_fifo_create_((o), (e), (c), (fc), (lc), sizeof(**d), (void **)d)
/linux-4.1.27/Documentation/isdn/
DREADME.pcbit15 ftp://ftp.di.fc.ul.pt/pub/systems/Linux/isdn
40 <roque@di.fc.ul.pt>
DCREDITS40 Pedro Roque Marques (roque@di.fc.ul.pt)
/linux-4.1.27/drivers/bcma/
Ddriver_chipcommon_pmu.c341 u32 tmp, div, ndiv, p1, p2, fc; in bcma_pmu_pll_clock() local
368 fc = bcma_pmu_get_alp_clock(cc) / 1000000; in bcma_pmu_pll_clock()
369 fc = (p1 * ndiv * fc) / p2; in bcma_pmu_pll_clock()
372 return (fc / div) * 1000000; in bcma_pmu_pll_clock()
/linux-4.1.27/fs/ceph/
Dcaps.c989 struct ceph_mds_caps *fc; in send_cap_msg() local
1004 msg = ceph_msg_new(CEPH_MSG_CLIENT_CAPS, sizeof(*fc) + extra_len, in send_cap_msg()
1011 fc = msg->front.iov_base; in send_cap_msg()
1012 memset(fc, 0, sizeof(*fc)); in send_cap_msg()
1014 fc->cap_id = cpu_to_le64(cid); in send_cap_msg()
1015 fc->op = cpu_to_le32(op); in send_cap_msg()
1016 fc->seq = cpu_to_le32(seq); in send_cap_msg()
1017 fc->issue_seq = cpu_to_le32(issue_seq); in send_cap_msg()
1018 fc->migrate_seq = cpu_to_le32(mseq); in send_cap_msg()
1019 fc->caps = cpu_to_le32(caps); in send_cap_msg()
[all …]
/linux-4.1.27/arch/s390/kernel/
Dtopology.c215 static int ptf(unsigned long fc) in ptf() argument
224 : "d" (fc) : "cc"); in ptf()
228 int topology_set_cpu_management(int fc) in topology_set_cpu_management() argument
234 if (fc) in topology_set_cpu_management()
Dsysinfo.c33 int stsi(void *sysinfo, int fc, int sel1, int sel2) in stsi() argument
35 register int r0 asm("0") = (fc << 28) | sel1; in stsi()
50 return fc ? 0 : ((unsigned int) r0) >> 28; in stsi()
Dnmi.c123 if (!mci->fc) { in s390_revalidate_registers()
/linux-4.1.27/arch/x86/platform/uv/
Dbios_uv.c86 s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher, in uv_bios_get_sn_info() argument
93 ret = uv_bios_call_irqsave(UV_BIOS_GET_SN_INFO, fc, in uv_bios_get_sn_info()
/linux-4.1.27/arch/powerpc/crypto/
Daes-tab-4k.S80 .long R(40, 20, 20, 60), R(e3, fc, fc, 1f)
107 .long R(fc, 7e, 7e, 82), R(7a, 3d, 3d, 47)
164 .long R(7b, b0, b0, cb), R(a8, 54, 54, fc)
175 .long R(4f, e5, d7, fc), R(c5, 2a, cb, d7)
238 .long R(b6, ed, fc, 68), R(b8, e4, f1, 63)
247 .long R(a8, fc, 8c, c4), R(a0, f0, 3f, 1a)
269 .long R(74, 4e, bc, 37), R(fc, 82, ca, a6)
/linux-4.1.27/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c1156 int ieee80211_get_hdrlen(u16 fc) in ieee80211_get_hdrlen() argument
1160 switch (WLAN_FC_GET_TYPE(fc)) { in ieee80211_get_hdrlen()
1162 if (fc & RTW_IEEE80211_STYPE_QOS_DATA) in ieee80211_get_hdrlen()
1164 if ((fc & RTW_IEEE80211_FCTL_FROMDS) && (fc & RTW_IEEE80211_FCTL_TODS)) in ieee80211_get_hdrlen()
1168 switch (WLAN_FC_GET_STYPE(fc)) { in ieee80211_get_hdrlen()
1345 u16 fc; in rtw_action_frame_parse() local
1348 fc = le16_to_cpu(((struct rtw_ieee80211_hdr_3addr *)frame)->frame_ctl); in rtw_action_frame_parse()
1350 if ((fc & (RTW_IEEE80211_FCTL_FTYPE|RTW_IEEE80211_FCTL_STYPE)) != in rtw_action_frame_parse()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c266 lc->requested_fc = lc->fc = PAUSE_RX | PAUSE_TX; in init_link_config()
1493 int action, port_id, link_ok, speed, fc, pidx; in t4vf_handle_fw_rpl() local
1513 fc = 0; in t4vf_handle_fw_rpl()
1515 fc |= PAUSE_RX; in t4vf_handle_fw_rpl()
1517 fc |= PAUSE_TX; in t4vf_handle_fw_rpl()
1549 fc != lc->fc) { in t4vf_handle_fw_rpl()
1553 lc->fc = fc; in t4vf_handle_fw_rpl()
Dcxgb4vf_main.c161 const char *fc; in t4vf_os_link_changed() local
188 switch (pi->link_cfg.fc) { in t4vf_os_link_changed()
190 fc = "RX"; in t4vf_os_link_changed()
194 fc = "TX"; in t4vf_os_link_changed()
198 fc = "RX/TX"; in t4vf_os_link_changed()
202 fc = "no"; in t4vf_os_link_changed()
206 netdev_info(dev, "link up, %s, full-duplex, %s PAUSE\n", s, fc); in t4vf_os_link_changed()
1474 pauseparam->rx_pause = (pi->link_cfg.fc & PAUSE_RX) != 0; in cxgb4vf_get_pauseparam()
1475 pauseparam->tx_pause = (pi->link_cfg.fc & PAUSE_TX) != 0; in cxgb4vf_get_pauseparam()
Dt4vf_common.h111 unsigned char fc; /* actual link flow control */ member
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dsb1250-mac.c308 enum sbmac_fc fc);
1901 enum sbmac_fc fc) in sbmac_set_duplex() argument
1910 s->sbm_fc = fc; in sbmac_set_duplex()
1930 switch (fc) { in sbmac_set_duplex()
1950 switch (fc) { in sbmac_set_duplex()
2417 enum sbmac_fc fc; in sbmac_mii_poll() local
2442 fc = sbmac_fc_frame; in sbmac_mii_poll()
2444 fc = sbmac_fc_disabled; in sbmac_mii_poll()
2446 fc = sbmac_fc_collision; in sbmac_mii_poll()
2447 fc_chg = (sc->sbm_fc != fc); in sbmac_mii_poll()
[all …]
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c201 unsigned int fc, unsigned int pause_time) in dwmac1000_flow_ctrl() argument
210 if (fc & FLOW_RX) { in dwmac1000_flow_ctrl()
214 if (fc & FLOW_TX) { in dwmac1000_flow_ctrl()
Ddwmac100_core.c148 unsigned int fc, unsigned int pause_time) in dwmac100_flow_ctrl() argument
/linux-4.1.27/drivers/clk/mmp/
Dclk.h226 #define DEFINE_MIX_REG_INFO(w_d, s_d, w_m, s_m, fc) \ argument
232 .bit_fc = (fc), \
/linux-4.1.27/arch/s390/include/asm/
Dtopology.h34 int topology_set_cpu_management(int fc);
Dnmi.h53 __u32 fc : 1; /* 43 fp control register validity */ member
Dpci_insn.h58 u8 fc; /* function controls */ member
Dsysinfo.h166 int stsi(void *sysinfo, int fc, int sel1, int sel2);
/linux-4.1.27/net/atm/
Dlec.h26 unsigned char fc; member
/linux-4.1.27/drivers/net/wireless/orinoco/
Dmain.c750 u16 fc; in orinoco_rx_monitor() local
761 fc = le16_to_cpu(desc->frame_ctl); in orinoco_rx_monitor()
762 switch (fc & IEEE80211_FCTL_FTYPE) { in orinoco_rx_monitor()
764 if ((fc & IEEE80211_FCTL_TODS) in orinoco_rx_monitor()
765 && (fc & IEEE80211_FCTL_FROMDS)) in orinoco_rx_monitor()
776 switch (fc & IEEE80211_FCTL_STYPE) { in orinoco_rx_monitor()
966 u16 status, fc; in orinoco_rx() local
972 fc = le16_to_cpu(desc->frame_ctl); in orinoco_rx()
981 u8 *src = (fc & IEEE80211_FCTL_FROMDS) ? in orinoco_rx()
1055 if (fc & IEEE80211_FCTL_FROMDS) in orinoco_rx()
[all …]
/linux-4.1.27/Documentation/zh_CN/
Dmagic-number.txt95 LSEMAGIC 0x05091998 lse drivers/fc4/fc.c
104 LSOMAGIC 0x27091997 lso drivers/fc4/fc.c
105 LSMAGIC 0x2a3b4d2a ls drivers/fc4/fc.c
/linux-4.1.27/arch/ia64/include/asm/
Dparavirt_privop.h36 void (*fc)(void *addr); member
400 PARAVIRT_DEFINE_CPU_OP1_VOID(fc, FC);
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D3945-mac.c415 __le16 fc = hdr->frame_control; in il3945_build_tx_cmd_basic() local
420 if (ieee80211_is_mgmt(fc)) in il3945_build_tx_cmd_basic()
422 if (ieee80211_is_probe_resp(fc) && in il3945_build_tx_cmd_basic()
431 if (ieee80211_has_morefrags(fc)) in il3945_build_tx_cmd_basic()
434 if (ieee80211_is_data_qos(fc)) { in il3945_build_tx_cmd_basic()
442 il_tx_cmd_protection(il, info, fc, &tx_flags); in il3945_build_tx_cmd_basic()
445 if (ieee80211_is_mgmt(fc)) { in il3945_build_tx_cmd_basic()
446 if (ieee80211_is_assoc_req(fc) || ieee80211_is_reassoc_req(fc)) in il3945_build_tx_cmd_basic()
483 __le16 fc; in il3945_tx_skb() local
502 fc = hdr->frame_control; in il3945_tx_skb()
[all …]
D4965-mac.c584 __le16 fc = hdr->frame_control; in il4965_pass_packet_to_mac80211() local
617 il_update_stats(il, false, fc, len); in il4965_pass_packet_to_mac80211()
1504 __le16 fc = hdr->frame_control; in il4965_tx_cmd_build_basic() local
1510 if (ieee80211_is_mgmt(fc)) in il4965_tx_cmd_build_basic()
1512 if (ieee80211_is_probe_resp(fc) && in il4965_tx_cmd_build_basic()
1520 if (ieee80211_is_back_req(fc)) in il4965_tx_cmd_build_basic()
1524 if (ieee80211_has_morefrags(fc)) in il4965_tx_cmd_build_basic()
1527 if (ieee80211_is_data_qos(fc)) { in il4965_tx_cmd_build_basic()
1535 il_tx_cmd_protection(il, info, fc, &tx_flags); in il4965_tx_cmd_build_basic()
1538 if (ieee80211_is_mgmt(fc)) { in il4965_tx_cmd_build_basic()
[all …]
/linux-4.1.27/drivers/staging/rtl8188eu/include/
Dieee80211.h472 #define WLAN_FC_GET_TYPE(fc) ((fc) & RTW_IEEE80211_FCTL_FTYPE) argument
473 #define WLAN_FC_GET_STYPE(fc) ((fc) & RTW_IEEE80211_FCTL_STYPE) argument
975 int ieee80211_get_hdrlen(u16 fc);
/linux-4.1.27/arch/ia64/include/uapi/asm/
Dintrinsics.h101 #define ia64_fc IA64_INTRINSIC_API(fc)
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dwl12xx_80211.h113 __le16 fc; member
/linux-4.1.27/Documentation/hwmon/
Dltc41519 http://www.linear.com/docs/Datasheet/4151fc.pdf
Dltc42609 http://cds.linear.com/docs/en/datasheet/4260fc.pdf
/linux-4.1.27/net/802/
Dhippi.c64 hip->le.fc = 0; in hippi_header()
Dfddi.c62 fddi->fc = FDDI_FC_K_ASYNC_LLC_DEF; in fddi_header()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c2101 unsigned int fc = 0, mdi = FW_PORT_CAP_MDI_V(FW_PORT_CAP_MDI_AUTO); in t4_link_start() local
2105 fc |= FW_PORT_CAP_FC_RX; in t4_link_start()
2107 fc |= FW_PORT_CAP_FC_TX; in t4_link_start()
2116 c.u.l1cfg.rcap = htonl((lc->supported & ADVERT_MASK) | fc); in t4_link_start()
2117 lc->fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t4_link_start()
2119 c.u.l1cfg.rcap = htonl(lc->requested_speed | fc | mdi); in t4_link_start()
2120 lc->fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t4_link_start()
2122 c.u.l1cfg.rcap = htonl(lc->advertising | fc | mdi); in t4_link_start()
4906 int speed = 0, fc = 0; in t4_handle_fw_rpl() local
4917 fc |= PAUSE_RX; in t4_handle_fw_rpl()
[all …]
/linux-4.1.27/Documentation/fmc/
Dparameters.txt55 0060: ff 07 fc 47 00 00 00 01 20 12 03 05 57 52 2d 50
/linux-4.1.27/drivers/net/ethernet/sfc/
Dmcdi_port.c316 link_state->fc = EFX_FC_AUTO | EFX_FC_TX | EFX_FC_RX; in efx_mcdi_phy_decode_link()
319 link_state->fc = EFX_FC_TX | EFX_FC_RX; in efx_mcdi_phy_decode_link()
322 link_state->fc = EFX_FC_RX; in efx_mcdi_phy_decode_link()
327 link_state->fc = 0; in efx_mcdi_phy_decode_link()
Dnet_driver.h701 u8 fc; member
709 left->fc == right->fc && left->speed == right->speed; in efx_link_state_equal()
/linux-4.1.27/arch/s390/include/uapi/asm/
Dvtoc.h159 __u16 fc; /* number of whole cylinders in free ext. */ member
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbfa_defs_cna.h108 struct bfa_port_fc_stats fc; member
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dframework.c68 #define sfw_unpack_fw_counters(fc) \ argument
70 __swab32s(&(fc).running_ms); \
71 __swab32s(&(fc).active_batches); \
72 __swab32s(&(fc).zombie_sessions); \
73 __swab32s(&(fc).brw_errors); \
74 __swab32s(&(fc).ping_errors); \
/linux-4.1.27/arch/ia64/hp/sim/boot/
Dboot_head.S101 .loop: fc r8
/linux-4.1.27/arch/ia64/include/asm/native/
Dpvchk_inst.h40 #define fc .error "fc should not be used directly." macro
/linux-4.1.27/drivers/media/v4l2-core/
Dvideobuf-core.c853 unsigned int *fc = CALLPTR(q, vaddr, buf); in __videobuf_copy_stream() local
860 fc += (buf->size >> 2) - 1; in __videobuf_copy_stream()
861 *fc = buf->field_count >> 1; in __videobuf_copy_stream()
862 dprintk(1, "vbihack: %d\n", *fc); in __videobuf_copy_stream()
/linux-4.1.27/arch/m68k/ifpsp060/
Dftest.sa16 dc.l $fea0487b,$01700000,$058061ff,$000015fc
217 dc.l $72666c6f,$772e2e2e,$000051fc,$52aefea0
272 dc.l $626c6564,$20534e41,$4e2e2e2e,$000051fc
300 dc.l $5a2e2e2e,$000051fc,$52aefea0,$4cfb3fff
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c513 switch (hw->fc.requested_mode) { in i40e_get_settings()
741 if (hw->fc.current_mode == I40E_FC_RX_PAUSE) { in i40e_get_pauseparam()
743 } else if (hw->fc.current_mode == I40E_FC_TX_PAUSE) { in i40e_get_pauseparam()
745 } else if (hw->fc.current_mode == I40E_FC_FULL) { in i40e_get_pauseparam()
801 hw->fc.requested_mode = I40E_FC_FULL; in i40e_set_pauseparam()
803 hw->fc.requested_mode = I40E_FC_RX_PAUSE; in i40e_set_pauseparam()
805 hw->fc.requested_mode = I40E_FC_TX_PAUSE; in i40e_set_pauseparam()
807 hw->fc.requested_mode = I40E_FC_NONE; in i40e_set_pauseparam()

12