Searched defs:chain (Results 1 - 25 of 31) sorted by relevance

12

/drivers/media/video/uvc/
H A Duvc_entity.c26 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 Duvc_ctrl.c820 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 Duvc_driver.c1216 * 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 Duvc_v4l2.c35 static int uvc_ioctl_ctrl_map(struct uvc_video_chain *chain, argument
93 ret = uvc_ctrl_add_mapping(chain, map);
508 handle->chain = stream->chain;
545 struct uvc_video_chain *chain = handle->chain; local
572 return uvc_query_v4l2_ctrl(chain, arg);
582 ret = uvc_ctrl_begin(chain);
586 ret = uvc_ctrl_get(chain, &xctrl);
587 uvc_ctrl_rollback(chain);
[all...]
/drivers/s390/cio/
H A Dcrw.c65 unsigned int chain; local
72 chain = 0;
76 if (unlikely(chain > 1)) {
89 "chain\n", __func__, chain);
92 chain = tmp_crw.chn ? chain + 1 : 0;
95 ccode = stcrw(&crw[chain]);
100 crw[chain].slct, crw[chain]
[all...]
/drivers/video/via/
H A Dvia_aux.h39 struct list_head chain; /* chain to support multiple drivers */ member in struct:via_aux_drv
66 list_add_tail(&data->chain, &data->bus->drivers);
/drivers/net/wireless/ath/ath9k/
H A Dar9003_rtt.c28 * 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 Deeprom_9287.c373 int32_t txPower, u16 chain)
378 /* Enable OLPC for chain 0 */
385 /* Enable OLPC for chain 1 */
392 /* Write the OLPC ref power for chain 0 */
394 if (chain == 0) {
402 /* Write the OLPC ref power for chain 1 */
404 if (chain == 1) {
598 * to get the per chain tx power level.
372 ar9287_eeprom_olpc_set_pdadcs(struct ath_hw *ah, int32_t txPower, u16 chain) argument
H A Dar9003_paprd.c271 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 Dar9003_eeprom.c121 * 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
3733 ar9003_hw_atten_chain_get(struct ath_hw *ah, int chain, struct ath9k_channel *chan) argument
3761 ar9003_hw_atten_chain_get_margin(struct ath_hw *ah, int chain, struct ath9k_channel *chan) argument
[all...]
H A Dmain.c379 int chain; local
386 for (chain = 0; chain < AR9300_MAX_CHAINS; chain++) {
387 if (!(ah->txchainmask & BIT(chain)))
390 ar9003_paprd_populate_single_table(ah, caldata, chain);
397 static bool ath_paprd_send_frame(struct ath_softc *sc, struct sk_buff *skb, int chain) argument
418 txctl.paprd = BIT(chain);
431 "Timeout waiting for paprd training on TX chain %d\n",
432 chain);
448 int chain; local
[all...]
/drivers/mtd/
H A Dnftlcore.c206 add it to the chain */
207 /* We're passed the number of the last EUN in the chain, to save us from
379 fold-in-place of another chain to make room
381 which chain to fold, because makefreeblock will
389 /* We put a fold mark in the chain we are folding only if we
391 place, it is possible to find the valid chain by selecting the
403 pr_debug("Folding chain %d into unit %d\n", thisVUC, targetEUN);
440 /* add the header so that it is now a valid chain */
457 /* For each block in the old chain (except the targetEUN of course),
476 /* Make this the new start of chain fo
494 u16 chain, EUN; local
[all...]
H A Dinftlcore.c324 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 Daha1542.h88 struct chain { struct
89 unchar datalen[3]; /* Size of this part of chain */
/drivers/block/
H A Dosdblk.c252 static void bio_chain_put(struct bio *chain) argument
256 while (chain) {
257 tmp = chain;
258 chain = chain->bi_next;
/drivers/dma/
H A Dmv_xor.h84 * @chain: device chain view of the descriptors
99 struct list_head chain; member in struct:mv_xor_chan
116 * @chain_node: node on the mv_xor_chan.chain list
118 * @hw_desc: virtual address of the hardware descriptor chain
119 * @phys: hardware address of the hardware descriptor chain
H A Dtxx9dmac.c472 /* Make chain-completion interrupt happen */
569 dma_addr_t chain; local
575 chain = channel64_read_CHAR(dc);
579 chain = channel32_readl(dc, CHAR);
583 /* For dynamic chain, we should look at XFACT instead of NCHNC */
590 chain = 0; /* last descriptor of this chain */
593 (u64)chain);
596 if (desc_read_CHAR(dc, desc) == chain) {
604 if (desc_read_CHAR(dc, child) == chain) {
[all...]
/drivers/dma/ppc4xx/
H A Dadma.h80 * @chain: device chain view of the descriptors
85 * @hw_chain_inited: h/w descriptor chain initialization flag
96 struct list_head chain; member in struct:ppc440spe_adma_chan
123 * @phys: hardware address of the hardware descriptor chain
125 * @hw_next: pointer to the next descriptor in chain
128 * @chain_node: node on the op_adma_chan.chain list
132 * @hw_desc: virtual address of the hardware descriptor chain
171 #define PPC440SPE_DESC_WXOR 4 /* WXORs are in chain */
172 #define PPC440SPE_DESC_RXOR 5 /* RXOR is in chain */
[all...]
/drivers/s390/scsi/
H A Dzfcp_fc.c666 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/ethernet/toshiba/
H A Dps3_gelic_net.c65 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...]
H A Dspider_net.c72 "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...]
/drivers/net/wireless/ath/carl9170/
H A Dphy.c449 /* 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...]
/drivers/staging/ozwpan/
H A Dozproto.c448 struct list_head *chain = 0; local
478 chain = g_timer_pool;
481 while (chain) {
482 struct oz_timer *t = container_of(chain, struct oz_timer, link);
483 chain = chain->next;
661 struct list_head *chain = 0; local
682 t->link.next = chain;
683 chain = &t->link;
698 while (chain) {
[all...]
/drivers/usb/dwc3/
H A Dgadget.c679 unsigned length, unsigned last, unsigned chain)
689 chain ? " chain" : "");
739 if (chain)
824 unsigned chain = true; local
832 chain = false;
840 chain = false;
843 last_one, chain);
677 dwc3_prepare_one_trb(struct dwc3_ep *dep, struct dwc3_request *req, dma_addr_t dma, unsigned length, unsigned last, unsigned chain) argument
/drivers/message/fusion/
H A Dmptscsih.c126 * mptscsih_getFreeChainBuffer - Function to get a free chain
170 * mptscsih_AddSGE - Add a SGE (plus chain buffers) to the
223 * chainSge (Null if original MF is not a chain buffer)
274 /* The current buffer is a chain buffer,
276 * Update the chain element
292 /* At least one chain buffer is needed.
296 * (OR finish previous MF chain buffer)
298 * - Populate chain element
306 /* Set LAST_ELEMENT flag for last non-chain element
320 /* The current buffer is a chain buffe
1544 MPT_FRAME_HDR *chain; local
[all...]

Completed in 521 milliseconds

12