Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92603
b: refs/heads/master
c: 46b4f7c
h: refs/heads/master
i:
  92601: 51bfe7a
  92599: f0f4756
v: v3
  • Loading branch information
Harvey Harrison authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent e613d42 commit 6dc69e8
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0592e8d3485c4976eaa6db8084e00b0132a34d7e
refs/heads/master: 46b4f7c176a2dd4c60ddb7c80bd09ea2f3220674
10 changes: 5 additions & 5 deletions trunk/drivers/media/dvb/dvb-core/dmxdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static int dvb_dvr_open(struct inode *inode, struct file *file)
struct dmxdev *dmxdev = dvbdev->priv;
struct dmx_frontend *front;

dprintk("function : %s\n", __FUNCTION__);
dprintk("function : %s\n", __func__);

if (mutex_lock_interruptible(&dmxdev->mutex))
return -ERESTARTSYS;
Expand Down Expand Up @@ -551,15 +551,15 @@ static int dvb_dmxdev_filter_start(struct dmxdev_filter *filter)
dvb_dmxdev_section_callback);
if (ret < 0) {
printk("DVB (%s): could not alloc feed\n",
__FUNCTION__);
__func__);
return ret;
}

ret = (*secfeed)->set(*secfeed, para->pid, 32768,
(para->flags & DMX_CHECK_CRC) ? 1 : 0);
if (ret < 0) {
printk("DVB (%s): could not set feed\n",
__FUNCTION__);
__func__);
dvb_dmxdev_feed_restart(filter);
return ret;
}
Expand Down Expand Up @@ -734,7 +734,7 @@ static int dvb_dmxdev_filter_set(struct dmxdev *dmxdev,
struct dmxdev_filter *dmxdevfilter,
struct dmx_sct_filter_params *params)
{
dprintk("function : %s\n", __FUNCTION__);
dprintk("function : %s\n", __func__);

dvb_dmxdev_filter_stop(dmxdevfilter);

Expand Down Expand Up @@ -1040,7 +1040,7 @@ static unsigned int dvb_dvr_poll(struct file *file, poll_table *wait)
struct dmxdev *dmxdev = dvbdev->priv;
unsigned int mask = 0;

dprintk("function : %s\n", __FUNCTION__);
dprintk("function : %s\n", __func__);

poll_wait(file, &dmxdev->dvr_buffer.queue, wait);

Expand Down
36 changes: 18 additions & 18 deletions trunk/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot,
unsigned long timeout;
unsigned long start;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

/* loop until timeout elapsed */
start = jiffies;
Expand All @@ -263,7 +263,7 @@ static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot,

/* if we got the flags, it was successful! */
if (res & waitfor) {
dprintk("%s succeeded timeout:%lu\n", __FUNCTION__, jiffies - start);
dprintk("%s succeeded timeout:%lu\n", __func__, jiffies - start);
return 0;
}

Expand All @@ -276,7 +276,7 @@ static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot,
msleep(1);
}

dprintk("%s failed timeout:%lu\n", __FUNCTION__, jiffies - start);
dprintk("%s failed timeout:%lu\n", __func__, jiffies - start);

/* if we get here, we've timed out */
return -ETIMEDOUT;
Expand All @@ -297,7 +297,7 @@ static int dvb_ca_en50221_link_init(struct dvb_ca_private *ca, int slot)
int buf_size;
u8 buf[2];

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

/* we'll be determining these during this function */
ca->slot_info[slot].da_irq_supported = 0;
Expand Down Expand Up @@ -549,7 +549,7 @@ static int dvb_ca_en50221_set_configoption(struct dvb_ca_private *ca, int slot)
{
int configoption;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

/* set the config option */
ca->pub->write_attribute_mem(ca->pub, slot,
Expand Down Expand Up @@ -587,7 +587,7 @@ static int dvb_ca_en50221_read_data(struct dvb_ca_private *ca, int slot, u8 * eb
u8 buf[HOST_LINK_BUF_SIZE];
int i;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

/* check if we have space for a link buf in the rx_buffer */
if (ebuf == NULL) {
Expand Down Expand Up @@ -708,7 +708,7 @@ static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot, u8 * b
int status;
int i;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);


// sanity check
Expand Down Expand Up @@ -785,7 +785,7 @@ EXPORT_SYMBOL(dvb_ca_en50221_camchange_irq);
*/
static int dvb_ca_en50221_slot_shutdown(struct dvb_ca_private *ca, int slot)
{
dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

ca->pub->slot_shutdown(ca->pub, slot);
ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_NONE;
Expand Down Expand Up @@ -892,7 +892,7 @@ void dvb_ca_en50221_frda_irq(struct dvb_ca_en50221 *pubca, int slot)
static void dvb_ca_en50221_thread_wakeup(struct dvb_ca_private *ca)
{

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

ca->wakeup = 1;
mb();
Expand Down Expand Up @@ -964,7 +964,7 @@ static int dvb_ca_en50221_thread(void *data)
int pktcount;
void *rxbuf;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

/* choose the correct initial delay */
dvb_ca_en50221_thread_update_delay(ca);
Expand Down Expand Up @@ -1172,7 +1172,7 @@ static int dvb_ca_en50221_io_do_ioctl(struct inode *inode, struct file *file,
int err = 0;
int slot;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

switch (cmd) {
case CA_RESET:
Expand Down Expand Up @@ -1266,7 +1266,7 @@ static ssize_t dvb_ca_en50221_io_write(struct file *file,
unsigned long timeout;
int written;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

/* Incoming packet has a 2 byte header. hdr[0] = slot_id, hdr[1] = connection_id */
if (count < 2)
Expand Down Expand Up @@ -1401,7 +1401,7 @@ static ssize_t dvb_ca_en50221_io_read(struct file *file, char __user * buf,
int pktlen;
int dispose = 0;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

/* Outgoing packet has a 2 byte header. hdr[0] = slot_id, hdr[1] = connection_id */
if (count < 2)
Expand Down Expand Up @@ -1490,7 +1490,7 @@ static int dvb_ca_en50221_io_open(struct inode *inode, struct file *file)
int err;
int i;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

if (!try_module_get(ca->pub->owner))
return -EIO;
Expand Down Expand Up @@ -1534,7 +1534,7 @@ static int dvb_ca_en50221_io_release(struct inode *inode, struct file *file)
struct dvb_ca_private *ca = dvbdev->priv;
int err;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

/* mark the CA device as closed */
ca->open = 0;
Expand Down Expand Up @@ -1564,7 +1564,7 @@ static unsigned int dvb_ca_en50221_io_poll(struct file *file, poll_table * wait)
int slot;
int result = 0;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

if (dvb_ca_en50221_io_read_condition(ca, &result, &slot) == 1) {
mask |= POLLIN;
Expand Down Expand Up @@ -1626,7 +1626,7 @@ int dvb_ca_en50221_init(struct dvb_adapter *dvb_adapter,
struct dvb_ca_private *ca = NULL;
int i;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

if (slot_count < 1)
return -EINVAL;
Expand Down Expand Up @@ -1704,7 +1704,7 @@ void dvb_ca_en50221_release(struct dvb_ca_en50221 *pubca)
struct dvb_ca_private *ca = pubca->private;
int i;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

/* shutdown the thread if there was one */
kthread_stop(ca->thread);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb/dvb-core/dvb_demux.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ static void dvb_demux_feed_add(struct dvb_demux_feed *feed)
spin_lock_irq(&feed->demux->lock);
if (dvb_demux_feed_find(feed)) {
printk(KERN_ERR "%s: feed already in list (type=%x state=%x pid=%x)\n",
__FUNCTION__, feed->type, feed->state, feed->pid);
__func__, feed->type, feed->state, feed->pid);
goto out;
}

Expand All @@ -567,7 +567,7 @@ static void dvb_demux_feed_del(struct dvb_demux_feed *feed)
spin_lock_irq(&feed->demux->lock);
if (!(dvb_demux_feed_find(feed))) {
printk(KERN_ERR "%s: feed not in list (type=%x state=%x pid=%x)\n",
__FUNCTION__, feed->type, feed->state, feed->pid);
__func__, feed->type, feed->state, feed->pid);
goto out;
}

Expand Down
30 changes: 15 additions & 15 deletions trunk/drivers/media/dvb/dvb-core/dvb_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static void dvb_frontend_add_event(struct dvb_frontend *fe, fe_status_t status)
struct dvb_frontend_event *e;
int wp;

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

if (mutex_lock_interruptible (&events->mtx))
return;
Expand Down Expand Up @@ -171,7 +171,7 @@ static int dvb_frontend_get_event(struct dvb_frontend *fe,
struct dvb_frontend_private *fepriv = fe->frontend_priv;
struct dvb_fe_events *events = &fepriv->events;

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

if (events->overflow) {
events->overflow = 0;
Expand Down Expand Up @@ -237,7 +237,7 @@ static void dvb_frontend_swzigzag_update_delay(struct dvb_frontend_private *fepr
{
int q2;

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

if (locked)
(fepriv->quality) = (fepriv->quality * 220 + 36*256) / 256;
Expand Down Expand Up @@ -329,7 +329,7 @@ static int dvb_frontend_swzigzag_autotune(struct dvb_frontend *fe, int check_wra

dprintk("%s: drift:%i inversion:%i auto_step:%i "
"auto_sub_step:%i started_auto_step:%i\n",
__FUNCTION__, fepriv->lnb_drift, fepriv->inversion,
__func__, fepriv->lnb_drift, fepriv->inversion,
fepriv->auto_step, fepriv->auto_sub_step, fepriv->started_auto_step);

/* set the frontend itself */
Expand Down Expand Up @@ -511,7 +511,7 @@ static int dvb_frontend_thread(void *data)
fe_status_t s;
struct dvb_frontend_parameters *params;

dprintk("%s\n", __FUNCTION__);
dprintk("%s\n", __func__);

fepriv->check_wrapped = 0;
fepriv->quality = 0;
Expand Down Expand Up @@ -597,7 +597,7 @@ static void dvb_frontend_stop(struct dvb_frontend *fe)
{
struct dvb_frontend_private *fepriv = fe->frontend_priv;

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

fepriv->exit = 1;
mb();
Expand Down Expand Up @@ -665,7 +665,7 @@ static int dvb_frontend_start(struct dvb_frontend *fe)
struct dvb_frontend_private *fepriv = fe->frontend_priv;
struct task_struct *fe_thread;

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

if (fepriv->thread) {
if (!fepriv->exit)
Expand Down Expand Up @@ -763,7 +763,7 @@ static int dvb_frontend_ioctl(struct inode *inode, struct file *file,
struct dvb_frontend_private *fepriv = fe->frontend_priv;
int err = -EOPNOTSUPP;

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

if (fepriv->exit)
return -ENODEV;
Expand Down Expand Up @@ -895,7 +895,7 @@ static int dvb_frontend_ioctl(struct inode *inode, struct file *file,
int i;
u8 last = 1;
if (dvb_frontend_debug)
printk("%s switch command: 0x%04lx\n", __FUNCTION__, cmd);
printk("%s switch command: 0x%04lx\n", __func__, cmd);
do_gettimeofday(&nexttime);
if (dvb_frontend_debug)
memcpy(&tv[0], &nexttime, sizeof(struct timeval));
Expand All @@ -919,7 +919,7 @@ static int dvb_frontend_ioctl(struct inode *inode, struct file *file,
}
if (dvb_frontend_debug) {
printk("%s(%d): switch delay (should be 32k followed by all 8k\n",
__FUNCTION__, fe->dvb->num);
__func__, fe->dvb->num);
for (i = 1; i < 10; i++)
printk("%d: %d\n", i, timeval_usec_diff(tv[i-1] , tv[i]));
}
Expand Down Expand Up @@ -1037,7 +1037,7 @@ static unsigned int dvb_frontend_poll(struct file *file, struct poll_table_struc
struct dvb_frontend *fe = dvbdev->priv;
struct dvb_frontend_private *fepriv = fe->frontend_priv;

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

poll_wait (file, &fepriv->events.wait_queue, wait);

Expand All @@ -1054,7 +1054,7 @@ static int dvb_frontend_open(struct inode *inode, struct file *file)
struct dvb_frontend_private *fepriv = fe->frontend_priv;
int ret;

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

if (dvbdev->users == -1 && fe->ops.ts_bus_ctrl) {
if ((ret = fe->ops.ts_bus_ctrl(fe, 1)) < 0)
Expand Down Expand Up @@ -1095,7 +1095,7 @@ static int dvb_frontend_release(struct inode *inode, struct file *file)
struct dvb_frontend_private *fepriv = fe->frontend_priv;
int ret;

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

if ((file->f_flags & O_ACCMODE) != O_RDONLY)
fepriv->release_jiffies = jiffies;
Expand Down Expand Up @@ -1135,7 +1135,7 @@ int dvb_register_frontend(struct dvb_adapter* dvb,
.kernel_ioctl = dvb_frontend_ioctl
};

dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

if (mutex_lock_interruptible(&frontend_mutex))
return -ERESTARTSYS;
Expand Down Expand Up @@ -1169,7 +1169,7 @@ EXPORT_SYMBOL(dvb_register_frontend);
int dvb_unregister_frontend(struct dvb_frontend* fe)
{
struct dvb_frontend_private *fepriv = fe->frontend_priv;
dprintk ("%s\n", __FUNCTION__);
dprintk ("%s\n", __func__);

mutex_lock(&frontend_mutex);
dvb_frontend_stop (fe);
Expand Down
Loading

0 comments on commit 6dc69e8

Please sign in to comment.