/drivers/s390/cio/ |
H A D | crw.c | 64 unsigned int chain; local 71 chain = 0; 75 if (unlikely(chain > 1)) { 88 "chain\n", __func__, chain); 91 chain = tmp_crw.chn ? chain + 1 : 0; 94 ccode = stcrw(&crw[chain]); 99 crw[chain].slct, crw[chain] [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_rtt.c | 28 * There is an internal table (i.e. the rtt) for each chain (or bank). 71 static void ar9003_hw_rtt_load_hist_entry(struct ath_hw *ah, u8 chain, argument 77 REG_WRITE(ah, AR_PHY_RTT_TABLE_SW_INTF_1_B(chain), val); 82 REG_WRITE(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), val); 86 REG_WRITE(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), val); 89 if (!ath9k_hw_wait(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), 95 REG_WRITE(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), val); 98 ath9k_hw_wait(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), 103 void ar9003_hw_rtt_load_hist(struct ath_hw *ah, u8 chain, u32 *table) argument 108 ar9003_hw_rtt_load_hist_entry(ah, chain, 111 ar9003_hw_rtt_fill_hist_entry(struct ath_hw *ah, u8 chain, u32 index) argument 136 ar9003_hw_rtt_fill_hist(struct ath_hw *ah, u8 chain, u32 *table) argument [all...] |
H A D | ar9003_rtt.h | 24 void ar9003_hw_rtt_load_hist(struct ath_hw *ah, u8 chain, u32 *table); 25 void ar9003_hw_rtt_fill_hist(struct ath_hw *ah, u8 chain, u32 *table);
|
H A D | ar9003_paprd.c | 271 static unsigned int ar9003_get_desired_gain(struct ath_hw *ah, int chain, argument 299 switch (chain) { 314 "Invalid chainmask: %d\n", chain); local 716 int chain) 718 u32 *paprd_table_val = caldata->pa_table[chain]; 719 u32 small_signal_gain = caldata->small_signal_gain[chain]; 724 if (chain == 0) 726 else if (chain == 1) 728 else if (chain == 2) 736 if (chain 714 ar9003_paprd_populate_single_table(struct ath_hw *ah, struct ath9k_hw_cal_data *caldata, int chain) argument 762 ar9003_paprd_setup_gain_table(struct ath_hw *ah, int chain) argument 785 ar9003_paprd_create_curve(struct ath_hw *ah, struct ath9k_hw_cal_data *caldata, int chain) argument [all...] |
H A D | main.c | 389 int chain; local 396 for (chain = 0; chain < AR9300_MAX_CHAINS; chain++) { 397 if (!(ah->txchainmask & BIT(chain))) 400 ar9003_paprd_populate_single_table(ah, caldata, chain); 407 static bool ath_paprd_send_frame(struct ath_softc *sc, struct sk_buff *skb, int chain) argument 428 txctl.paprd = BIT(chain); 441 "Timeout waiting for paprd training on TX chain %d\n", 442 chain); 458 int chain; local [all...] |
H A D | ar9003_eeprom.c | 121 * if the register is per chain 322 /* noiseFloorThreshCh Check if the register is per chain */ 694 * if the register is per chain 895 /* noiseFloorThreshCh Check if the register is per chain */ 1268 * if the register is per chain 1469 /* noiseFloorThreshCh Check if the register is per chain */ 1842 * if the register is per chain 2043 /* noiseFloorThreshch check if the register is per chain */ 2415 * if the register is per chain 2616 /* noiseFloorThreshCh Check if the register is per chain */ 3575 ar9003_hw_ant_ctrl_chain_get(struct ath_hw *ah, int chain, bool is2ghz) argument 3594 int chain; local 3737 ar9003_hw_atten_chain_get(struct ath_hw *ah, int chain, struct ath9k_channel *chan) argument 3765 ar9003_hw_atten_chain_get_margin(struct ath_hw *ah, int chain, struct ath9k_channel *chan) argument [all...] |
/drivers/media/video/uvc/ |
H A D | uvc_entity.c | 26 static int uvc_mc_register_entity(struct uvc_video_chain *chain, argument 48 remote = uvc_entity_by_id(chain->dev, entity->baSourceID[i]); 68 return v4l2_device_register_subdev(&chain->dev->vdev, &entity->subdev); 102 int uvc_mc_register_entities(struct uvc_video_chain *chain) argument 107 list_for_each_entry(entity, &chain->entities, chain) { 116 list_for_each_entry(entity, &chain->entities, chain) { 117 ret = uvc_mc_register_entity(chain, entity);
|
H A D | uvc_v4l2.c | 34 static int uvc_ioctl_ctrl_map(struct uvc_video_chain *chain, argument 92 ret = uvc_ctrl_add_mapping(chain, map); 507 handle->chain = stream->chain; 544 struct uvc_video_chain *chain = handle->chain; local 571 return uvc_query_v4l2_ctrl(chain, arg); 581 ret = uvc_ctrl_begin(chain); 585 ret = uvc_ctrl_get(chain, &xctrl); 586 uvc_ctrl_rollback(chain); [all...] |
H A D | uvc_driver.c | 1216 * Scan the UVC descriptors to locate a chain starting at an Output Terminal 1238 * Extension Units connected to the main chain as single-unit branches are 1241 static int uvc_scan_chain_entity(struct uvc_video_chain *chain, argument 1261 if (chain->processing != NULL) { 1263 "Processing Units in chain.\n"); 1267 chain->processing = entity; 1278 if (chain->selector != NULL) { 1280 "Units in chain.\n"); 1284 chain->selector = entity; 1316 "0x%04x found in chain 1324 uvc_scan_chain_forward(struct uvc_video_chain *chain, struct uvc_entity *entity, struct uvc_entity *prev) argument 1388 uvc_scan_chain_backward(struct uvc_video_chain *chain, struct uvc_entity **_entity) argument 1462 uvc_scan_chain(struct uvc_video_chain *chain, struct uvc_entity *term) argument 1521 uvc_print_chain(struct uvc_video_chain *chain) argument 1540 struct uvc_video_chain *chain; local 1614 struct uvc_video_chain *chain; local 1746 uvc_register_terms(struct uvc_device *dev, struct uvc_video_chain *chain) argument 1777 struct uvc_video_chain *chain; local [all...] |
H A D | uvc_ctrl.c | 820 static struct uvc_control *uvc_find_control(struct uvc_video_chain *chain, argument 833 list_for_each_entry(entity, &chain->entities, chain) { 846 static int uvc_ctrl_populate_cache(struct uvc_video_chain *chain, argument 852 ret = uvc_query_ctrl(chain->dev, UVC_GET_DEF, ctrl->entity->id, 853 chain->dev->intfnum, ctrl->info.selector, 861 ret = uvc_query_ctrl(chain->dev, UVC_GET_MIN, ctrl->entity->id, 862 chain->dev->intfnum, ctrl->info.selector, 869 ret = uvc_query_ctrl(chain->dev, UVC_GET_MAX, ctrl->entity->id, 870 chain 902 uvc_query_v4l2_ctrl(struct uvc_video_chain *chain, struct v4l2_queryctrl *v4l2_ctrl) argument 1001 uvc_query_v4l2_menu(struct uvc_video_chain *chain, struct v4l2_querymenu *query_menu) argument 1082 uvc_ctrl_begin(struct uvc_video_chain *chain) argument 1134 __uvc_ctrl_commit(struct uvc_video_chain *chain, int rollback) argument 1151 uvc_ctrl_get(struct uvc_video_chain *chain, struct v4l2_ext_control *xctrl) argument 1191 uvc_ctrl_set(struct uvc_video_chain *chain, struct v4l2_ext_control *xctrl) argument 1430 uvc_xu_ctrl_query(struct uvc_video_chain *chain, struct uvc_xu_control_query *xqry) argument 1665 uvc_ctrl_add_mapping(struct uvc_video_chain *chain, const struct uvc_control_mapping *mapping) argument [all...] |
H A D | uvcvideo.h | 216 struct list_head chain; /* Entity as part of a video device member in struct:uvc_entity 217 * chain. */ 411 struct uvc_video_chain *chain; member in struct:uvc_streaming 527 struct uvc_video_chain *chain; member in struct:uvc_fh 621 extern int uvc_mc_register_entities(struct uvc_video_chain *chain); 646 extern int uvc_query_v4l2_ctrl(struct uvc_video_chain *chain, 648 extern int uvc_query_v4l2_menu(struct uvc_video_chain *chain, 651 extern int uvc_ctrl_add_mapping(struct uvc_video_chain *chain, 657 extern int uvc_ctrl_begin(struct uvc_video_chain *chain); 658 extern int __uvc_ctrl_commit(struct uvc_video_chain *chain, in 659 uvc_ctrl_commit(struct uvc_video_chain *chain) argument 663 uvc_ctrl_rollback(struct uvc_video_chain *chain) argument [all...] |
/drivers/net/ethernet/toshiba/ |
H A D | spider_net.c | 72 "in tx chain"); 308 * spider_net_free_chain - free descriptor chain 310 * @chain: address of chain 315 struct spider_net_descr_chain *chain) 319 descr = chain->ring; 324 } while (descr != chain->ring); 326 dma_free_coherent(&card->pdev->dev, chain->num_desc, 327 chain->hwring, chain 314 spider_net_free_chain(struct spider_net_card *card, struct spider_net_descr_chain *chain) argument 341 spider_net_init_chain(struct spider_net_card *card, struct spider_net_descr_chain *chain) argument 528 struct spider_net_descr_chain *chain = &card->rx_chain; local 557 struct spider_net_descr_chain *chain = &card->rx_chain; local 688 struct spider_net_descr_chain *chain = &card->tx_chain; local 800 struct spider_net_descr_chain *chain = &card->tx_chain; local 1020 struct spider_net_descr_chain *chain = &card->rx_chain; local 1118 struct spider_net_descr_chain *chain = &card->rx_chain; local 1145 struct spider_net_descr_chain *chain = &card->rx_chain; local 1181 struct spider_net_descr_chain *chain = &card->rx_chain; local [all...] |
H A D | ps3_gelic_net.c | 65 struct gelic_descr_chain *chain, 209 * gelic_card_free_chain - free descriptor chain 226 * gelic_card_init_chain - links descriptor chain 228 * @chain: address of chain 238 struct gelic_descr_chain *chain, 266 /* chain bus addr of hw descriptor */ 272 chain->head = start_descr; 273 chain->tail = start_descr; 275 /* do not chain las 237 gelic_card_init_chain(struct gelic_card *card, struct gelic_descr_chain *chain, struct gelic_descr *start_descr, int no) argument 298 gelic_card_reset_chain(struct gelic_card *card, struct gelic_descr_chain *chain, struct gelic_descr *start_descr) argument 433 struct gelic_descr_chain *chain; local 990 struct gelic_descr_chain *chain = &card->rx_chain; local [all...] |
/drivers/dma/ppc4xx/ |
H A D | adma.h | 80 * @chain: device chain view of the descriptors 86 * @hw_chain_inited: h/w descriptor chain initialization flag 97 struct list_head chain; member in struct:ppc440spe_adma_chan 125 * @phys: hardware address of the hardware descriptor chain 127 * @hw_next: pointer to the next descriptor in chain 130 * @chain_node: node on the op_adma_chan.chain list 134 * @hw_desc: virtual address of the hardware descriptor chain 173 #define PPC440SPE_DESC_WXOR 4 /* WXORs are in chain */ 174 #define PPC440SPE_DESC_RXOR 5 /* RXOR is in chain */ [all...] |
H A D | adma.c | 88 /* This flag is set when want to refetch the xor chain in the interrupt 338 /* Common initialization of a PQ descriptors chain */ 375 /* This is a WXOR only chain: 407 /* The first 1 or 2 slots in chain are always RXOR, 467 /* initialize each source descriptor in chain */ 757 * descriptor in chain 788 /* bind descriptor to the chain */ 1195 list_for_each_entry(iter, &chan->chain, 1204 BUG_ON(&iter->chain_node == &chan->chain); 1254 * then refetch the s/w chain her 2000 struct list_head chain = LIST_HEAD_INIT(chain); local [all...] |
/drivers/block/ |
H A D | osdblk.c | 252 static void bio_chain_put(struct bio *chain) argument 256 while (chain) { 257 tmp = chain; 258 chain = chain->bi_next;
|
/drivers/mtd/ |
H A D | nftlcore.c | 213 add it to the chain */ 214 /* We're passed the number of the last EUN in the chain, to save us from 386 fold-in-place of another chain to make room 388 which chain to fold, because makefreeblock will 396 /* We put a fold mark in the chain we are folding only if we 398 place, it is possible to find the valid chain by selecting the 410 pr_debug("Folding chain %d into unit %d\n", thisVUC, targetEUN); 447 /* add the header so that it is now a valid chain */ 464 /* For each block in the old chain (except the targetEUN of course), 483 /* Make this the new start of chain fo 501 u16 chain, EUN; local [all...] |
H A D | inftlcore.c | 324 pr_debug("INFTL: folding chain %d into unit %d\n", thisVUC, targetEUN); 369 * Newest unit in chain now contains data from _all_ older units. 370 * So go through and erase each unit in chain, oldest first. (This 374 pr_debug("INFTL: want to erase virtual chain %d\n", thisVUC); 377 /* Find oldest unit in chain. */ 389 /* Unlink the last block from the chain. */ 420 u16 chain, EUN; local 425 for (chain = 0; chain < inftl->nb_blocks; chain [all...] |
/drivers/scsi/ |
H A D | aha1542.h | 88 struct chain { struct 89 unchar datalen[3]; /* Size of this part of chain */
|
/drivers/dma/ |
H A D | mv_xor.c | 259 * mv_xor_start_new_chain - program the engine to operate on new chain headed by 280 /* set the hardware chain */ 397 /* free completed slots from the chain starting with 401 list_for_each_entry_safe(iter, _iter, &mv_chan->chain, 428 if ((busy == 0) && !list_empty(&mv_chan->chain)) { 430 chain_head = list_entry(mv_chan->chain.next, 460 LIST_HEAD(chain); 505 list_add_tail(&iter->chain_node, &chain); 521 list_splice(&chain, &alloc_tail->tx_list); 568 if (list_empty(&mv_chan->chain)) [all...] |
H A D | iop-adma.c | 180 /* leave the last descriptor in the chain 183 if (desc->chain_node.next == &iop_chan->chain) 205 /* free completed slots from the chain starting with 208 list_for_each_entry_safe(iter, _iter, &iop_chan->chain, 265 &iop_chan->chain, chain_node) { 283 &iop_chan->chain, chain_node) { 352 LIST_HEAD(chain); 409 list_add_tail(&iter->chain_node, &chain); 425 list_splice(&chain, &alloc_tail->tx_list); 482 old_chain_tail = list_entry(iop_chan->chain [all...] |
H A D | mv_xor.h | 85 * @chain: device chain view of the descriptors 101 struct list_head chain; member in struct:mv_xor_chan 119 * @chain_node: node on the mv_xor_chan.chain list 121 * @hw_desc: virtual address of the hardware descriptor chain 122 * @phys: hardware address of the hardware descriptor chain
|
H A D | txx9dmac.c | 485 /* Make chain-completion interrupt happen */ 582 dma_addr_t chain; local 588 chain = channel64_read_CHAR(dc); 592 chain = channel32_readl(dc, CHAR); 596 /* For dynamic chain, we should look at XFACT instead of NCHNC */ 603 chain = 0; /* last descriptor of this chain */ 606 (u64)chain); 609 if (desc_read_CHAR(dc, desc) == chain) { 617 if (desc_read_CHAR(dc, child) == chain) { [all...] |
/drivers/s390/scsi/ |
H A D | zfcp_fc.c | 666 int chain, max_entries, buf_num, max_bytes; local 668 chain = adapter->adapter_features & FSF_FEATURE_ELS_CT_CHAINED_SBALS; 669 buf_num = chain ? ZFCP_FC_GPN_FT_NUM_BUFS : 1; 670 max_entries = chain ? ZFCP_FC_GPN_FT_MAX_ENT : ZFCP_FC_GPN_FT_ENT_PAGE; 671 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE;
|
/drivers/net/wireless/ath/carl9170/ |
H A D | phy.c | 449 /* ant control chain 0 (index 1) */ 453 /* ant control chain 2 (index 2) */ 489 /* tx/rx attenuation chain 0 (index 8) */ 494 /* tx/rx attenuation chain 2 (index 9) */ 500 /* tx/rx margin chain 0 (index 10) */ 503 /* bsw margin chain 0 for 5GHz only */ 508 /* tx/rx margin chain 2 (index 11) */ 514 /* iqCall, iqCallq chain 0 (index 12) */ 521 /* iqCall, iqCallq chain 2 (index 13) */ 1123 int chain, id local [all...] |