Searched refs:wanted (Results 1 - 19 of 19) sorted by relevance

/drivers/media/pci/bt8xx/
H A Dbttv-gpio.c46 int len = strlen(sub->wanted);
48 if (0 == strncmp(dev_name(dev), sub->wanted, len))
123 int bttv_sub_register(struct bttv_sub_driver *sub, char *wanted) argument
126 snprintf(sub->wanted,sizeof(sub->wanted),"%s",wanted);
H A Dbttv.h341 char wanted[20]; member in struct:bttv_sub_driver
347 int bttv_sub_register(struct bttv_sub_driver *drv, char *wanted);
/drivers/pcmcia/
H A Dsa1111_badge4.c65 int given, int wanted)
68 "%s: %s %d.%dV wanted but board is jumpered for %s %d.%dV operation"
71 wanted / 10, wanted % 10,
63 complain_about_jumpering(const char *whom, const char *supply, int given, int wanted) argument
/drivers/devfreq/
H A Dgovernor_userspace.c50 unsigned long wanted; local
57 sscanf(buf, "%lu", &wanted);
58 data->user_frequency = wanted;
/drivers/mmc/host/
H A Ddw_mmc-exynos.c186 unsigned int wanted = ios->clock; local
194 wanted <<= 1;
199 /* Don't care if wanted clock is zero */
200 if (!wanted)
204 if (wanted < EXYNOS_CCLKIN_MIN)
205 wanted = EXYNOS_CCLKIN_MIN;
207 if (wanted != priv->cur_speed) {
208 int ret = clk_set_rate(host->ciu_clk, wanted * div);
212 wanted * div, ret);
215 priv->cur_speed = wanted;
[all...]
H A Dsdhci-s3c.c105 * @wanted: The clock frequency wanted.
109 unsigned int wanted)
123 rate = clk_round_rate(clksrc, wanted);
124 return wanted - rate;
130 if ((rate >> shift) <= wanted)
136 "clk %d: rate %ld, min rate %lu > wanted %u\n",
137 src, rate, rate / 256, wanted);
142 src, rate, wanted, rate >> shift);
144 return wanted
107 sdhci_s3c_consider_clock(struct sdhci_s3c *ourhost, unsigned int src, unsigned int wanted) argument
[all...]
H A Dsdricoh_cs.c141 static int sdricoh_query_status(struct sdricoh_host *host, unsigned int wanted, argument
149 if (status & wanted)
154 dev_err(dev, "query_status: timeout waiting for %x\n", wanted);
160 dev_err(dev, "waiting for status bit %x failed\n", wanted);
/drivers/scsi/
H A Dimm.c45 unsigned wanted:1; /* Parport sharing busy flag */ member in struct:__anon5495
78 if (dev->wanted) {
81 dev->wanted = 0;
95 dev->wanted = res;
103 int wanted; local
105 wanted = dev->wanted;
106 dev->wanted = 0;
108 if (!wanted)
1160 if (dev->wanted) {
[all...]
H A Dppa.c39 unsigned wanted:1; /* Parport sharing busy flag */ member in struct:__anon5971
69 if (dev->wanted) {
72 dev->wanted = 0;
87 dev->wanted = res;
95 int wanted; local
97 wanted = dev->wanted;
98 dev->wanted = 0;
100 if (!wanted)
1020 if (dev->wanted) {
[all...]
H A Dsun3_scsi.c593 static inline unsigned long sun3scsi_dma_xfer_len(unsigned long wanted, argument
598 return wanted;
/drivers/net/wireless/cw1200/
H A Dtxrx.c199 static inline bool tx_policy_is_equal(const struct tx_policy *wanted, argument
202 size_t count = wanted->defined >> 1;
203 if (wanted->defined > cached->defined)
206 if (memcmp(wanted->raw, cached->raw, count))
209 if (wanted->defined & 1) {
210 if ((wanted->raw[count] & 0x0F) != (cached->raw[count] & 0x0F))
217 const struct tx_policy *wanted)
226 if (tx_policy_is_equal(wanted, &it->policy))
231 if (tx_policy_is_equal(wanted, &it->policy))
305 struct tx_policy wanted; local
216 tx_policy_find(struct tx_policy_cache *cache, const struct tx_policy *wanted) argument
[all...]
/drivers/memory/
H A Dti-aemif.c134 * @wanted: The cycle time needed in nanoseconds.
141 static int aemif_calc_rate(struct platform_device *pdev, int wanted, argument
146 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1;
149 clk, wanted);
/drivers/net/ethernet/tile/
H A Dtilepro.c560 unsigned int wanted = 64; local
569 n = tile_net_lepp_grab_comps(eq, olds, wanted, 0);
1739 unsigned int wanted = 8; local
1777 nolds = tile_net_lepp_grab_comps(eq, olds, wanted, 0);
1821 nolds = tile_net_lepp_grab_comps(eq, olds, wanted, 4);
1868 unsigned int wanted = 8; local
1957 nolds = tile_net_lepp_grab_comps(eq, olds, wanted, 0);
2005 nolds = tile_net_lepp_grab_comps(eq, olds, wanted, 4);
/drivers/mtd/nand/
H A Ds3c2410.c226 * @wanted: The cycle time in nanoseconds.
232 static int s3c_nand_calc_rate(int wanted, unsigned long clk, int max) argument
236 result = DIV_ROUND_UP((wanted * clk), NS_IN_KHZ);
238 pr_debug("result %d from %ld, %d\n", result, clk, wanted);
242 wanted, clk);
/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c122 netdev_features_t wanted)
127 priv->rx_chk_en = !!(wanted & NETIF_F_RXCSUM);
157 netdev_features_t wanted)
165 priv->tsb_en = !!(wanted & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM));
180 netdev_features_t wanted = dev->wanted_features; local
184 ret = bcm_sysport_set_rx_csum(dev, wanted);
186 ret = bcm_sysport_set_tx_csum(dev, wanted);
121 bcm_sysport_set_rx_csum(struct net_device *dev, netdev_features_t wanted) argument
156 bcm_sysport_set_tx_csum(struct net_device *dev, netdev_features_t wanted) argument
/drivers/block/
H A Dswim3.c204 int wanted; member in struct:floppy_state
319 if (fs->state == idle && fs->wanted) {
843 ++fs->wanted;
852 --fs->wanted;
856 --fs->wanted;
/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c395 netdev_features_t wanted)
401 rx_csum_en = !!(wanted & NETIF_F_RXCSUM);
426 netdev_features_t wanted)
435 desc_64b_en = !!(wanted & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM));
457 netdev_features_t wanted = dev->wanted_features; local
461 ret = bcmgenet_set_tx_csum(dev, wanted);
463 ret = bcmgenet_set_rx_csum(dev, wanted);
394 bcmgenet_set_rx_csum(struct net_device *dev, netdev_features_t wanted) argument
425 bcmgenet_set_tx_csum(struct net_device *dev, netdev_features_t wanted) argument
/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd_cb.c1440 /* Did process_receive get everything it wanted? */
1845 int wanted; local
1862 wanted = ksocknal_route_mask() & ~route->ksnr_connected;
1867 wanted == 0) {
1883 if ((wanted & (1 << SOCKLND_CONN_ANY)) != 0) {
1885 } else if ((wanted & (1 << SOCKLND_CONN_CONTROL)) != 0) {
1887 } else if ((wanted & (1 << SOCKLND_CONN_BULK_IN)) != 0) {
1890 LASSERT ((wanted & (1 << SOCKLND_CONN_BULK_OUT)) != 0);
2301 "state %d wanted %d left %d\n",
/drivers/i2c/busses/
H A Di2c-s3c2410.c271 /* todo - check for whether ack wanted or not */
822 static int s3c24xx_i2c_calcdivisor(unsigned long clkin, unsigned int wanted, argument
825 unsigned int calc_divs = clkin / wanted;

Completed in 2019 milliseconds