| /drivers/media/common/b2c2/ |
| D | flexcop.c | 47 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_start_feed() local 48 return flexcop_pid_feed_control(fc, dvbdmxfeed, 1); in flexcop_dvb_start_feed() 53 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_stop_feed() local 54 return flexcop_pid_feed_control(fc, dvbdmxfeed, 0); in flexcop_dvb_stop_feed() 57 static int flexcop_dvb_init(struct flexcop_device *fc) in flexcop_dvb_init() argument 59 int ret = dvb_register_adapter(&fc->dvb_adapter, in flexcop_dvb_init() 60 "FlexCop Digital TV device", fc->owner, in flexcop_dvb_init() 61 fc->dev, adapter_nr); in flexcop_dvb_init() 66 fc->dvb_adapter.priv = fc; in flexcop_dvb_init() 68 fc->demux.dmx.capabilities = (DMX_TS_FILTERING | DMX_SECTION_FILTERING in flexcop_dvb_init() [all …]
|
| D | flexcop-hw-filter.c | 9 static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff) in flexcop_rcv_data_ctrl() argument 15 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff) in flexcop_smc_ctrl() argument 20 static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_null_filter_ctrl() argument 25 void flexcop_set_mac_filter(struct flexcop_device *fc, u8 mac[6]) in flexcop_set_mac_filter() argument 28 v41c = fc->read_ibi_reg(fc, mac_address_41c); in flexcop_set_mac_filter() 37 fc->write_ibi_reg(fc, mac_address_418, v418); in flexcop_set_mac_filter() 38 fc->write_ibi_reg(fc, mac_address_41c, v41c); in flexcop_set_mac_filter() 41 void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_mac_filter_ctrl() argument 46 static void flexcop_pid_group_filter(struct flexcop_device *fc, in flexcop_pid_group_filter() argument 53 fc->write_ibi_reg(fc, pid_filter_30c, v30c); in flexcop_pid_group_filter() [all …]
|
| D | flexcop-fe-tuner.c | 34 struct flexcop_device *fc = fe->dvb->priv; in flexcop_fe_request_firmware() local 36 return request_firmware(fw, name, fc->dev); in flexcop_fe_request_firmware() 45 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_voltage() local 49 v = fc->read_ibi_reg(fc, misc_204); in flexcop_set_voltage() 66 return fc->write_ibi_reg(fc, misc_204, v); in flexcop_set_voltage() 73 struct flexcop_device *fc = fe->dvb->priv; in flexcop_sleep() local 74 if (fc->fe_sleep) in flexcop_sleep() 75 return fc->fe_sleep(fe); in flexcop_sleep() 85 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_tone() local 106 return fc->write_ibi_reg(fc,lnb_switch_freq_200,v); in flexcop_set_tone() [all …]
|
| D | flexcop-i2c.c | 11 static int flexcop_i2c_operation(struct flexcop_device *fc, in flexcop_i2c_operation() argument 20 fc->write_ibi_reg(fc, tw_sm_c_100, ibi_zero); in flexcop_i2c_operation() 21 fc->write_ibi_reg(fc, tw_sm_c_100, *r100); /* initiating i2c operation */ in flexcop_i2c_operation() 24 r = fc->read_ibi_reg(fc, tw_sm_c_100); in flexcop_i2c_operation() 59 if (i2c->fc->dev_type == FC_SKY_REV27) in flexcop_i2c_read4() 62 ret = flexcop_i2c_operation(i2c->fc, &r100); in flexcop_i2c_read4() 66 ret = flexcop_i2c_operation(i2c->fc, &r100); in flexcop_i2c_read4() 76 r104 = i2c->fc->read_ibi_reg(i2c->fc, tw_sm_c_104); in flexcop_i2c_read4() 87 static int flexcop_i2c_write4(struct flexcop_device *fc, in flexcop_i2c_write4() argument 103 fc->write_ibi_reg(fc, tw_sm_c_104, r104); in flexcop_i2c_write4() [all …]
|
| D | flexcop-common.h | 50 struct flexcop_device *fc; member 104 int (*get_mac_addr) (struct flexcop_device *fc, int extended); 111 void flexcop_pass_dmx_data(struct flexcop_device *fc, u8 *buf, u32 len); 112 void flexcop_pass_dmx_packets(struct flexcop_device *fc, u8 *buf, u32 no); 118 void flexcop_device_exit(struct flexcop_device *fc); 119 void flexcop_reset_block_300(struct flexcop_device *fc); 126 int flexcop_dma_control_timer_irq(struct flexcop_device *fc, 128 int flexcop_dma_control_size_irq(struct flexcop_device *fc, 130 int flexcop_dma_config(struct flexcop_device *fc, struct flexcop_dma *dma, 132 int flexcop_dma_xfer_control(struct flexcop_device *fc, [all …]
|
| D | flexcop-misc.c | 9 void flexcop_determine_revision(struct flexcop_device *fc) in flexcop_determine_revision() argument 11 flexcop_ibi_value v = fc->read_ibi_reg(fc,misc_204); in flexcop_determine_revision() 16 fc->rev = FLEXCOP_II; in flexcop_determine_revision() 20 fc->rev = FLEXCOP_IIB; in flexcop_determine_revision() 24 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() 65 void flexcop_device_name(struct flexcop_device *fc, in flexcop_device_name() argument 69 prefix, flexcop_device_names[fc->dev_type], in flexcop_device_name() 70 flexcop_bus_names[fc->bus_type], in flexcop_device_name() 71 flexcop_revision_names[fc->rev], suffix); in flexcop_device_name() [all …]
|
| D | flexcop-sram.c | 9 static void flexcop_sram_set_chip(struct flexcop_device *fc, in flexcop_sram_set_chip() argument 15 int flexcop_sram_init(struct flexcop_device *fc) in flexcop_sram_init() argument 17 switch (fc->rev) { in flexcop_sram_init() 20 flexcop_sram_set_chip(fc, FC_SRAM_1_32KB); in flexcop_sram_init() 23 flexcop_sram_set_chip(fc, FC_SRAM_1_48KB); in flexcop_sram_init() 31 int flexcop_sram_set_dest(struct flexcop_device *fc, flexcop_sram_dest_t dest, in flexcop_sram_set_dest() argument 35 v = fc->read_ibi_reg(fc, sram_dest_reg_714); in flexcop_sram_set_dest() 37 if (fc->rev != FLEXCOP_III && target == FC_SRAM_DEST_TARGET_FC3_CA) { in flexcop_sram_set_dest() 52 fc->write_ibi_reg(fc,sram_dest_reg_714,v); in flexcop_sram_set_dest() 59 void flexcop_wan_set_speed(struct flexcop_device *fc, flexcop_wan_speed_t s) in flexcop_wan_set_speed() argument [all …]
|
| D | flexcop-eeprom.c | 90 static int flexcop_eeprom_read(struct flexcop_device *fc, 93 return fc->i2c_request(fc,FC_READ,FC_I2C_PORT_EEPROM,0x50,addr,buf,len); 107 static int flexcop_eeprom_request(struct flexcop_device *fc, in flexcop_eeprom_request() argument 113 ret = fc->i2c_request(&fc->fc_i2c_adap[1], op, chipaddr, in flexcop_eeprom_request() 121 static int flexcop_eeprom_lrc_read(struct flexcop_device *fc, u16 addr, in flexcop_eeprom_lrc_read() argument 124 int ret = flexcop_eeprom_request(fc, FC_READ, addr, buf, len, retries); in flexcop_eeprom_lrc_read() 133 int flexcop_eeprom_check_mac_addr(struct flexcop_device *fc, int extended) in flexcop_eeprom_check_mac_addr() argument 138 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()
|
| /drivers/isdn/hardware/mISDN/ |
| D | avmfritz.c | 173 struct fritzcard *fc = p; in ReadISAC_V1() local 176 outb(idx, fc->addr + CHIP_INDEX); in ReadISAC_V1() 177 return inb(fc->addr + CHIP_WINDOW + (offset & 0xf)); in ReadISAC_V1() 183 struct fritzcard *fc = p; in WriteISAC_V1() local 186 outb(idx, fc->addr + CHIP_INDEX); in WriteISAC_V1() 187 outb(value, fc->addr + CHIP_WINDOW + (offset & 0xf)); in WriteISAC_V1() 193 struct fritzcard *fc = p; in ReadFiFoISAC_V1() local 195 outb(AVM_ISAC_FIFO, fc->addr + CHIP_INDEX); in ReadFiFoISAC_V1() 196 insb(fc->addr + CHIP_WINDOW, data, size); in ReadFiFoISAC_V1() 202 struct fritzcard *fc = p; in WriteFiFoISAC_V1() local [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| D | mlx5hws_definer.c | 115 #define HWS_CALC_HDR_SRC(fc, s_hdr) \ argument 117 (fc)->s_bit_mask = __mlx5_mask(fte_match_param, s_hdr); \ 118 (fc)->s_bit_off = __mlx5_dw_bit_off(fte_match_param, s_hdr); \ 119 (fc)->s_byte_off = MLX5_BYTE_OFF(fte_match_param, s_hdr); \ 122 #define HWS_CALC_HDR_DST(fc, d_hdr) \ argument 124 (fc)->bit_mask = __mlx5_mask(definer_hl, d_hdr); \ 125 (fc)->bit_off = __mlx5_dw_bit_off(definer_hl, d_hdr); \ 126 (fc)->byte_off = MLX5_BYTE_OFF(definer_hl, d_hdr); \ 129 #define HWS_CALC_HDR(fc, s_hdr, d_hdr) \ argument 131 HWS_CALC_HDR_SRC(fc, s_hdr); \ [all …]
|
| /drivers/dma-buf/ |
| D | st-dma-fence-chain.c | 113 static int fence_chains_init(struct fence_chains *fc, unsigned int count, in fence_chains_init() argument 119 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init() 121 if (!fc->chains) in fence_chains_init() 124 fc->fences = kvmalloc_array(count, sizeof(*fc->fences), in fence_chains_init() 126 if (!fc->fences) { in fence_chains_init() 131 fc->tail = NULL; in fence_chains_init() 133 fc->fences[i] = mock_fence(); in fence_chains_init() 134 if (!fc->fences[i]) { in fence_chains_init() 139 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init() 140 fc->fences[i], in fence_chains_init() [all …]
|
| /drivers/md/ |
| D | dm-flakey.c | 21 #define all_corrupt_bio_flags_match(bio, fc) \ argument 22 (((bio)->bi_opf & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags) 54 static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, in parse_features() argument 89 if (test_and_set_bit(ERROR_READS, &fc->flags)) { in parse_features() 100 if (test_and_set_bit(DROP_WRITES, &fc->flags)) { in parse_features() 103 } else if (test_bit(ERROR_WRITES, &fc->flags)) { in parse_features() 115 if (test_and_set_bit(ERROR_WRITES, &fc->flags)) { in parse_features() 119 } else if (test_bit(DROP_WRITES, &fc->flags)) { in parse_features() 136 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); in parse_features() 146 fc->corrupt_bio_rw = WRITE; in parse_features() [all …]
|
| /drivers/platform/x86/ |
| D | lenovo-yoga-tab2-pro-1380-fastcharger.c | 49 static int yt2_1380_fc_set_gpio_mode(struct yt2_1380_fc *fc, bool enable) in yt2_1380_fc_set_gpio_mode() argument 51 struct pinctrl_state *state = enable ? fc->gpio_state : fc->uart_state; in yt2_1380_fc_set_gpio_mode() 54 ret = pinctrl_select_state(fc->pinctrl, state); in yt2_1380_fc_set_gpio_mode() 56 dev_err(fc->dev, "Error %d setting pinctrl state\n", ret); in yt2_1380_fc_set_gpio_mode() 64 static bool yt2_1380_fc_dedicated_charger_connected(struct yt2_1380_fc *fc) in yt2_1380_fc_dedicated_charger_connected() argument 66 return extcon_get_state(fc->extcon, EXTCON_CHG_USB_DCP) > 0; in yt2_1380_fc_dedicated_charger_connected() 69 static bool yt2_1380_fc_fast_charger_connected(struct yt2_1380_fc *fc) in yt2_1380_fc_fast_charger_connected() argument 71 return extcon_get_state(fc->extcon, EXTCON_CHG_USB_FAST) > 0; in yt2_1380_fc_fast_charger_connected() 76 struct yt2_1380_fc *fc = container_of(work, struct yt2_1380_fc, work); in yt2_1380_fc_worker() local 80 if (yt2_1380_fc_fast_charger_connected(fc)) in yt2_1380_fc_worker() [all …]
|
| /drivers/media/pci/b2c2/ |
| D | flexcop-dma.c | 42 int flexcop_dma_config(struct flexcop_device *fc, in flexcop_dma_config() argument 54 fc->write_ibi_reg(fc, dma1_000, v0x0); in flexcop_dma_config() 55 fc->write_ibi_reg(fc, dma1_004, v0x4); in flexcop_dma_config() 56 fc->write_ibi_reg(fc, dma1_00c, v0xc); in flexcop_dma_config() 58 fc->write_ibi_reg(fc, dma2_010, v0x0); in flexcop_dma_config() 59 fc->write_ibi_reg(fc, dma2_014, v0x4); in flexcop_dma_config() 60 fc->write_ibi_reg(fc, dma2_01c, v0xc); in flexcop_dma_config() 72 int flexcop_dma_xfer_control(struct flexcop_device *fc, in flexcop_dma_xfer_control() argument 92 v0x0 = fc->read_ibi_reg(fc, r0x0); in flexcop_dma_xfer_control() 93 v0xc = fc->read_ibi_reg(fc, r0xc); in flexcop_dma_xfer_control() [all …]
|
| D | flexcop-pci.c | 76 static flexcop_ibi_value flexcop_pci_read_ibi_reg(struct flexcop_device *fc, in flexcop_pci_read_ibi_reg() argument 79 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_read_ibi_reg() 91 static int flexcop_pci_write_ibi_reg(struct flexcop_device *fc, in flexcop_pci_write_ibi_reg() argument 94 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_write_ibi_reg() 109 struct flexcop_device *fc = fc_pci->fc_dev; in flexcop_pci_irq_check_work() local 111 if (fc->feedcount) { in flexcop_pci_irq_check_work() 119 spin_lock_irq(&fc->demux.lock); in flexcop_pci_irq_check_work() 120 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work() 122 flexcop_pid_feed_control(fc, feed, 0); in flexcop_pci_irq_check_work() 125 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work() [all …]
|
| /drivers/mtd/ |
| D | mtdsuper.c | 25 static int mtd_get_sb(struct fs_context *fc, in mtd_get_sb() argument 33 sb = sget_dev(fc, MKDEV(MTD_BLOCK_MAJOR, mtd->index)); in mtd_get_sb() 57 ret = fill_super(sb, fc); in mtd_get_sb() 64 BUG_ON(fc->root); in mtd_get_sb() 65 fc->root = dget(sb->s_root); in mtd_get_sb() 76 static int mtd_get_sb_by_nr(struct fs_context *fc, int mtdnr, in mtd_get_sb_by_nr() argument 84 errorf(fc, "MTDSB: Device #%u doesn't appear to exist\n", mtdnr); in mtd_get_sb_by_nr() 88 return mtd_get_sb(fc, mtd, fill_super); in mtd_get_sb_by_nr() 96 int get_tree_mtd(struct fs_context *fc, in get_tree_mtd() argument 98 struct fs_context *fc)) in get_tree_mtd() [all …]
|
| /drivers/scsi/esas2r/ |
| D | esas2r_flash.c | 137 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 …]
|
| /drivers/net/ethernet/marvell/prestera/ |
| D | prestera_router.c | 580 struct prestera_kern_fib_cache *fc) in __prestera_kern_fib_cache_create_nhs() argument 587 if (!prestera_fib_info_is_nh(&fc->info)) in __prestera_kern_fib_cache_create_nhs() 590 nhs = prestera_kern_fib_info_nhs(&fc->info); in __prestera_kern_fib_cache_create_nhs() 595 nhc = prestera_kern_fib_info_nhc(&fc->fen4_info.info, i); in __prestera_kern_fib_cache_create_nhs() 604 fc->kern_neigh_cache_head[i].this = fc; in __prestera_kern_fib_cache_create_nhs() 605 fc->kern_neigh_cache_head[i].n_cache = n_cache; in __prestera_kern_fib_cache_create_nhs() 606 list_add(&fc->kern_neigh_cache_head[i].head, in __prestera_kern_fib_cache_create_nhs() 697 struct prestera_kern_fib_cache *fc, in __prestera_k_arb_fib_lpm_offload_set() argument 702 switch (fc->key.addr.v) { in __prestera_k_arb_fib_lpm_offload_set() 704 fri.fi = fc->fen4_info.fi; in __prestera_k_arb_fib_lpm_offload_set() [all …]
|
| /drivers/crypto/nx/ |
| D | nx.c | 383 if (msc->fc >= NX_MAX_FC || msc->mode >= NX_MAX_MODE) { in nx_of_update_msc() 385 "combo: %d/%d (ignored)\n", msc->fc, in nx_of_update_msc() 400 props->ap[msc->fc][msc->mode][0].databytelen = in nx_of_update_msc() 402 props->ap[msc->fc][msc->mode][0].sglen = in nx_of_update_msc() 406 props->ap[msc->fc][msc->mode][1].databytelen = in nx_of_update_msc() 408 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc() 412 if (msc->fc == NX_FC_AES) { in nx_of_update_msc() 413 props->ap[msc->fc][msc->mode][2]. in nx_of_update_msc() 415 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc() 417 } else if (msc->fc == NX_FC_AES_HMAC || in nx_of_update_msc() [all …]
|
| /drivers/net/ethernet/intel/igc/ |
| D | igc_mac.c | 92 if (hw->fc.current_mode & igc_fc_tx_pause) { in igc_set_fc_watermarks() 97 fcrtl = hw->fc.low_water; in igc_set_fc_watermarks() 98 if (hw->fc.send_xon) in igc_set_fc_watermarks() 101 fcrth = hw->fc.high_water; in igc_set_fc_watermarks() 132 if (hw->fc.requested_mode == igc_fc_default) in igc_setup_link() 133 hw->fc.requested_mode = igc_fc_full; in igc_setup_link() 139 hw->fc.current_mode = hw->fc.requested_mode; in igc_setup_link() 141 hw_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in igc_setup_link() 158 wr32(IGC_FCTTV, hw->fc.pause_time); in igc_setup_link() 200 hw_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igc_force_mac_fc() [all …]
|
| /drivers/media/usb/b2c2/ |
| D | flexcop-usb.c | 69 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() 220 static int flexcop_usb_get_mac_addr(struct flexcop_device *fc, int extended) in flexcop_usb_get_mac_addr() argument 222 return flexcop_usb_memory_req(fc->bus_specific, B2C2_USB_READ_V8_MEM, in flexcop_usb_get_mac_addr() 224 fc->dvb_adapter.proposed_mac, 6); in flexcop_usb_get_mac_addr() 232 struct flexcop_usb *fc_usb = i2c->fc->bus_specific; in flexcop_usb_i2c_req() 300 static flexcop_ibi_value flexcop_usb_read_ibi_reg(struct flexcop_device *fc, in flexcop_usb_read_ibi_reg() argument 305 flexcop_usb_readwrite_dw(fc, reg, &val.raw, 1); in flexcop_usb_read_ibi_reg() 309 static int flexcop_usb_write_ibi_reg(struct flexcop_device *fc, in flexcop_usb_write_ibi_reg() argument 312 return flexcop_usb_readwrite_dw(fc, reg, &val.raw, 0); in flexcop_usb_write_ibi_reg() [all …]
|
| /drivers/s390/crypto/ |
| D | pkey_pckmo.c | 90 long fc; in pckmo_clr2protkey() local 97 fc = CPACF_PCKMO_ENC_AES_128_KEY; in pckmo_clr2protkey() 103 fc = CPACF_PCKMO_ENC_AES_192_KEY; in pckmo_clr2protkey() 109 fc = CPACF_PCKMO_ENC_AES_256_KEY; in pckmo_clr2protkey() 115 fc = CPACF_PCKMO_ENC_ECC_P256_KEY; in pckmo_clr2protkey() 121 fc = CPACF_PCKMO_ENC_ECC_P384_KEY; in pckmo_clr2protkey() 127 fc = CPACF_PCKMO_ENC_ECC_P521_KEY; in pckmo_clr2protkey() 133 fc = CPACF_PCKMO_ENC_ECC_ED25519_KEY; in pckmo_clr2protkey() 139 fc = CPACF_PCKMO_ENC_ECC_ED448_KEY; in pckmo_clr2protkey() 145 fc = CPACF_PCKMO_ENC_AES_XTS_128_DOUBLE_KEY; in pckmo_clr2protkey() [all …]
|
| /drivers/net/ethernet/intel/igb/ |
| D | e1000_mac.c | 691 if (hw->fc.requested_mode == e1000_fc_default) { in igb_setup_link() 701 hw->fc.current_mode = hw->fc.requested_mode; in igb_setup_link() 703 hw_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in igb_setup_link() 720 wr32(E1000_FCTTV, hw->fc.pause_time); in igb_setup_link() 768 if (hw->fc.current_mode & e1000_fc_tx_pause) { in igb_set_fc_watermarks() 773 fcrtl = hw->fc.low_water; in igb_set_fc_watermarks() 774 if (hw->fc.send_xon) in igb_set_fc_watermarks() 777 fcrth = hw->fc.high_water; in igb_set_fc_watermarks() 817 hw->fc.requested_mode = e1000_fc_none; in igb_set_default_fc() 819 hw->fc.requested_mode = e1000_fc_tx_pause; in igb_set_default_fc() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | ipsec_fs.c | 30 struct mlx5e_ipsec_fc *fc; member 46 struct mlx5e_ipsec_fc *fc; member 151 mlx5_fc_destroy(ipsec->mdev, rx->status_drops.all.fc); in ipsec_rx_status_drop_destroy() 211 sa_entry->ipsec_rule.auth.fc = flow_counter; in rx_add_rule_drop_auth_trailer() 240 sa_entry->ipsec_rule.trailer.fc = flow_counter; in rx_add_rule_drop_auth_trailer() 257 mlx5_fc_destroy(mdev, sa_entry->ipsec_rule.trailer.fc); in rx_add_rule_drop_auth_trailer() 261 mlx5_fc_destroy(mdev, sa_entry->ipsec_rule.auth.fc); in rx_add_rule_drop_auth_trailer() 311 sa_entry->ipsec_rule.replay.fc = flow_counter; in rx_add_rule_drop_replay() 378 rx->status_drops.all.fc = flow_counter; in ipsec_rx_status_drop_all_create() 703 dest[1].counter_id = mlx5_fc_id(rx->fc->cnt); in rx_create() [all …]
|
| /drivers/net/ethernet/atheros/alx/ |
| D | ethtool.c | 234 u8 fc = 0; in alx_set_pauseparam() local 237 fc |= ALX_FC_TX; in alx_set_pauseparam() 239 fc |= ALX_FC_RX; in alx_set_pauseparam() 241 fc |= ALX_FC_ANEG; in alx_set_pauseparam() 247 if (!((fc ^ hw->flowctrl) & ALX_FC_ANEG)) in alx_set_pauseparam() 249 if (fc & hw->flowctrl & ALX_FC_ANEG && in alx_set_pauseparam() 250 (fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX)) in alx_set_pauseparam() 255 err = alx_setup_speed_duplex(hw, hw->adv_cfg, fc); in alx_set_pauseparam() 263 if ((fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX)) in alx_set_pauseparam() 264 alx_cfg_mac_flowcontrol(hw, fc); in alx_set_pauseparam() [all …]
|